Symptoms
An error message appears when accessing Confluence:
Background
Confluence comes with a cluster safety table (located in the database). This table exists even for non clustered environments. Every 30 seconds, Confluence checks this table and compares its value with the one it has in memory. If the new value differs from the one in memory, this error appears, and Confluence cannot proceed. This is the Cluster safety mechanism.
Causes
Though it appears to be a cluster related problem, this error occurs in non-clustered environments as well. There are three separate issues that all cause the same error message. Only one actually involves a clustered instance; the other two can happen to single node deployments:
- Multiple instances of Confluence are deployed, connecting to the database.
- A performance issue (usually invasive Garbage Collection) has suspended the cluster safety job from running. In Confluence 3.0.1 and 3.0.2, this is exacerbated and happens with a much higher frequency. See Cluster panics (Non Clustered Confluence 2.10.4, 3.0.1 and 3.0.2).
- Communication between the nodes in a cluster has been severed.
- In a single-node (non-clustered) deployment, there are two records in
clustersafetytable.
Diagnosis and Resolutions
- If the problem occurs shortly after startup in a single-node (non-clustered) deployment, see Cluster Panic due to Multiple Deployments.
- If the problem occurs shortly after startup in a single-node (non-clustered) deployment and it wasn't causes by multiple deployments, see if
clustersafetytable (in the database) has more then one record. If so, just delete one of them. - If you are using 3.0.1 or 3.0.2, you are likely experiencing a bug. See Cluster panics (Non Clustered Confluence 2.10.4, 3.0.1 and 3.0.2).
- If the problem happens spontaneously during production usage in a single-node (non-clustered) deployment, see Cluster Panic due to Performance Problems.
- If the problem happens in a multi-node cluster, see Cluster Panic due to Multicast Traffic Communication Problem.





3 Comments
Hide/Show CommentsSep 09, 2010
Werner Mueller
The problem may also occur when you grant only 'SELECT' permissions on the database for the user confluence uses to connect to the database. We had the effect the user had all permissions for host 127.0.0.1 but only SELECT for host localhost. We just fixed the grant for host localhost.
The logs state that problem with the grants but the error message in the browser is the one on this page.
Jul 05, 2011
vincent.guyot
This problem may also occur when an unexpected power cut occur on a single-node environment.
The explanation is as follow:
The clustersafety table has only one record.
Both Confluence and DB (sqlserver) were re started after unexpected power cut.
On the server hosting Confluence, we also have a Jira instance. The server is a virtual machine (vmware).
Both instance are running as a service.
Jira restarted flawlessly.
Confluence was apparently unable to correctly connect and gave the fatal cluster message.
we restarted again Confluence, and it is now working correctly
Feb 20, 2012
Ruslan Abdulov
Unsufficient space on hard disk of db server causes the same problem.