After rebooting the ZCM appliance, the services seems to stop working (ZCC unresponsive) after a few minutes. This may be caused by a problem with Zookeeper. The zookeeper.log shows the following errors:
[09 Jan 2024 16:15:07] [DEBUG] Accepted socket connection from /192.168.16.10:36930 (org.apache.zookeeper.server.NIOServerCnxnFactory:272)
[09 Jan 2024 16:15:07] [WARN] Close of session 0x0 (org.apache.zookeeper.server.NIOServerCnxn:380)
java.io.IOException: ZooKeeperServer not running
at org.apache.zookeeper.server.NIOServerCnxn.readLength(NIOServerCnxn.java:554)
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:339)
at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:508)
at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
[09 Jan 2024 16:15:07] [DEBUG] Closed socket connection for client /192.168.16.10:36930 (no session established for client) (org.apache.zookeeper.server.NIOServerCnxn:626)
[09 Jan 2024 16:15:07] [DEBUG] Accepted socket connection from /127.0.0.1:40050 (org.apache.zookeeper.server.NIOServerCnxnFactory:272)
[09 Jan 2024 16:15:07] [WARN] Close of session 0x0 (org.apache.zookeeper.server.NIOServerCnxn:380)
java.io.IOException: ZooKeeperServer not running
at org.apache.zookeeper.server.NIOServerCnxn.readLength(NIOServerCnxn.java:554)
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:339)
at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:508)
at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
[09 Jan 2024 16:15:07] [DEBUG] Closed socket connection for client /127.0.0.1:40050 (no session established for client) (org.apache.zookeeper.server.NIOServerCnxn:626)
This problem can be resolved by removing any 127.0.0.2 loopback address defined in '/etc/hosts' file. The 127.0.0.1 loopback address can remain. After doing so, reboot the appliance server.
The opinions expressed above are the personal opinions of the authors, not of OpenText. By using this site, you accept the Terms of Use. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.), Hewlett Packard Enterprise Company, or Micro Focus. As of January 31, 2023, the Material is now offered by OpenText, a separately owned and operated company. Any reference to the HP, Hewlett Packard Enterprise/HPE, and Micro Focus marks is historical in nature and the HP, Hewlett Packard Enterprise/HPE, and Micro Focus marks are the property of their respective owners.