couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <>
Subject Re: CouchDB not listening
Date Thu, 06 Nov 2008 01:37:34 GMT

Looks like its not correctly reading your default.ini config file.
What's the command you're using to start couchdb?

couchdb treats its config files a bit differently than most projects.

If you're specifying the config files on the command line, you should
probably having something like:

$ couchdb -c /etc/couchdb/default.ini -c /etc/couchdb/local.ini

The main idea, is that values are replaced in the order that the
config files are specified. So we give defaults for everything and
then override anything of interest in the local version. This also
allows the write-back for config options at runtime.

Note to self, should we throw at least some sort of warning if some of
the core daemons aren't started?

Paul Davis

On Wed, Nov 5, 2008 at 8:26 PM, Ask Bjørn Hansen <> wrote:
> Hi,
> I start couchdb with the default config (just changed the location of the
> log file and the database directory and log level changed to debug) and it
> says:
> Apache CouchDB 0.9.0a711748-incubating (LogLevel=debug) is starting.
> Configuration Settings ["/etc/couchdb/local.ini"]:
>  [couchdb] database_dir="/mysql/couchdb"
>  [log] file="/var/log/couchdb/couch.log"
>  [log] level="debug"
> Apache CouchDB has started. Time to relax.
> ... however, it's not listening on the default port (or indeed any other as
> confirmed by netstat and lsof.  Any ideas?
> The couch.log file is empty, too.
> This is with the latest SVN.
>  - ask

View raw message