Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to start Synchrony service

Balakrishna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2017

Not able to start synchrony service on confluence datacenter nodes. I have configured all the variables in start-confluence.sh script. 

It is returning below error when I try: ./start-synchrony.sh -fg

Error: Could not find or load main class synchrony.core

and 

when I try ./start-synchrony.sh, it returns the URL and PID. but when checked with ps -ef | grep <PID>. That PID does'nt exists. There are no logs available for this to verify. I'm using Confluence Datacenter 6.5 

Appreciate if someone has a solution for this issue. 

 

Regards,

Bala

5 answers

1 vote
Brenton Fairless
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2018

Just posting the answer here for anyone else, as I had this issue for a solid month and it was just resolved. I also used the Quick Start on AWS.

After a lot of back and forth with Atlassian Support, it appears my issue with a combination of server IP variable and the joining via. AWS tags.

To resolve the issue, I first changed the server IP to be that of my instance's local IP. I then implemented a new AWS tag (synchrony=true), and used that for the cluster joining parameters. One thing I also did (but I am not sure if it would help), was I installed Oracle's JRE vs. OpenJDK.

 

I hope this helps anyone who may stumble across.

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2018

Thank you so much for letting the Community know what worked for you, Brenton. 

If OpenJDK was not an issue during your support case it would probably turn into an issue later down the road as OpenJDK is not a supported platform for Confluence:

Confluence will not work with OpenJDK. If you're installing Java yourself, you must use Oracle Java. 

0 votes
Kiran Panduga {Appfire}
Community Champion
June 5, 2018

Hi All, 

Setting up the Synchrony on node1 of Data Center and when execute the start-synchrony.sh, receive the below error message

 

Error: Could not find or load main class 

bash: line 1: -Dsynchrony.context.path=/synchrony: No such file or directory

[2018-06-05 09:07:54] Started Synchrony service with PID:

 

The required variables are configured properly, but still receive the error.

DATABASE_DRIVER_PATH="/opt/atlassian/apps/synchrony/mysql-connector-java-5.1.33.jar"

SYNCHRONY_CLASSPATH="/opt/atlassian/apps/synchrony/synchrony-standalone.jar"

SYNCHRONY_CONTEXT_PATH="/synchrony"

Any inputs will be helpful. 

 

Thanks,

Kiran

 

0 votes
Evgeny Grishchenko March 27, 2018

Hi All,

When configuring synchrony, you need to indicate 2 variables: DATABASE_DRIVER_PATH and SYNCHRONY_JAR_PATH.  

They must indicate to the location of the corresponding JAR files.

 

For example:

DATABASE_DRIVER_PATH="/opt/atlassian/synchrony/postgresql-42.1.1.jar"

SYNCHRONY_JAR_PATH="/opt/atlassian/synchrony/synchrony-standalone.jar"

Brenton Fairless
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2018

I have these variables set, and I still receive the same error.

Do you have any other suggestions?

sarath sasi May 7, 2018

It might be the problem with the synchrony startup script.Go through each parameters path in the script such as java path,ports,db urls and see .One problem with synchrony is that you may not even get the related error.

0 votes
jcavet
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 25, 2018

Any ideas? Same as both of you utilizing the AWS Quick Start templates.

0 votes
Michael Slattery December 11, 2017

Sorry, I don't have an answer, but I did want to say I'm experiencing the exact same issue with Confluence Data Center installed via the Atlassian Quick Start for AWS.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events