Opened 13 years ago
Closed 13 years ago
#32102 closed defect (fixed)
CouchDB 1.1.1 fails to start (/opt/local/var/run/couchdb directory missing)
Reported by: | snaury@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | erik@…, jeff-macports@…, paul@… | |
Port: | couchdb |
Description
After installing couchdb 1.1.1 it fails to start. After some digging I managed to find that this was because /opt/local/var/run/couchdb directory was missing (where it is trying to create a file specified by [couchdb] uri_file).
For reference, this is printed in the log when this happens:
[Thu, 17 Nov 2011 18:43:57 GMT] [info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:5984/ [Thu, 17 Nov 2011 18:43:57 GMT] [error] [<0.30.0>] {error_report,<0.30.0>, {<0.30.0>,crash_report, [[{initial_call, {application_master,init, ['Argument__1','Argument__2','Argument__3', 'Argument__4']}}, {pid,<0.30.0>}, {registered_name,[]}, {error_info, {exit, {bad_return, {{couch_app,start, [normal, ["/opt/local/etc/couchdb/default.ini", "/opt/local/etc/couchdb/local.ini"]]}, {'EXIT', {{badmatch,{error,enoent}}, [{couch_server_sup,start_server,1}, {application_master,start_it_old,4}]}}}}, [{application_master,init,4}, {proc_lib,init_p_do_apply,3}]}}, {ancestors,[<0.29.0>]}, {messages,[{'EXIT',<0.31.0>,normal}]}, {links,[<0.29.0>,<0.7.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,987}, {stack_size,24}, {reductions,163}], []]}} [Thu, 17 Nov 2011 18:43:57 GMT] [info] [<0.100.0>] Stopping all ongoing replications because the replicator database was deleted or changed
After I created /opt/local/var/run/couchdb directory and chown'ed it to user/group couchdb it finally started and I could relax. ;)
Attachments (1)
Change History (9)
comment:1 Changed 13 years ago by snaury@…
Cc: | snaury@… added |
---|
comment:2 Changed 13 years ago by mf2k (Frank Schima)
Cc: | snaury@… removed |
---|---|
Owner: | changed from macports-tickets@… to jwa@… |
comment:8 Changed 13 years ago by jyrkiwahlstedt
Resolution: | → fixed |
---|---|
Status: | new → closed |
cf last comment
Note: See
TracTickets for help on using
tickets.
Cc Me!