If you have issues installing the Agent and then configuring it to start and run, first try troubleshooting issues by doing the following:
Use troubleshooting tools
No valid Data Center license found
Please go to Atlassian Marketplace to purchase or evaluate Refined Toolkit for Confluence Data Center.Please read this document to get more information about the newly released Data Center version.
No valid Data Center license found
Please go to Atlassian Marketplace to purchase or evaluate Refined Toolkit for Confluence Data Center.Please read this document to get more information about the newly released Data Center version.
Start the Agent without the wrapper
Starting the Agent without the wrapper (which is used to allow the Agent to run as a service) allows you to see if there are issues with running the Agent itself including any issues with the Agent's dependencies such as Java. To run without the wrapper:
In a terminal window or command prompt, change to the directory where the Agent is installed (e.g. cd /usr/local/Perspectium_Replicator_Agent)
Run the following command:
java -Dlog4j.configurationFile=file:conf/log4j2.xml -classpath “.:${CLASSPATH}:bin:jars/*:lib/*” com.perspectium.replicator.Replicator
Enable Debug Logging
The initial logging level of the Agent is set at its lowest level of INFO so as to not generate extraneous logging and affect performance. However in case of errors and to aid in troubleshooting, you can enable a higher level of logging such as DEBUG. Note that changing to a higher level should only be done during troubleshooting and changed back to INFO for every day use because of the performance cost.
Windows Service Issues
For issues with the Agent running as a service on Windows, check the following:
- The Java path (where Java is installed and is defined to run from) is in the Windows PATH environment variable
- The wrapper.conf file located in the Agent's conf folder has the set.JAVA_HOME=<Java_Path> parameter defined
Once you've done the initial steps for troubleshooting issues, review the the logs found in the Agent's logs folder to see the issues. Some of the more common issues include: