Skip to content

Instantly share code, notes, and snippets.

@jamii
Created May 3, 2011 15:37
Show Gist options
  • Select an option

  • Save jamii/953558 to your computer and use it in GitHub Desktop.

Select an option

Save jamii/953558 to your computer and use it in GitHub Desktop.
jamie@alien:~$ cat ~/.cache/desktop-couch/desktop-couchdb.stdout.1
Apache CouchDB 1.0.1 (LogLevel=debug) is starting.
Configuration Settings ["/etc/couchdb/default.ini",
"/etc/xdg/desktop-couch/compulsory-auth.ini",
"/home/jamie/.config/desktop-couch/desktop-couchdb.ini"]:
[admins] vXozLhdNpe="-hashed-2166e58aa70eec9177982fc48f72b71a1dce1644,3d7896b3552675ff3c0190a4a3866bde"
[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="true"
[couch_httpd_auth] timeout="600"
[couchdb] database_dir="/home/jamie/.local/share/desktop-couch"
[couchdb] delayed_commits="true"
[couchdb] max_attachment_chunk_size="4294967296"
[couchdb] max_dbs_open="100"
[couchdb] max_document_size="4294967296"
[couchdb] os_process_timeout="5000"
[couchdb] uri_file="/var/lib/couchdb/1.0.1/couch.uri"
[couchdb] util_driver_dir="/usr/lib/couchdb/erlang/lib/couch-1.0.1/priv/lib"
[couchdb] view_index_dir="/home/jamie/.local/share/desktop-couch"
[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] query_servers="{couch_query_servers, start_link, []}"
[daemons] stats_aggregator="{couch_stats_aggregator, start, []}"
[daemons] stats_collector="{couch_stats_collector, start, []}"
[daemons] uuids="{couch_uuids, start, []}"
[daemons] view_manager="{couch_view, start_link, []}"
[httpd] WWW-Authenticate="Basic realm=\"bookmarkable-user-auth\""
[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] max_connections="2048"
[httpd] port="0"
[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="/home/jamie/.cache/desktop-couch/desktop-couchdb.log"
[log] include_sasl="true"
[log] level="debug"
[oauth_consumer_secrets] JOpUdzHVaJ="lPphSmQnCW"
[oauth_token_secrets] ZVrVbMbMUO="sSEXBzmzLK"
[oauth_token_users] ZVrVbMbMUO="vXozLhdNpe"
[query_server_config] reduce_limit="true"
[query_servers] javascript="/usr/bin/couchjs /usr/share/couchdb/server/main.js"
[replicator] max_http_pipeline_size="10"
[replicator] max_http_sessions="10"
[replicator] ssl_certificate_max_depth="3"
[replicator] ssl_trusted_certificates_file="/etc/ssl/certs/ca-certificates.crt"
[replicator] verify_ssl_certificates="true"
[stats] rate="1000"
[stats] samples="[0, 60, 300, 900]"
[uuids] algorithm="sequential"
Apache CouchDB has started. Time to relax.
[info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:35377/
[debug] [<0.103.0>] 'HEAD' /management {1,1}
Headers: [{'Accept',"application/json"},
{'Accept-Encoding',"gzip, deflate"},
{'Host',"localhost:35377"},
{'User-Agent',"couchdb-python 0.6"}]
[debug] [<0.103.0>] OAuth Params: []
[debug] [<0.103.0>] Minor error in HTTP request: {unauthorized,<<"Authentication required.">>}
[debug] [<0.103.0>] Stacktrace: [{couch_httpd,authenticate_request,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[info] [<0.103.0>] 127.0.0.1 - - 'HEAD' /management 401
[debug] [<0.103.0>] httpd 401 error response:
{"error":"unauthorized","reason":"Authentication required."}
[debug] [<0.103.0>] 'HEAD' /management {1,1}
Headers: [{'Accept',"application/json"},
{'Accept-Encoding',"gzip, deflate"},
{'Authorization',"OAuth realm=\"\", oauth_nonce=\"15356644\", oauth_timestamp=\"1304436393\", oauth_consumer_key=\"JOpUdzHVaJ\", oauth_signature_method=\"HMAC-SHA1\", oauth_version=\"1.0\", oauth_token=\"ZVrVbMbMUO\", oauth_signature=\"F9QGvkJgprKkM5vB4mwDK4rJLq8%3D\""},
{'Host',"localhost:35377"},
{'User-Agent',"couchdb-python 0.6"}]
[debug] [<0.103.0>] OAuth Params: [{"oauth_nonce","15356644"},
{"oauth_timestamp","1304436393"},
{"oauth_consumer_key","JOpUdzHVaJ"},
{"oauth_signature_method","HMAC-SHA1"},
{"oauth_version","1.0"},
{"oauth_token","ZVrVbMbMUO"},
{"oauth_signature","F9QGvkJgprKkM5vB4mwDK4rJLq8="}]
[debug] [<0.103.0>] OAuth URL is: "http://localhost:35377/management"
[debug] [<0.103.0>] Minor error in HTTP request: {unauthorized,<<"Authentication required.">>}
[debug] [<0.103.0>] Stacktrace: [{couch_httpd,authenticate_request,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[info] [<0.103.0>] 127.0.0.1 - - 'HEAD' /management 401
[debug] [<0.103.0>] httpd 401 error response:
{"error":"unauthorized","reason":"Authentication required."}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment