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/couchdb.pid. 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:
I hope this helps someone else. If anyone else has any suggestions, or if I have done something wrong, please let me know.