Cannot connect to the ZooKeeper ensemble
Connection errors for each ZooKeeper server are logged in a log file. You can troubleshoot the connection errors by viewing the log and taking the required action.
Symptoms
Any action in the Global Mailbox management tool that involves mailboxes or messages results in the following message:A system error has occurred. Please contact your system administrator.
Causes
The ZooKeeper ensemble might be offline for the following list of reasons:
- Incorrect configuration
-
- The number of ZooKeeper nodes that are configured in the global.properties file is not equal to the number of ZooKeeper nodes that are deployed in your cluster.
- One or more nodes might be incorrectly configured in the global.properties file.
- Network problem
- There is a network partition between the Global Mailbox instance and one or more ZooKeeper nodes.
Environment
Windows and Linux®.Diagnosing the problem
If you suspect that the ZooKeeper ensemble is offline, you can search the
messages.log file for the CBXMD0041E error code at the time of
the failure:
- Go to the <install_directory>/usr/servers/defaultServer/logs directory.
- Open the messages.log file.
- Examine the log for events with the following error
message:
CBXMD0041E: The ZooKeeper connection has been lost. The current state of the connection is ''{0}''.
Possible values for the parameter{0}
areSUSPENDED
andLOST
:SUSPENDED
- The connection to ZooKeeper is lost and reconnection attempts are in progress.
LOST
- The connection to ZooKeeper is unable to be reestablished within the timeout period.
The format of the error message is as follows:
[time stamp] [thread ID] [logging class] [logging level] [error ID]: [error message]