Cluster Panic due to Multiple Deployments
Symptoms
There are multiple causes for this issue. Start with the parent article Confluence will not start due to fatal error in Confluence cluster.
Confluence throws the following error on a single-node deployment shortly after startup:
Fatal error in Confluence cluster: Database is being updated by an instance which is not part of the current cluster. You should check network connections between cluster nodes, especially multicast traffic.
Cause
Two instances of single-node Confluence (unclustered) are connecting to the database.
There are several known causes:
- Confluence has not been shut down completely and the java process is still running (and connected to the database).
- Two instances point to the same confluence-home or database and are running simultaneously.
- Confluence is deployed in the
webapps
folder and is reloading. - A test server has been deployed that is connecting to the same database.
- A Windows Service is starting automatically, perhaps left over from a different installation.
- The parameter
reloadable=true
is set in the war file XML configuration.
Resolution
If the problem is reoccurring,
- If Confluence is running on a different server (eg a test server), stop the process there. Make sure the confluence.cfg.xml on the other server does not point to your production database.
- If you are using a standalone deployment:
- Check that Confluence is not deployed in the
<confluence-install>/webapps
folder. This folder should be empty.
- Check that Confluence is not deployed in the
- If you are using a WAR deployment
- Check the confluence.xml file for
reloadable=true
- Check that Confluence is not deployed multiple times in the
<confluence-install>/webapps
folder (eg duplicated files in this folder)
- Check the confluence.xml file for
If it simply did not shut down properly,
In Linux:
- run
ps -a
. Identify the java process for Confluence. Note the process ID. - run
kill -9 <pid>
.
In Windows:
- From the close program box, kill the java.exe process.
Restarting the box should work on any platform.