IP address seems to have changed. Unable to listen on 'ns_1@169.254.20.219'
What does the below error log means and how can i resolve it:
Event Module Code Server Node Time
IP address seems to have changed. Unable to listen on 'ns_1@169.254.20.219'. menelaus_web_alerts_srv001 ns_1@169.254.20.219 21:16:07 - Thu Jun 28, 2012
Thanks@ajithkh, this issue has been resolved but when still i am facing issues when i am trying to run the sample program(provided by couchbase) and getting the following error:
2012-06-29 15:19:22.015 INFO com.couchbase.client.CouchbaseConnection: Added {QA sa=/172.10.10.10:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2012-06-29 15:19:28.002 WARN com.couchbase.client.CouchbaseConnection: Node exepcted to receive data is inactive. This could be due to afailure within the cluster. Will check for updated configuration. Key without a configured node is: spoon.
Jun 29, 2012 3:19:28 PM com.couchbase.client.CouchbaseConnectionFactory checkConfigUpdate
WARNING: No reconnect required, though check requested. Current config check is 1 out of a threshold of 10.
Exception in thread "main" net.spy.memcached.OperationTimeoutException: Timeout waiting for value
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1003)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1018)
at Main.main(Main.java:34)
Caused by: net.spy.memcached.internal.CheckedOperationTimeoutException: Timed out waiting for operation - failing node: 172.10.10.10/172.10.10.10:11210
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:93)
at net.spy.memcached.internal.GetFuture.get(GetFuture.java:62)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:997)
... 2 more
2012-06-29 15:19:42.997 INFO com.couchbase.client.CouchbaseConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@77827284
2012-06-29 15:19:42.999 INFO com.couchbase.client.CouchbaseConnection: Reconnecting due to failure to connect to {QA sa=172.10.10.10/172.10.10.10:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 0 Opaque: 1 Key: spoon, toWrite=0, interested=0}
java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:369)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:242)
at com.couchbase.client.CouchbaseConnection.run(CouchbaseConnection.java:229)
2012-06-29 15:19:43.001 WARN com.couchbase.client.CouchbaseConnection: Closing, and reopening {QA sa=172.10.10.10/172.10.10.10:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 0 Opaque: 1 Key: spoon, toWrite=0, interested=0}, attempt 1.
2012-06-29 15:19:47.003 INFO com.couchbase.client.CouchbaseConnection: Reconnecting {QA sa=172.10.10.10/172.10.10.10:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 0 Opaque: 1 Key: spoon, toWrite=0, interested=0}
2012-06-29 15:20:07.997 INFO com.couchbase.client.CouchbaseConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@358b3364
2012-06-29 15:20:07.998 INFO com.couchbase.client.CouchbaseConnection: Reconnecting due to failure to connect to {QA sa=172.10.10.10/172.10.10.10:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 0 Opaque: 1 Key: spoon, toWrite=0, interested=0}
java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:369)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:242)
at com.couchbase.client.CouchbaseConnection.run(CouchbaseConnection.java:229)
2012-06-29 15:20:08.001 WARN com.couchbase.client.CouchbaseConnection: Closing, and reopening {QA sa=172.10.10.10/172.10.10.10:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 0 Opaque: 1 Key: spoon, toWrite=0, interested=0}, attempt 2.
2012-06-29 15:20:16.002 INFO com.couchbase.client.CouchbaseConnection: Reconnecting {QA sa=172.10.10.10/172.10.10.10:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 0 Opaque: 1 Key: spoon, toWrite=0, interested=0}
As per these logs i can see the port number 11210 but under default bucket the system is showing port number: 11211(Standard port (TCP port 11211. ASCII protocol or Binary auth-less)) and there is one manual option is also available but when i put 11210 port into it then the system is prompting that the current port is in use.
Do you have any idea how to fix this?
Thanks,
Pardeep Sharma
hi Pradeep,
I am also having the same issue . Were able to resolve it.
Viiveek
How did you resolve this issue?
Thanks.
A
Hello,
I have documented the workaround to this issue here:
http://tugdualgrall.blogspot.fr/2012/12/what-to-do-if-your-couchbase-ser...
Regards
Hello,
This issue should be solved in Couchbase Server 2.0.1
Regards
I had similar issue.
Followed soln in http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractic... and worked.
Hope it helps