Couch DB installed from source binary 1.5.1 doesn't stop from /etc/init.d/couch stop call

StackOverflow https://stackoverflow.com/questions/23677227

  •  23-07-2023
  •  | 
  •  

Couch DB installed from source binary 1.5.1 doesn't stop from /etc/init.d/couch stop call.

The instructions to install couch db are taken from the following link

http://asaf.github.io/blog/2013/07/08/installing-couch-db-on-amazon-ami/

The couch db doesn't stop with the command

sudo /etc/init.d/couchdb stop
有帮助吗?

解决方案

This is because of the Respawn timeout value which is 5 secs by default. The work around is to comment out the COUCHDB_RESPAWN_TIMEOUT=5 from the file

/usr/local/etc/default/couchdb

after this kill any instances of the couchdb by doing

ps -ef | grep couchdb

Then do regular start of couch db using sudo /etc/init.d/couchdb start and stop using sudo /etc/init.d/couchdb stop this time couchdb should start and stop as expected.

Make a note this is for version 1.5.1 downloaded from the couchdb official site and if the instructions in the page http://asaf.github.io/blog/2013/07/08/installing-couch-db-on-amazon-ami/ are followed for installation.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top