[Error] Ignoring bad address
Just installed developer preview on two machines; one is Win7, the other is XP. The XP machine appears to start and stop the couchbaseserver service successfully, but never listens on 112211 or 8091. In the couch.log file I get this:
[Wed, 31 Aug 2011 13:21:37 GMT] [info] [<0.62.0>] Apache CouchDB has started on http://0.0.0.0:5984/
[Wed, 31 Aug 2011 13:21:37 GMT] [error] [<0.190.0>] Got error:einval. Ignoring bad address:[]
[Wed, 31 Aug 2011 13:21:38 GMT] [error] [<0.274.0>] ns_1@192.168.157.128:<0.274.0>:ns_heart:137: Failed to grab system stats:
{'EXIT',{noproc,{gen_server,call,
[{'stats_reader-@system','ns_1@192.168.157.128'},
{latest,"minute"}]}}}
Making me wonder if there's a problem binding to 0.0.0.0 on XP (conjecture, but it's all I've got at this point). I'd try changing it to use 127.0.0.1, but I don't see any place to do that.
Can someone point me in the right direction on binding to a specific IP?
I'll agree; it might not be related. But that is just about the entire log file; here's the whole thing after another attempt at restarting the service (from an windows service perspective, it's starting and running properly, but the only new port listening after it starts is something on 21100/tcp):
[Wed, 31 Aug 2011 13:21:37 GMT] [info] [<0.184.0>] mccouch is listening on port 11213
[Wed, 31 Aug 2011 13:21:37 GMT] [info] [<0.62.0>] Apache CouchDB has started on http://0.0.0.0:5984/
[Wed, 31 Aug 2011 13:21:37 GMT] [error] [<0.190.0>] Got error:einval. Ignoring bad address:[]
[Wed, 31 Aug 2011 13:21:38 GMT] [error] [<0.274.0>] ns_1@192.168.157.128:<0.274.0>:ns_heart:137: Failed to grab system stats:
{'EXIT',{noproc,{gen_server,call,
[{'stats_reader-@system','ns_1@192.168.157.128'},
{latest,"minute"}]}}}
[Thu, 01 Sep 2011 12:50:44 GMT] [info] [<0.172.0>] mccouch is listening on port 11213
[Thu, 01 Sep 2011 12:50:44 GMT] [info] [<0.62.0>] Apache CouchDB has started on http://0.0.0.0:5984/
[Thu, 01 Sep 2011 12:50:45 GMT] [error] [<0.179.0>] Got error:einval. Ignoring bad address:[]
[Thu, 01 Sep 2011 12:50:46 GMT] [error] [<0.308.0>] ns_1@192.168.157.128:<0.308.0>:ns_heart:137: Failed to grab system stats:
{'EXIT',{noproc,{gen_server,call,
[{'stats_reader-@system','ns_1@192.168.157.128'},
{latest,"minute"}]}}}
We've had some issues with XP...I assume the Windows 7 box is working well for you?
Would it be possible to try getting another Win7 system to verify with?
Perry
Hi Perry,
Any update on a fix/workaround for this XP compatibility issue? I'm hung on it too (XP VM).
Thx,
pi
In the meantime I successfully deployed into a WS2008 R2 Web Server VM without a hitch. Just FYI. XP deployment is still a nice-to-have, but not a show-stopper as of now.
I have the same problem on Windows Home server (windows 2003 based).
I had to change some permissions just to get the logs started and stopped the firewall. Still Can't get the Couchbase console to start.
Exact same output as vine9
Tried changing couchdb default.ini from 127.0.0.1 to 0.0.0.0 but got the same error.
Just gave this a try on Win2k8r2 as well as WinXP. 2k8 everything works as expected and bound to all interfaces by default(couch), Winxp fails to start with a completely different error message.
Our QA matrix has about 22 OS variations that we test on and certify for support. For windows there are a total of 8 variations of Win2k8 and Win7 pro, Win2k3 is tested but not supported. The remaining variations are 18 linux distress and 4 Mac OS X version.
Are any of you able to test this on a more recent windows version?
thanks
-Alex.
I tested it also on Win2k8r2 standard and everything worked.
I don't necessarily think that's the problem here, but I can't be sure.
Can you attach your whole couch.log?
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!