couchdb 1.2.0 wont start, /var/run/couchdb/

Archived topics about LMDE 1
Forum rules
Level 1
Level 1
Posts: 2
Joined: Fri Apr 27, 2012 12:53 pm

couchdb 1.2.0 wont start, /var/run/couchdb/

Postby mr.generic.user » Wed Jan 16, 2013 5:39 pm

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.

The error first showed up as a startup error about not having permissions to the /var/run/couchdb/ Later testing gave me a json error response from the command line.

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.
(598 Bytes) Downloaded 126 times

Return to “Archive”

Who is online

Users browsing this forum: No registered users and 1 guest