You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by ri...@ecos.de on 2011/09/26 08:26:33 UTC
{"error":"unknown_error","reason":"function_clause"} after upgrade
to 1.1.0
Hi,
I have upgraded couchdb 1.0.2 to 1.1.0 and when I now try access /_utils I get an error. Also tring to access /_session gets the same error.
Reading documents from the db seems to work ok. Couchdb is running on Linux and is (because it's only a test) running as root.
The debug output is below. Does anybody has any idea what's wrong here?
Thanks & Regards
Gerald
kernel-poll not supported; "K" parameter ignored
Apache CouchDB 1.1.0 (LogLevel=debug) is starting.
Configuration Settings ["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]:
[attachments] compressible_types="text/*, application/javascript, application/json, application/xml"
[attachments] compression_level="8"
[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] timeout="43200"
[couchdb] database_dir="/var/lib/couchdb"
[couchdb] delayed_commits="true"
[couchdb] max_dbs_open="100"
[couchdb] max_document_size="4294967296"
[couchdb] os_process_timeout="5000"
[couchdb] uri_file="/var/run/couchdb/couch.uri"
[couchdb] util_driver_dir="/usr/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib"
[couchdb] view_index_dir="/var/lib/couchdb"
[daemons] auth_cache="{couch_auth_cache, start_link, []}"
[daemons] db_update_notifier="{couch_db_update_notifier_sup, 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, []}"
[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] 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_misc_handlers, handle_replicate_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/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/share/couchdb/www\"}"
[log] file="/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] javascript="/usr/bin/couchjs /usr/share/couchdb/server/main.js"
[replicator] db="_replicator"
[replicator] max_http_pipeline_size="50"
[replicator] max_http_sessions="20"
[replicator] max_replication_retry_count="10"
[replicator] ssl_certificate_max_depth="3"
[replicator] verify_ssl_certificates="false"
[ssl] port="6984"
[stats] rate="1000"
[stats] samples="[0, 60, 300, 900]"
[uuids] algorithm="sequential"
[debug] [<0.104.0>] Include Doc: <<"_design/_replicator">> {1,
<<91,250,44,153,
238,254,43,46,
180,150,45,181,
10,163,207,212>>}
Apache CouchDB has started. Time to relax.
[info] [<0.33.0>] Apache CouchDB has started on http://127.0.0.1:5984/
[debug] [<0.108.0>] 'GET' /_utils {1,1} from "127.0.0.1"
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
{'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-Encoding',"gzip,deflate"},
{'Accept-Language',"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"},
{'Connection',"keep-alive"},
{'Cookie',"JSESSIONID=AE34962AB22E7F8E5B6EFA61C68C9A19; vmware_soap_session=\"52b8c623-d5ff-d464-f6bc-65ada15a9deb\""},
{'Host',"10.11.12.21:5884"},
{'Keep-Alive',"115"},
{'User-Agent',"Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22"}]
[debug] [<0.108.0>] OAuth Params: []
[error] [<0.108.0>] function_clause error in HTTP request
[info] [<0.108.0>] Stacktrace: [{mochiweb_request,get,
[scheme,
{mochiweb_request,#Port<0.2062>,'GET',
"/_utils",
{1,1},
{9,
{"host",
{'Host',"10.11.12.21:5884"},
{"accept",
{'Accept',
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
nil,
{"accept-language",
{'Accept-Language',
"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"},
{"accept-encoding",
{'Accept-Encoding',"gzip,deflate"},
{"accept-charset",
{'Accept-Charset',
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
nil,nil},
nil},
{"connection",
{'Connection',"keep-alive"},
nil,
{"cookie",
{'Cookie',
"JSESSIONID=AE34962AB22E7F8E5B6EFA61C68C9A19; vmware_soap_session=\"52b8c623-d5ff-d464-f6bc-65ada15a9deb\""},
nil,nil}}}},
{"user-agent",
{'User-Agent',
"Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22"},
{"keep-alive",
{'Keep-Alive',"115"},
nil,nil},
nil}}}}]},
{couch_httpd,absolute_uri,2},
{couch_httpd,send_redirect,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[info] [<0.108.0>] 127.0.0.1 - - 'GET' /_utils 500
[debug] [<0.108.0>] httpd 500 error response:
{"error":"unknown_error","reason":"function_clause"}
[debug] [<0.108.0>] 'GET' /favicon.ico {1,1} from "127.0.0.1"
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
{'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-Encoding',"gzip,deflate"},
{'Accept-Language',"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"},
{'Connection',"keep-alive"},
{'Cookie',"JSESSIONID=AE34962AB22E7F8E5B6EFA61C68C9A19; vmware_soap_session=\"52b8c623-d5ff-d464-f6bc-65ada15a9deb\""},
{'Host',"10.11.12.21:5884"},
{'Keep-Alive',"115"},
{'User-Agent',"Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22"}]
[debug] [<0.108.0>] OAuth Params: []