incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail A. Pokidko" <mikhail.poki...@gmail.com>
Subject Re: /etc/init.d/couchdb stop never really stops the db
Date Wed, 11 Nov 2009 14:15:58 GMT
On Wed, Nov 11, 2009 at 4:53 PM, Robert Campbell <rrc7cz@gmail.com> wrote:
> @Mikhail - but when I tried to specify the PID file I found in
> /var/run, it didn't work:
>
> root@default:~# couchdb -b -p /var/run/couchdb
> Apache CouchDB needs a regular PID file: /var/run/couchdb

Look inside that file - is that pid correct? (compare with actual pid
-- ps aux|grep couchdb)

Are you sure you use correct PID file?

[solar@nameless ~/tmp]$ sudo ls -l /var/run/|grep couchdb
-rw-r--r-- 1 _couchdb root          5 Nov 11 15:25 couchdb.pid
[solar@nameless ~/tmp]$ sudo cat /var/run/couchdb.pid
23529[solar@nameless ~/tmp]$
[solar@nameless ~/tmp]$ ps aux|grep couchdb|grep beam
_couchdb 23529  0.3  0.5  73264 16904 ?        Sl   15:25   0:22
/usr/lib/erlang/erts-5.6.5/bin/beam.smp -Bd -K true -- -root
/usr/lib/erlang -progname erl -- -home /var/lib/couchd

> I just want the init.d scripts to work as they're supposed to.

Just looks inside init-script and verify everything.
To build package for ALTLinux i had to rewrite init-script completely.


-- 
xmpp: pma AT altlinux DOT org

Mime
View raw message