couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <>
Subject Re: /etc/init.d/couchdb stop never really stops the db
Date Wed, 11 Nov 2009 15:32:49 GMT

On 11 Nov 2009, at 13:53, Robert Campbell 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

You likely don't have permissions to do this.

Could you try running it as the couchdb user, like this:

	sudo -u couchdb couchdb -b -p /var/run/couchdb

What happens then?

> I just want the init.d scripts to work as they're supposed to. Is
> there some special trick you have to perform after "apt-get install
> couchdb"? I can't imagine I'm the only one whose init.d/couchdb won't
> stop the DB in two completely different Ubuntu & CouchDB versions and
> installations.

No, this is a bug, that much is certain.

View raw message