AnsweredAssumed Answered

Port already in use: 7220; Cldb is not yet initaialized

Question asked by arul on May 19, 2014
Latest reply on May 28, 2014 by mbigelow
I have many times tried to stop and start the cldb service and all the times i am getting below error, if someone faced the same issue or if you point out issue that would be nice. thanks in advance.

<pre>
2014-05-20 08:27:29,948 INFO CLDBServer [main-EventThread]: The CLDB received notification that a ZooKeeper event of type None occurred on path null
2014-05-20 08:27:29,985 INFO CLDBServer [main-EventThread]: onZKConnect: The CLDB has successfully connected to the ZooKeeper server State:CONNECTED Timeout:30000 sessionid:0x46178f37da000c local:/192.168.1.50:60929 remoteserver:Stage01/192.168.1.50:5181 lastZxid:0 xid:1 sent:1 recv:1 queuedpkts:0 pendingresp:0 queuedevents:0 in the ZooKeeper ensemble with connection string Stage01:5181,Stage02:5181
2014-05-20 08:27:30,172 INFO VolumeMirror [main]: Initializing volume mirror thread ...
2014-05-20 08:27:30,181 INFO VolumeMirror [main]: Spawned 1 VolumeMirror Threads
2014-05-20 08:27:30,210 INFO CLDBServer [main-EventThread]: The CLDB received notification that a ZooKeeper event of type None occurred on path null
2014-05-20 08:27:30,224 INFO HttpServer [main]: Creating http listener for 0.0.0.0
2014-05-20 08:27:30,296 INFO log [main]: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2014-05-20 08:27:30,321 INFO ZooKeeperClient [ZK-Connect]: ZooKeeperClient: KvStore does not have epoch entry CLDB trying to wait until it is Ready
2014-05-20 08:27:30,459 INFO CLDB [main]: CLDBState: CLDB State change : WAIT_FOR_FILESERVERS
2014-05-20 08:27:30,459 INFO CLDB [main]: CLDBInit: Exporting program 2346
2014-05-20 08:27:30,463 INFO CLDB [main]: CLDBInit: Exporting program 2345
2014-05-20 08:27:30,463 INFO CLDB [main]: CLDBInit: Starting HTTP Server
2014-05-20 08:27:30,464 INFO HttpServer [main]: WebServer: Starting WebServer
2014-05-20 08:27:30,465 INFO HttpServer [main]: Listener started on SelectChannelConnector@0.0.0.0:7221 port 7221
2014-05-20 08:27:30,465 INFO HttpServer [main]: Starting Jetty WebServer
2014-05-20 08:27:30,465 INFO log [main]: jetty-6.1.26
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
2014-05-20 08:27:30,551 WARN log [main]: Can't reuse /tmp/Jetty_0_0_0_0_7221_cldb____qb58s0, using /tmp/Jetty_0_0_0_0_7221_cldb____qb58s0_4160566556862954933
2014-05-20 08:27:32,060 INFO log [main]: Started SelectChannelConnector@0.0.0.0:7221
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
2014-05-20 08:27:33,324 INFO ZooKeeperClient [ZK-Connect]: Waiting for local KvStoreContainer to become valid. KvStore ContainerInfo  Container ID:1 Servers:  192.168.1.51-3(2991853287528608895) Inactive:  Unused:  Epoch:3 SizeMB:0 CLDB ServerID : 6278059658201415218
2014-05-20 08:27:43,988 INFO CLDBServer [Lookup-1]: Rejecting RPC 2345.5 from 192.168.1.180:54640 with status 30 as CLDB is not yet initialized.




Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
2014-05-20 08:28:56,999 INFO CLDBServer [Lookup-4]: Rejecting RPC 2345.5 from 192.168.1.180:54640 with status 30 as CLDB is not yet initialized.
2014-05-20 08:29:58,261 INFO CLDBServer [Lookup-1]: Rejecting RPC 2345.5 from 192.168.1.50:50012 with status 30 as CLDB is not yet initialized.
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7220; nested exception is:
        java.net.BindException: Address already in use




2014-05-20 08:30:59,272 INFO CLDBServer [RPC-9]: Rejecting RPC 2345.103 from 192.168.1.180:48231 with status 30 as CLDB is not yet initialized.


2014-05-20 08:32:01,014 INFO CLDBServer [Lookup-2]: Rejecting RPC 2345.5 from 192.168.1.180:46789 with status 30 as CLDB is not yet initialized.
2014-05-20 08:33:04,269 INFO CLDBServer [Lookup-3]: Rejecting RPC 2345.5 from 192.168.1.50:50012 with status 30 as CLDB is not yet initialized.
2014-05-20 08:34:05,021 INFO CLDBServer [Lookup-8]: Rejecting RPC 2345.5 from 192.168.1.180:46789 with status 30 as CLDB is not yet initialized.
2014-05-20 08:35:06,908 INFO CLDBServer [RPC-7]: Rejecting RPC 2345.103 from 192.168.1.180:56854 with status 30 as CLDB is not yet initialized.

Outcomes