Skip to content

Instantly share code, notes, and snippets.

@rmetzler
Created November 15, 2010 08:35
Show Gist options
  • Save rmetzler/700165 to your computer and use it in GitHub Desktop.
Save rmetzler/700165 to your computer and use it in GitHub Desktop.
Starting CouchDB...
Eshell V5.7.5 (abort with ^G)
1> Apache CouchDB 1.0.1 (LogLevel=info) is starting.
1> [error] [<0.105.0>] {error_report,<0.35.0>,
{<0.105.0>,crash_report,
[[{initial_call,{mochiweb_socket_server,init,['Argument__1']}},
{pid,<0.105.0>},
{registered_name,[]},
{error_info,{exit,eaddrinuse,
[{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[couch_secondary_services,couch_server_sup,
<0.36.0>]},
{messages,[]},
{links,[<0.89.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,453}],
[]]}}
1> Failure to start Mochiweb: eaddrinuse
1>
=CRASH REPORT==== 15-Nov-2010::09:33:30 ===
crasher:
initial call: mochiweb_socket_server:init/1
pid: <0.105.0>
registered_name: []
exception exit: eaddrinuse
in function gen_server:init_it/6
ancestors: [couch_secondary_services,couch_server_sup,<0.36.0>]
messages: []
links: [<0.89.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1597
stack_size: 24
reductions: 453
neighbours:
1> [error] [<0.89.0>] {error_report,<0.35.0>,
{<0.89.0>,supervisor_report,
[{supervisor,{local,couch_secondary_services}},
{errorContext,start_error},
{reason,eaddrinuse},
{offender,[{pid,undefined},
{name,httpd},
{mfa,{couch_httpd,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]}]}}
1>
=SUPERVISOR REPORT==== 15-Nov-2010::09:33:30 ===
Supervisor: {local,couch_secondary_services}
Context: start_error
Reason: eaddrinuse
Offender: [{pid,undefined},
{name,httpd},
{mfa,{couch_httpd,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
1> [error] [<0.81.0>] {error_report,<0.35.0>,
{<0.81.0>,supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,shutdown},
{offender,
[{pid,undefined},
{name,couch_secondary_services},
{mfa,{couch_server_sup,start_secondary_services,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]}]}}
1>
=SUPERVISOR REPORT==== 15-Nov-2010::09:33:30 ===
Supervisor: {local,couch_server_sup}
Context: start_error
Reason: shutdown
Offender: [{pid,undefined},
{name,couch_secondary_services},
{mfa,{couch_server_sup,start_secondary_services,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
1>
=CRASH REPORT==== 15-Nov-2010::09:33:30 ===
crasher:
initial call: application_master:init/4
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{couch_app,start,
[normal,
["/Users/jan/usr/src/couchdbx-core/dist/couchdb_1.0.1/etc/couchdb/default.ini",
"/Users/jan/usr/src/couchdbx-core/dist/couchdb_1.0.1/etc/couchdb/local.ini"]]},
{'EXIT',
{{badmatch,{error,shutdown}},
[{couch_server_sup,start_server,1},
{application_master,start_it_old,4}]}}}}
in function application_master:init/4
ancestors: [<0.34.0>]
messages: [{'EXIT',<0.36.0>,normal}]
links: [<0.34.0>,<0.7.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1597
stack_size: 24
reductions: 196
neighbours:
1>
=INFO REPORT==== 15-Nov-2010::09:33:30 ===
application: couch
exited: {bad_return,{{couch_app,start,
[normal,
["/Users/jan/usr/src/couchdbx-core/dist/couchdb_1.0.1/etc/couchdb/default.ini",
"/Users/jan/usr/src/couchdbx-core/dist/couchdb_1.0.1/etc/couchdb/local.ini"]]},
{'EXIT',{{badmatch,{error,shutdown}},
[{couch_server_sup,start_server,1},
{application_master,start_it_old,4}]}}}}
type: temporary
1>
@rmetzler
Copy link
Author

"exception exit: eaddrinuse" = there is another server running on the same port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment