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.
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.
Agent startup issues
Start the Agent without the wrapper
Starting the Agent without the wrapper that runs it 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
Verify Java on the machine
For issues with the Agent running as a service, verify Java is setup properly on the machine:
Verify Java path is defined properly (Windows-specific)
For Windows, first check the Java path (where Java is installed and is defined to run from) is in the Windows PATH environment variable.
Next check the wrapper.conf file located in the Agent's conf directory has the set.JAVA_HOME=<Java_Path> parameter defined.
Verify Java is accessible
If the Agent is having issues starting up, check the java system command is working. Normally when Java is installed on a machine, the java system command is available to executed from any system command prompt in any directory. If you check for Java on your machine by executing the java -version and it doesn't work, then the java system command may not be set up properly.
First, verify the user you are currently logged in on the machine has access to the Java install (it may have been installed by another user and your user wasn't given access).
If the user does have access to Java, you may need to explicitly point to where the java executable is located for the Agent to run it. The executable is generally located in in the bin folder where Java is installed i.e.
/usr/local/java/jre1.8.0_181/bin/java (Linux)
C:\Program Files\Java\jre1.8.0_181\bin\java.exe (Windows)
Once you have the path of the Java executable, open up the wrapper.conf configuration file located in the Agent's conf directory and update the wrapper.java.command configuration near the top of the file to point to the path.
That is, change it from:
wrapper.java.command=java
To this (using the Linux path example above):
wrapper.java.command=/usr/local/java/jre1.8.0_181/bin/java
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: