On Jul 14, 2013, at 11:23 , Jan Lehnardt <[email protected]> wrote: > > On Jul 14, 2013, at 11:13 , Jan Lehnardt <[email protected]> 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 :)
Hm, no, that’s not it. Stay tuned for more live debugging. (no seriously, any help would be greatly appreciated :) > > >> >> (note that the ini files you see in the trace are hardcoded on build-time >> and are not actually used here.) >> >> Best >> Jan >> -- >> >
