Confluence start cannot find setclasspath.sh

I have just installed Confluence 4.3.7 using atlassian-confluence-4.3.7-x64.bin. My server is Debian 64 bit. I also have Jira 5.2 installed on my server running on port 8080. I used the wizard and root account to install Confluence. I used the custom option and gave the correct path for base and data of confluence. I accepted the default port numbers of 8090 and 8000 during the installation. The installation finished successfully with no errors and all files and folders have been created. However, when I try to start confluence by running bin/start-confluence.sh I get the following error message:

cd: 114: can't cd to bin/..

Cannot find /var/www/vhosts/XXXXXXX.com/kb/kb/bin/setclasspath.sh

This file is needed to run this program

I have tried the installation twice, but no joy. I cannot even find any reference to this anywhere. Could something be conflicting with Jira here? No log files are created either. Any ideas would be great.

I look forward to your reply.

Regards

Nima

2 answers

1 accepted

0 votes
Accepted answer

Hi

The problem got resolved with Atlassian's suppor team. The problem was with permission level at the root of the hosting folder. My Confluence is hosted in /var/vhosts/www/example.com/kb/kb.

Although my second kb folder and subfolders where the files are had all the permissions they needed. The main (first) kb folder (which is my subdomain) did not have the right permissions.

Great support from Atlassian

Hello Nima,

This file should be in the following location.

<confluence_install>/bin

The path you are stating above looks like you are looking to run Confluence from a virtual host. Are you starting Confluence as a service? What happens if you start the service manually? Do you seeing the same kind of errors?

Hi

The problem got resolved with Atlassian's suppor team. The problem was with permission level at the root of the hosting folder. My Confluence is hosted in /var/vhosts/www/example.com/kb/kb.

Although my second kb folder and subfolders where the files are had all the permissions they needed. The main (first) kb folder (which is my subdomain) did not have the right permissions.

Great support from Atlassian

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,554 views 25 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you