You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Monica Razdan <mo...@almende.org> on 2011/11/01 16:16:17 UTC
couchdb 1.1.0 binding fails
Hello,
Hope someone can help me resolve it !
I have instance of couchdb v1.1.o running on a remote server where I want
to bind couch to a server. I have changed the bind_address in the
local.ini and restarted the server. But couch is still no accessible. In
the past I have changed the bind_address on couchdb v1.0.1 and it worked.
Is there something I'm missing ? or something has changed in this release ?
Thanks,
Monica
Re: couchdb 1.1.0 binding fails
Posted by Monica Razdan <mo...@almende.org>.
Hello,
I have resolved the binding problem by changing the file permissions. It
looks like if you start the couchdb as a root the file permissions change.
Also, making sure if the changes(bind_address) made in local.ini are
written on correct instance of local.ini. There are 2 instances of
local.ini file one in the installation directory and the other ( the file
which gets read during the execution) -
/usr/local/etc/couchdb/local.ini
Hope it resolves your problem!
Thanks,
Monica
On Wed, Nov 2, 2011 at 12:25 AM, Rogutės Sparnuotos
<ro...@googlemail.com>wrote:
> I was hit by this whitespace problem earlier today, so I took the liberty
> of creating a ticket: https://issues.apache.org/jira/browse/COUCHDB-1328
>
> Though I am not sure if this is the problem reported in this thread.
>
> Robert Newson (2011-11-01 22:46):
> > If confirmed, please raise a JIRA ticket and we'll get that sorted.
> >
> > On 1 November 2011 21:25, Dave Cottlehuber <da...@muse.net.nz> wrote:
> > > On 1 November 2011 17:04, James Eisenhauer <ja...@gmail.com>
> wrote:
> > >> I am having same issue.
> > >>
> > >> change local.ini bind address to 0.0.0.0 on a Windows 2008 server
> running
> > >> on VMWare and I get
> > >>
> > >> Erlang R14B03 (erts-5.8.4) [rq:1] [async-threads:0]
> > >> Eshell V5.8.4 (abort with ^G)
> > >> 1> Apache CouchDB 1.1.0 (LogLevel=info) is starting.
> > >> [error] [<0.94.0>] {error_report,<0.34.0>,
> > >> {<0.94.0>,supervisor_report,
> > >> [{supervisor,{local,couch_secondary_services}},
> > >> {errorContext,start_error},
> > >> {reason,
> > >> {'EXIT',
> > >> {{badmatch,{error,einval}},
> > >
> > > Do you have more than one space between 'bind_address = ' and your IP
> address?
> > >
> > > This fails with einval for me too on MacOSX Lion + CouchDB1.1.0, and
> > > on my windows 1.1.0 build:
> > >
> > > bind_address = 0.0.0.0
> > >
> > > A+
> > > Dave
>
> --
> -- Rogutės Sparnuotos
>
Re: couchdb 1.1.0 binding fails
Posted by Rogutės Sparnuotos <ro...@googlemail.com>.
I was hit by this whitespace problem earlier today, so I took the liberty
of creating a ticket: https://issues.apache.org/jira/browse/COUCHDB-1328
Though I am not sure if this is the problem reported in this thread.
Robert Newson (2011-11-01 22:46):
> If confirmed, please raise a JIRA ticket and we'll get that sorted.
>
> On 1 November 2011 21:25, Dave Cottlehuber <da...@muse.net.nz> wrote:
> > On 1 November 2011 17:04, James Eisenhauer <ja...@gmail.com> wrote:
> >> I am having same issue.
> >>
> >> change local.ini bind address to 0.0.0.0 on a Windows 2008 server running
> >> on VMWare and I get
> >>
> >> Erlang R14B03 (erts-5.8.4) [rq:1] [async-threads:0]
> >> Eshell V5.8.4 (abort with ^G)
> >> 1> Apache CouchDB 1.1.0 (LogLevel=info) is starting.
> >> [error] [<0.94.0>] {error_report,<0.34.0>,
> >> {<0.94.0>,supervisor_report,
> >> [{supervisor,{local,couch_secondary_services}},
> >> {errorContext,start_error},
> >> {reason,
> >> {'EXIT',
> >> {{badmatch,{error,einval}},
> >
> > Do you have more than one space between 'bind_address = ' and your IP address?
> >
> > This fails with einval for me too on MacOSX Lion + CouchDB1.1.0, and
> > on my windows 1.1.0 build:
> >
> > bind_address = 0.0.0.0
> >
> > A+
> > Dave
--
-- Rogutės Sparnuotos
Re: couchdb 1.1.0 binding fails
Posted by Robert Newson <rn...@apache.org>.
If confirmed, please raise a JIRA ticket and we'll get that sorted.
On 1 November 2011 21:25, Dave Cottlehuber <da...@muse.net.nz> wrote:
> On 1 November 2011 17:04, James Eisenhauer <ja...@gmail.com> wrote:
>> I am having same issue.
>>
>> change local.ini bind address to 0.0.0.0 on a Windows 2008 server running
>> on VMWare and I get
>>
>> Erlang R14B03 (erts-5.8.4) [rq:1] [async-threads:0]
>> Eshell V5.8.4 (abort with ^G)
>> 1> Apache CouchDB 1.1.0 (LogLevel=info) is starting.
>> [error] [<0.94.0>] {error_report,<0.34.0>,
>> {<0.94.0>,supervisor_report,
>> [{supervisor,{local,couch_secondary_services}},
>> {errorContext,start_error},
>> {reason,
>> {'EXIT',
>> {{badmatch,{error,einval}},
>
> Do you have more than one space between 'bind_address = ' and your IP address?
>
> This fails with einval for me too on MacOSX Lion + CouchDB1.1.0, and
> on my windows 1.1.0 build:
>
> bind_address = 0.0.0.0
>
> A+
> Dave
>
Re: couchdb 1.1.0 binding fails
Posted by Dave Cottlehuber <da...@muse.net.nz>.
On 1 November 2011 17:04, James Eisenhauer <ja...@gmail.com> wrote:
> I am having same issue.
>
> change local.ini bind address to 0.0.0.0 on a Windows 2008 server running
> on VMWare and I get
>
> Erlang R14B03 (erts-5.8.4) [rq:1] [async-threads:0]
> Eshell V5.8.4 (abort with ^G)
> 1> Apache CouchDB 1.1.0 (LogLevel=info) is starting.
> [error] [<0.94.0>] {error_report,<0.34.0>,
> {<0.94.0>,supervisor_report,
> [{supervisor,{local,couch_secondary_services}},
> {errorContext,start_error},
> {reason,
> {'EXIT',
> {{badmatch,{error,einval}},
Do you have more than one space between 'bind_address = ' and your IP address?
This fails with einval for me too on MacOSX Lion + CouchDB1.1.0, and
on my windows 1.1.0 build:
bind_address = 0.0.0.0
A+
Dave
Re: couchdb 1.1.0 binding fails
Posted by James Eisenhauer <ja...@gmail.com>.
I am having same issue.
change local.ini bind address to 0.0.0.0 on a Windows 2008 server running
on VMWare and I get
Erlang R14B03 (erts-5.8.4) [rq:1] [async-threads:0]
Eshell V5.8.4 (abort with ^G)
1> Apache CouchDB 1.1.0 (LogLevel=info) is starting.
[error] [<0.94.0>] {error_report,<0.34.0>,
{<0.94.0>,supervisor_report,
[{supervisor,{local,couch_secondary_services}},
{errorContext,start_error},
{reason,
{'EXIT',
{{badmatch,{error,einval}},
[{mochiweb_socket_server,parse_options,2},
{mochiweb_socket_server,start,1},
{couch_httpd,start_link,2},
{supervisor,do_start_child,2},
{supervisor,start_children,3},
{supervisor,init_children,2},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
{offender,
[{pid,undefined},
{name,httpd},
{mfargs,{couch_httpd,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]}]}}
=SUPERVISOR REPORT==== 1-Nov-2011::08:59:46 ===
Supervisor: {local,couch_secondary_services}
Context: start_error
Reason: {'EXIT',{{badmatch,{error,einval}},
[{mochiweb_socket_server,parse_options,2},
{mochiweb_socket_server,start,1},
{couch_httpd,start_link,2},
{supervisor,do_start_child,2},
{supervisor,start_children,3},
{supervisor,init_children,2},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
Offender: [{pid,undefined},
{name,httpd},
{mfargs,{couch_httpd,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[info] [<0.106.0>] Stopping all ongoing replications because the replicator
database was deleted or changed
[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==== 1-Nov-2011::08:59:46 ===
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==== 1-Nov-2011::08:59:46 ===
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: 987
stack_size: 24
reductions: 98
neighbours:
=INFO REPORT==== 1-Nov-2011::08:59:46 ===
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
any ideas?
thanks
jim
On Tue, Nov 1, 2011 at 8:16 AM, Monica Razdan <mo...@almende.org> wrote:
> Hello,
>
> Hope someone can help me resolve it !
>
> I have instance of couchdb v1.1.o running on a remote server where I want
> to bind couch to a server. I have changed the bind_address in the
> local.ini and restarted the server. But couch is still no accessible. In
> the past I have changed the bind_address on couchdb v1.0.1 and it worked.
> Is there something I'm missing ? or something has changed in this release ?
>
> Thanks,
> Monica
>
Re: couchdb 1.1.0 binding fails
Posted by Benoit Chesneau <bc...@gmail.com>.
which port?
On Tuesday, November 1, 2011, Monica Razdan <mo...@almende.org> wrote:
> Hello,
>
> Hope someone can help me resolve it !
>
> I have instance of couchdb v1.1.o running on a remote server where I want
> to bind couch to a server. I have changed the bind_address in the
> local.ini and restarted the server. But couch is still no accessible. In
> the past I have changed the bind_address on couchdb v1.0.1 and it worked.
> Is there something I'm missing ? or something has changed in this release
?
>
> Thanks,
> Monica
>