I have been looking to fix this for a while, and I have finally done so. I thought I would share my fix/patch in case someone else was having trouble, or if someone had a better idea.
Background:
The error first showed up as a startup error about not having permissions to the /var/run/couchdb/couchdb.pid. Later testing gave me a json error response from the command line.
Fix:
edit file /etc/init.d/couchdb
in function start_couchdb
after: mkdir -p "$RUN_DIR"
add: chown -R $COUCHDB_USER "$RUN_DIR"
I am attaching a tar.gz file that contains a diff/patch file and a simple script to run the patch. Just download the tarball, uncompress it, and from inside the directory at the command line run:
sudo ./fixCouchDBInit
I hope this helps someone else. If anyone else has any suggestions, or if I have done something wrong, please let me know.
couchdb 1.2.0 wont start, /var/run/couchdb/couchdb.pid
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
couchdb 1.2.0 wont start, /var/run/couchdb/couchdb.pid
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.