Reowning was not the problem since /etc/init.d/couchdb does this by default if 
any user variable is set.
note that there is no default config file /etc/default/couchdb
in this case neither stdout nor user variables are given and couchdb assumes
stdout = /couchdb.log and
stderr = /couchdb.err

I added 
COUCHDB_USER="couchdb"
COUCHDB_STDERR_FILE=/var/log/couchdb/couch.err
COUCHDB_STDOUT_FILE=/var/log/couchdb/couch.log
to /etc/init.d/couchdb which could also be placed in the default config file.

now it is working but that was though.

It works with both  /lib/lsb/init-functions included or excluded so i
stayed with the inclusion.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to