Saturday, 24 August 2013

couchdb dead but pid file exists

couchdb dead but pid file exists

I have a Centos 6.4 x64 server with epel repo enabled. I installed couchdb
via the yum package manager (version 1.0.4) with no errors. I edited the
/etc/couchdb/local.ini file with my port (default 5984) and server ip
address. Whenever I run the service couchdb start, it returns the ok
message:
Starting couchdb: [ OK ]
However, if I run a service couchdb status right after, I get this:
couchdb dead but pid file exists
and, of course, the server does not work.
The weird part is that service couchdb start always returns the success
message, although the server never actually runs. Also, there is no log
files created at all by couchdb (my /var/log/couchdb/ folder is empty -
doubled checked couchdb configuration files for the path).
When I delete the /var/run/subsys/couchdb.pid file, service shows couchdb
as not started, and when I try to restart couchdb (service couchdb start),
I get the success message again and so on.
Any help will be greatly appreciated. :)

No comments:

Post a Comment