couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: couchdb -n vs couchdb -n -a couch.ini
Date Sun, 14 Jul 2013 09:23:45 GMT

On Jul 14, 2013, at 11:13 , Jan Lehnardt <jan@apache.org> wrote:

> Heya,
> 
> I’m running into an odd issue:
> 
>  couchdb -n starts just fine
>  couchdb -n -a couch.ini (where couch.ini is an empty file) fails:
> 
> Apache CouchDB 1.3.0 (LogLevel=info) is starting.
> {"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
> 
> Why would that be? :)

It is because CouchDB expects at least two ini files. Thanks all :)


> 
> (note that the ini files you see in the trace are hardcoded on build-time and are not
actually used here.)
> 
> Best
> Jan
> --
> 


Mime
View raw message