On Wed, Nov 11, 2009 at 4:53 PM, Robert Campbell <rrc...@gmail.com> wrote: > @Mikhail - but when I tried to specify the PID file I found in > /var/run, it didn't work: > > r...@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? [so...@nameless ~/tmp]$ sudo ls -l /var/run/|grep couchdb -rw-r--r-- 1 _couchdb root 5 Nov 11 15:25 couchdb.pid [so...@nameless ~/tmp]$ sudo cat /var/run/couchdb.pid 23529[so...@nameless ~/tmp]$ [so...@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