Hello,
It all started after I upgraded to 1.1.1. I cannot longer start the
server issuing just 'couchdb' command as before.
$ couchdb
=INFO REPORT==== 21-Oct-2011::09:18:58 ===
alarm_handler: {set,{{disk_almost_full,"/"},[]}}
=INFO REPORT==== 21-Oct-2011::09:18:58 ===
alarm_handler: {set,{system_memory_high_watermark,[]}}
Apache CouchDB 1.3.0a-7c989ec-git (LogLevel=info) is starting.
[error] [<0.102.0>] {error_report,<0.30.0>,
{<0.102.0>,supervisor_report,
[{supervisor,{local,couch_secondary_services}},
{errorContext,start_error},
{reason,{already_started,<0.103.0>}},
{offender,
[{pid,undefined},
{name,db_update_notifier},
{mfargs,
{couch_db_update_notifier_sup,start_link,
[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]}]}}
=SUPERVISOR REPORT==== 21-Oct-2011::09:18:58 ===
Supervisor: {local,couch_secondary_services}
Context: start_error
Reason: {already_started,<0.103.0>}
Offender: [{pid,undefined},
{name,db_update_notifier},
{mfargs,{couch_db_update_notifier_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
[error] [<0.89.0>] {error_report,<0.30.0>,
{<0.89.0>,supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,shutdown},
{offender,
[{pid,undefined},
{name,couch_secondary_services},
{mfargs,{couch_secondary_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]}]}}
=SUPERVISOR REPORT==== 21-Oct-2011::09:18:58 ===
Supervisor: {local,couch_server_sup}
Context: start_error
Reason: shutdown
Offender: [{pid,undefined},
{name,couch_secondary_services},
{mfargs,{couch_secondary_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=CRASH REPORT==== 21-Oct-2011::09:18:58 ===
crasher:
initial call: application_master:init/4
pid: <0.30.0>
registered_name: []
exception exit: {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},
{application_master,start_it_old,4}]}}}}
in function application_master:init/4
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: 610
stack_size: 24
reductions: 146
neighbours:
=INFO REPORT==== 21-Oct-2011::09:18:58 ===
application: couch
exited: {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},
{application_master,start_it_old,4}]}}}}
type: temporary
I am forced to use ./utils/run:
$ ./utils/run
Apache CouchDB 1.1.1a1186848 (LogLevel=info) is starting.
[info] [<0.97.0>] Attempting to start replication
`568f1ccc0ee091d4684c83ad31ac910b+continuous+create_target` (document
`by_clientId`).
Apache CouchDB has started. Time to relax.
My installation is correct as far as I can tell:
$ openssl md5 /Users/nestor/Downloads/couchdb1.1.x/bin/couchdb
MD5(/Users/nestor/Downloads/couchdb1.1.x/bin/couchdb)=
58329535cc8eb3d44f2325ba9bff0c9c
$ which couchdb
/usr/local/bin/couchdb
$ openssl md5 /usr/local/bin/couchdb
MD5(/usr/local/bin/couchdb)= 58329535cc8eb3d44f2325ba9bff0c9c
Thanks,
-Nestor