You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Christian Scharr <ch...@hsh-berlin.com> on 2010/03/08 09:46:05 UTC
possible failure in new debian package 0.10.1
I today upgraded my couchdb installation from 0.10.0 to 0.10.1 by simply
executing "apt-get upgrade".
After a restart last hour couchdb don't want to start anymore, so I decided
to do a fresh installation of debian with couchdb on my test system.
>> fresh installation of debian (testing)
>> apt-get install couchdb
>> changed "bind_address" to 0.0.0.0
>> cochdb -d
>> couchdb -b
Couchdb (Futon) don't want to start.
/var/log/couchdb/couch.log says:
[Mon, 08 Mar 2010 08:26:52 GMT] [info] [<0.2.0>] Apache CouchDB has started
on http://127.0.0.1:5984/
[Mon, 08 Mar 2010 08:32:24 GMT] [error] [<0.63.0>] {error_report,<0.24.0>,
{<0.63.0>,crash_report,
[[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
{pid,<0.63.0>},
{registered_name,[]},
{error_info,{exit,eaddrinuse,
[{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[couch_secondary_services,couch_server_sup,
<0.2.0>]},
{messages,[]},
{links,[<0.53.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,445}],
[]]}}
[Mon, 08 Mar 2010 08:33:47 GMT] [error] [<0.63.0>] {error_report,<0.24.0>,
{<0.63.0>,crash_report,
[[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
{pid,<0.63.0>},
{registered_name,[]},
{error_info,{exit,eaddrinuse,
[{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[couch_secondary_services,couch_server_sup,
<0.2.0>]},
{messages,[]},
{links,[<0.53.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,445}],
[]]}}
Somebody knows why couchdb or futon don't startup and provide some help?
Greets,
Christian Scharr
Re: possible failure in new debian package 0.10.1
Posted by Noah Slater <ns...@tumbolia.org>.
When you install CouchDB it is started automatically by the system. The error message you are getting here is indicating that there is already a daemon running and listening on that port. If you want to control the system wide CouchDB, you need to use /etc/init.d/couchdb [start|stop] like in the README file. You could also read /usr/share/doc/couchdb/README.Debian for more information.
Because your system log is giving you this message, it is possible that then you installed the package and it tried to start a system CouchDB daemon, it was unable to because of some other CouchDB instance running. If you're new to using "ps", "grep", and "kill" to weed processes out, I would recommend you reboot your machine.
On 8 Mar 2010, at 08:46, Christian Scharr wrote:
> I today upgraded my couchdb installation from 0.10.0 to 0.10.1 by simply
> executing "apt-get upgrade".
> After a restart last hour couchdb don't want to start anymore, so I decided
> to do a fresh installation of debian with couchdb on my test system.
>>> fresh installation of debian (testing)
>>> apt-get install couchdb
>>> changed "bind_address" to 0.0.0.0
>>> cochdb -d
>>> couchdb -b
>
> Couchdb (Futon) don't want to start.
>
> /var/log/couchdb/couch.log says:
>
> [Mon, 08 Mar 2010 08:26:52 GMT] [info] [<0.2.0>] Apache CouchDB has started
> on http://127.0.0.1:5984/
>
> [Mon, 08 Mar 2010 08:32:24 GMT] [error] [<0.63.0>] {error_report,<0.24.0>,
> {<0.63.0>,crash_report,
>
> [[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
> {pid,<0.63.0>},
> {registered_name,[]},
> {error_info,{exit,eaddrinuse,
> [{gen_server,init_it,6},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,[couch_secondary_services,couch_server_sup,
> <0.2.0>]},
> {messages,[]},
> {links,[<0.53.0>]},
> {dictionary,[]},
> {trap_exit,true},
> {status,running},
> {heap_size,1597},
> {stack_size,24},
> {reductions,445}],
> []]}}
>
> [Mon, 08 Mar 2010 08:33:47 GMT] [error] [<0.63.0>] {error_report,<0.24.0>,
> {<0.63.0>,crash_report,
>
> [[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
> {pid,<0.63.0>},
> {registered_name,[]},
> {error_info,{exit,eaddrinuse,
> [{gen_server,init_it,6},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,[couch_secondary_services,couch_server_sup,
> <0.2.0>]},
> {messages,[]},
> {links,[<0.53.0>]},
> {dictionary,[]},
> {trap_exit,true},
> {status,running},
> {heap_size,1597},
> {stack_size,24},
> {reductions,445}],
> []]}}
>
> Somebody knows why couchdb or futon don't startup and provide some help?
>
> Greets,
>
> Christian Scharr
>