I see that the package creates a couchdb system user, and it appears the
init script is correctly running Couch as that user.
So, when I do `sudo -u couchdb couchdb`, I can see /var/run/couchdb is
incorrectly owned by root:
$ sudo -u couchdb couchdb
Apache CouchDB 1.6.0 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.32.0>] Apache CouchDB has started on http://0.0.0.0:5984/
[error] [<0.32.0>] Failed to write to URI file /var/run/couchdb/couch.uri:
permission denied
{"init terminating in
do_boot",{{badmatch,{error,{eacces,{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
init terminating in do_boot ()
However, though I can run it manually with the correct user now,
changing the file ownership hasn't helped me with the system service...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1457464
Title:
Init fails to start CouchDB after upgrade to Vivid
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1457464/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs