Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 62318 invoked from network); 10 Feb 2011 10:36:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 10:36:27 -0000 Received: (qmail 78571 invoked by uid 500); 10 Feb 2011 10:36:26 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 78403 invoked by uid 500); 10 Feb 2011 10:36:23 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 78395 invoked by uid 99); 10 Feb 2011 10:36:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 10:36:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 10:36:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8DE4519DD06 for ; Thu, 10 Feb 2011 10:35:57 +0000 (UTC) Date: Thu, 10 Feb 2011 10:35:57 +0000 (UTC) From: "Dave Cottlehuber (JIRA)" To: dev@couchdb.apache.org Message-ID: <1339628888.7635.1297334157577.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <8792028.77851295513985983.JavaMail.jira@thor> Subject: [jira] Commented: (COUCHDB-1032) CouchDB fails to bind to IPv6 address on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992986#comment-12992986 ] Dave Cottlehuber commented on COUCHDB-1032: ------------------------------------------- I can't replicate this on 1.0.2. Can you try the following steps & build, and confirm if you still are unable to bind? I can bind successfully using WinXP SP3 & IPv6, CouchDB 1.0.2 from unofficial build at https://github.com/downloads/dch/couchdb/setup-couchdb-1.0.2_otp_R14B01_spidermonkey_1.8.5.exe # update couchdb config net stop "Apache CouchDB" edit local.ini [httpd] ;port = 5984 ;bind_address = 127.0.0.1 bind_address = :: # install IPv6 - windows XP netsh interface ipv6 install netsh interface ipv6 set privacy disabled # start couchdb service & say hallo net start "apache couchdb" curl.exe -v http://\[::1\]:5984 * About to connect() to ::1 port 5984 (#0) * connected * Connected to ::1 () port 5984 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.21.1 (i386-pc-win32) libcurl/7.21.1 > Host: [::1]:5984 > Accept: */* > < HTTP/1.1 200 OK < Server: CouchDB/1.0.2 (Erlang OTP/R14B) < Date: Thu, 10 Feb 2011 10:35:24 GMT < Content-Type: text/plain;charset=utf-8 < Content-Length: 40 < Cache-Control: must-revalidate < {"couchdb":"Welcome","version":"1.0.2"} * Connection #0 to host ::1 left intact * Closing connection #0 > CouchDB fails to bind to IPv6 address on Windows > ------------------------------------------------ > > Key: COUCHDB-1032 > URL: https://issues.apache.org/jira/browse/COUCHDB-1032 > Project: CouchDB > Issue Type: Bug > Components: Database Core, HTTP Interface > Affects Versions: 1.0.1 > Environment: Windows 7 32bit > couchdb 1.0.1 windows binary installer > Reporter: Alessio Caiazza > Priority: Critical > > I'm trying to bind to IPv6 address :: but couchDB didn't start. > I've tried with > bind_address = :: > and with the specific IPv6 address. > ############################# LOG level setted do debug ########################### > Erlang R14A (erts-5.8) [source] [smp:2:2] [rq:2] [async-threads:0] > Eshell V5.8 (abort with ^G) > 1> Apache CouchDB 1.0.1 (LogLevel=debug) is starting. > Configuration Settings ["../etc/couchdb/default.ini", > "../etc/couchdb/local.ini"]: > [admins] ***LINE REMOVED*** > [admins] ***LINE REMOVED*** > [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] ***LINE REMOVED*** > [couch_httpd_auth] timeout="600" > [couchdb] database_dir="../var/lib/couchdb" > [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/couch.uri" > [couchdb] util_driver_dir="../lib/couch-1.0.1/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] 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] 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="::" > [httpd] default_handler="{couch_httpd_db, handle_request}" > [httpd] max_connections="2048" > [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, \"../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, \"../share/couchdb/www\"}" > [log] file="../var/log/couchdb/couch.log" > [log] include_sasl="true" > [log] level="debug" > [query_server_config] reduce_limit="true" > [query_servers] javascript="./couchjs.exe ../share/couchdb/server/main.js" > [replicator] max_http_pipeline_size="10" > [replicator] max_http_sessions="10" > [stats] rate="1000" > [stats] samples="[0, 60, 300, 900]" > [uuids] algorithm="sequential" > Failure to start Mochiweb: eafnosupport > [error] [<0.106.0>] {error_report,<0.34.0>, > {<0.106.0>,crash_report, > [[{initial_call,{mochiweb_socket_server,init,['Argument__1']}}, > {pid,<0.106.0>}, > {registered_name,[]}, > {error_info,{exit,eafnosupport, > [{gen_server,init_it,6}, > {proc_lib,init_p_do_apply,3}]}}, > {ancestors,[couch_secondary_services,couch_server_sup, > <0.35.0>]}, > {messages,[]}, > {links,[<0.89.0>]}, > {dictionary,[]}, > {trap_exit,true}, > {status,running}, > {heap_size,1597}, > {stack_size,24}, > {reductions,352}], > []]}} > =CRASH REPORT==== 20-Jan-2011::09:39:55 === > crasher: > initial call: mochiweb_socket_server:init/1 > pid: <0.106.0> > registered_name: [] > exception exit: eafnosupport > in function gen_server:init_it/6 > ancestors: [couch_secondary_services,couch_server_sup,<0.35.0>] > messages: [] > links: [<0.89.0>] > dictionary: [] > trap_exit: true > status: running > heap_size: 1597 > stack_size: 24 > reductions: 352 > neighbours: > [error] [<0.89.0>] {error_report,<0.34.0>, > {<0.89.0>,supervisor_report, > [{supervisor,{local,couch_secondary_services}}, > {errorContext,start_error}, > {reason,eafnosupport}, > {offender,[{pid,undefined}, > {name,httpd}, > {mfargs,{couch_httpd,start_link,[]}}, > {restart_type,permanent}, > {shutdown,1000}, > {child_type,worker}]}]}} > =SUPERVISOR REPORT==== 20-Jan-2011::09:39:55 === > Supervisor: {local,couch_secondary_services} > Context: start_error > Reason: eafnosupport > Offender: [{pid,undefined}, > {name,httpd}, > {mfargs,{couch_httpd,start_link,[]}}, > {restart_type,permanent}, > {shutdown,1000}, > {child_type,worker}] > [error] [<0.81.0>] {error_report,<0.34.0>, > {<0.81.0>,supervisor_report, > [{supervisor,{local,couch_server_sup}}, > {errorContext,start_error}, > {reason,shutdown}, > {offender, > [{pid,undefined}, > {name,couch_secondary_services}, > {mfargs,{couch_server_sup,start_secondary_services,[]}}, > {restart_type,permanent}, > {shutdown,infinity}, > {child_type,supervisor}]}]}} > =SUPERVISOR REPORT==== 20-Jan-2011::09:39:55 === > Supervisor: {local,couch_server_sup} > Context: start_error > Reason: shutdown > Offender: [{pid,undefined}, > {name,couch_secondary_services}, > {mfargs,{couch_server_sup,start_secondary_services,[]}}, > {restart_type,permanent}, > {shutdown,infinity}, > {child_type,supervisor}] > =CRASH REPORT==== 20-Jan-2011::09:39:55 === > crasher: > initial call: application_master:init/4 > pid: <0.34.0> > registered_name: [] > exception exit: {bad_return, > {{couch_app,start, > [normal, > ["../etc/couchdb/default.ini", > "../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.33.0>] > messages: [{'EXIT',<0.35.0>,normal}] > links: [<0.33.0>,<0.6.0>] > dictionary: [] > trap_exit: true > status: running > heap_size: 610 > stack_size: 24 > reductions: 422 > neighbours: > =INFO REPORT==== 20-Jan-2011::09:39:55 === > application: couch > exited: {bad_return,{{couch_app,start, > [normal, > ["../etc/couchdb/default.ini", > "../etc/couchdb/local.ini"]]}, > {'EXIT',{{badmatch,{error,shutdown}}, > [{couch_server_sup,start_server,1}, > {application_master,start_it_old,4}]}}}} > type: temporary > 1> -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira