So if you run `couchdb` as a regular user, the process wont have access
to write to the appropriate log and run files. Although starting a per-
user couchdb is a bit of a pain, the problem you're reporting isn't a
bug.

If you're trying to start the system-wide couchdb daemon, do this:

$ sudo /etc/init.d/couchdb start

If you're trying to start a per-user couchdb, you need reset the config
change with -n, and then add in one or more config files, like this:

couchdb -n -a /etc/couchdb/default.ini -a your-config.ini

You might look at how UserCouch does this:

http://bazaar.launchpad.net/~novacut/usercouch/trunk/view/head:/usercouch/__init__.py#L231

By default `couchdb` will use the /etc/couchdb/local.ini file as the
last file in the "config chain", and that's what configures the logging
and pid file in /var

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1037765

Title:
  Fatal erl crash no opening log file couch.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1037765/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to