Comment 3 for bug 448682

Revision history for this message
cjazz108 (adamjpetty) wrote : Re: Cannot stop couchdb using /etc/init.d/couchdb

I have the bug... trying to install couchdb 0.10.0

After install, I cannot stop, it continually restarts itself, and starts to fill up /var/log/couchdb/couchdb.log with errors of

[Fri, 06 Nov 2009 15:58:41 GMT] [error] [<0.66.0>] {error_report,<0.24.0>,
              {<0.66.0>,crash_report,
               [[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
                 {pid,<0.66.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.1.0>]},
                 {messages,[]},
                 {links,[<0.53.0>]},
                 {dictionary,[]},
                 {trap_exit,true},
                 {status,running},
                 {heap_size,987},
                 {stack_size,24},
                 {reductions,446}],
                []]}}

My understanding is that this is a bug when its trying to restart itself - and already sees that it's running. So now it does stop, but caught in a loop trying to restart.

This could be a big deal, but not sure if its just my setup or not.

Not even uninstalling keeps couch from running too... its like there's no way to get rid of it without a reboot.

I apt-get remove --purged, and apt-get remove / reinstalled, same issue