Skip to content

Instantly share code, notes, and snippets.

@alappe
Created December 2, 2012 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alappe/4188342 to your computer and use it in GitHub Desktop.
Save alappe/4188342 to your computer and use it in GitHub Desktop.
{"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,[]}]}}
init terminating in do_boot ()
@alappe
Copy link
Author

alappe commented Dec 2, 2012

=INFO REPORT==== 2-Dec-2012::14:13:16 ===
alarm_handler: {set,{{disk_almost_full,"488263733"},[]}}
Apache CouchDB 1.2.0 (LogLevel=debug) is starting.
Configuration Settings ["/usr/local/etc/couchdb/default.ini",
"/usr/local/etc/couchdb/local.ini"]:
[admins] user="-hashed-2a7b17f1e887e670d6dd5ff56c34a19bf363492c,ec81de11111b3e4ddd37d28f66a9ffc1"
[attachments] compressible_types="text/*, application/javascript, application/json, application/xml"
[attachments] compression_level="8"
[compaction_daemon] check_interval="300"
[compaction_daemon] min_file_size="131072"
[couch_httpd_auth] allow_persistent_cookies="false"
[couch_httpd_auth] auth_cache_size="50"
[couch_httpd_auth] authentication_db="_users"
[couch_httpd_auth] authentication_redirect="/_utils/session.html"
[couch_httpd_auth] require_valid_user="false"
[couch_httpd_auth] secret="abc45b7b27fd974c42ff92d070c1bed6"
[couch_httpd_auth] timeout="600"
[couch_httpd_oauth] use_users_db="false"
[couchdb] database_dir="/usr/local/var/lib/couchdb"
[couchdb] delayed_commits="true"
[couchdb] file_compression="snappy"
[couchdb] max_dbs_open="100"
[couchdb] max_document_size="4294967296"
[couchdb] os_process_timeout="5000"
[couchdb] uri_file="/usr/local/var/run/couchdb/couch.uri"
[couchdb] util_driver_dir="/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib"
[couchdb] view_index_dir="/usr/local/var/lib/couchdb"
[daemons] auth_cache="{couch_auth_cache, start_link, []}"
[daemons] compaction_daemon="{couch_compaction_daemon, start_link, []}"
[daemons] external_manager="{couch_external_manager, start_link, []}"
[daemons] httpd="{couch_httpd, start_link, []}"
[daemons] os_daemons="{couch_os_daemons, start_link, []}"
[daemons] query_servers="{couch_query_servers, start_link, []}"
[daemons] replication_manager="{couch_replication_manager, start_link, []}"
[daemons] stats_aggregator="{couch_stats_aggregator, start, []}"
[daemons] stats_collector="{couch_stats_collector, start, []}"
[daemons] uuids="{couch_uuids, start, []}"
[daemons] vhosts="{couch_httpd_vhost, start_link, []}"
[daemons] view_manager="{couch_view, start_link, []}"
[database_compaction] checkpoint_after="5242880"
[database_compaction] doc_buffer_size="524288"
[httpd] allow_jsonp="false"
[httpd] authentication_handlers="{couch_httpd_oauth, oauth_authentication_handler}, {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}"
[httpd] bind_address="127.0.0.1"
[httpd] default_handler="{couch_httpd_db, handle_request}"
[httpd] log_max_chunk_size="1000000"
[httpd] port="5984"
[httpd] secure_rewrites="true"
[httpd] vhost_global_handlers="_utils, _uuids, _session, _oauth, _users"
[httpd_db_handlers] _changes="{couch_httpd_db, handle_changes_req}"
[httpd_db_handlers] _compact="{couch_httpd_db, handle_compact_req}"
[httpd_db_handlers] _design="{couch_httpd_db, handle_design_req}"
[httpd_db_handlers] _temp_view="{couch_httpd_view, handle_temp_view_req}"
[httpd_db_handlers] _view_cleanup="{couch_httpd_db, handle_view_cleanup_req}"
[httpd_design_handlers] _info="{couch_httpd_db, handle_design_info_req}"
[httpd_design_handlers] _list="{couch_httpd_show, handle_view_list_req}"
[httpd_design_handlers] _rewrite="{couch_httpd_rewrite, handle_rewrite_req}"
[httpd_design_handlers] _show="{couch_httpd_show, handle_doc_show_req}"
[httpd_design_handlers] _update="{couch_httpd_show, handle_doc_update_req}"
[httpd_design_handlers] _view="{couch_httpd_view, handle_view_req}"
[httpd_global_handlers] /="{couch_httpd_misc_handlers, handle_welcome_req, <<"Welcome">>}"
[httpd_global_handlers] _active_tasks="{couch_httpd_misc_handlers, handle_task_status_req}"
[httpd_global_handlers] _all_dbs="{couch_httpd_misc_handlers, handle_all_dbs_req}"
[httpd_global_handlers] _config="{couch_httpd_misc_handlers, handle_config_req}"
[httpd_global_handlers] _log="{couch_httpd_misc_handlers, handle_log_req}"
[httpd_global_handlers] _oauth="{couch_httpd_oauth, handle_oauth_req}"
[httpd_global_handlers] _replicate="{couch_httpd_replicator, handle_req}"
[httpd_global_handlers] _restart="{couch_httpd_misc_handlers, handle_restart_req}"
[httpd_global_handlers] _session="{couch_httpd_auth, handle_session_req}"
[httpd_global_handlers] _stats="{couch_httpd_stats_handlers, handle_stats_req}"
[httpd_global_handlers] _utils="{couch_httpd_misc_handlers, handle_utils_dir_req, "/usr/local/Cellar/couchdb/1.2.0/share/couchdb/www"}"
[httpd_global_handlers] _uuids="{couch_httpd_misc_handlers, handle_uuids_req}"
[httpd_global_handlers] favicon.ico="{couch_httpd_misc_handlers, handle_favicon_req, "/usr/local/Cellar/couchdb/1.2.0/share/couchdb/www"}"
[log] file="/usr/local/var/log/couchdb/couch.log"
[log] include_sasl="true"
[log] level="debug"
[query_server_config] os_process_limit="25"
[query_server_config] reduce_limit="true"
[query_servers] coffeescript="/usr/local/Cellar/couchdb/1.2.0/bin/couchjs /usr/local/Cellar/couchdb/1.2.0/share/couchdb/server/main-coffee.js"
[query_servers] javascript="/usr/local/Cellar/couchdb/1.2.0/bin/couchjs /usr/local/Cellar/couchdb/1.2.0/share/couchdb/server/main.js"
[replicator] connection_timeout="30000"
[replicator] db="_replicator"
[replicator] http_connections="20"
[replicator] max_replication_retry_count="10"
[replicator] retries_per_request="10"
[replicator] socket_options="[{keepalive, true}, {nodelay, false}]"
[replicator] ssl_certificate_max_depth="3"
[replicator] verify_ssl_certificates="false"
[replicator] worker_batch_size="500"
[replicator] worker_processes="4"
[ssl] port="6984"
[stats] rate="1000"
[stats] samples="[0, 60, 300, 900]"
[uuids] algorithm="sequential"
[vhosts] beancounter.local="/beancounter/_design/BeanCounter/_rewrite/"
[view_compaction] keyvalue_buffer_size="2097152"
{"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,[]}]}}

@alappe
Copy link
Author

alappe commented Dec 2, 2012

=PROGRESS REPORT==== 2-Dec-2012::14:47:39 ===
supervisor: {local,couch_server_sup}
started: [{pid,<0.90.0>},
{name,couch_config},
{mfargs,
{couch_server_sup,couch_config_start_link_wrapper,
[["/usr/local/etc/couchdb/default.ini",
"/usr/local/etc/couchdb/local.ini"],
<0.90.0>]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
{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}]}]}}}}}
2>
=CRASH REPORT==== 2-Dec-2012::14:47:39 ===
crasher:
initial call: couch_drv:init/1
pid: <0.94.0>
registered_name: []
exception exit: "dlopen(/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_48\n Referenced from: /usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib/couch_icu_driver.so\n Expected in: flat namespace\n in /usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib/couch_icu_driver.so"
in function gen_server:init_it/6 (gen_server.erl, line 320)
ancestors: [couch_primary_services,couch_server_sup,<0.35.0>]
messages: []
links: [<0.93.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 1597
stack_size: 24
reductions: 213
neighbours:

=SUPERVISOR REPORT==== 2-Dec-2012::14:47:39 ===
Supervisor: {local,couch_primary_services}
Context: start_error
Reason: "dlopen(/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_48\n Referenced from: /usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib/couch_icu_driver.so\n Expected in: flat namespace\n in /usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib/couch_icu_driver.so"
Offender: [{pid,undefined},
{name,collation_driver},
{mfargs,{couch_drv,start_link,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]

=SUPERVISOR REPORT==== 2-Dec-2012::14:47:39 ===
Supervisor: {local,couch_server_sup}
Context: start_error
Reason: shutdown
Offender: [{pid,undefined},
{name,couch_primary_services},
{mfargs,{couch_primary_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]

=CRASH REPORT==== 2-Dec-2012::14:47:39 ===
crasher:
initial call: application_master:init/4
pid: <0.34.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,
[{file,"couch_server_sup.erl"},{line,98}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,274}]}]}}}}
in function application_master:init/4 (application_master.erl, line 138)
ancestors: [<0.33.0>]
messages: [{'EXIT',<0.35.0>,normal}]
links: [<0.33.0>,<0.6.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 2584
stack_size: 24
reductions: 539
neighbours:

=INFO REPORT==== 2-Dec-2012::14:47:39 ===
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,
[{file,"couch_server_sup.erl"},{line,98}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,274}]}]}}}}
type: temporary

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