Forums

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

Confluence fails when running as a service

prelecdev October 16, 2018

Hi

 

1:

When setting Confluence up as a service and restart the server, the service cannot start up.

When I manually run startup_bundled_jre.bat it starts up ok

 

2: 
I cannot see how i can assign access to Confluence to specific users? (i share user directory with Jira). Only a subset in the beginning should have Confluence license.

 


/Jesper

 

4 answers

1 accepted

0 votes
Answer accepted
prelecdev October 17, 2018

Ok it looks like it is working now... it was the java path

 

1.PNG

JP _AC Bielefeld Leader_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

Hi,

are you using a different Java version than the one bundled with Confluence? There's no need for a separate Java installation on your server. I strongly recommend using the version the Atlassian distributes with the package installer.

Best

JP

0 votes
prelecdev October 18, 2018

Hi Jan-Peter
No but for some reason the service parameters did not point itself to the java boundled with confluence - so i cound this command where i could then point it to confluence java runtime..

Thanks for your feedback!!

/Jesper

0 votes
prelecdev October 17, 2018

In the Tomcat log i get this error:

[2018-10-17 10:37:53] [info] [ 3040] Commons Daemon procrun (1.1.0.0 64-bit) started
[2018-10-17 10:37:53] [info] [ 3040] Running 'Confluence' Service...
[2018-10-17 10:37:53] [info] [ 3168] Starting service...
[2018-10-17 10:37:53] [error] [ 3168] Failed creating Java
[2018-10-17 10:37:53] [error] [ 3168] ServiceStart returned 1
[2018-10-17 10:37:54] [info] [ 3040] Run service finished.
[2018-10-17 10:37:54] [info] [ 3040] Commons Daemon procrun finished

0 votes
JP _AC Bielefeld Leader_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2018

Hi Jepser,

can you get any information from the windows event log? Maybe the service user is missing some user rights (Log on as service).

There should be a local confluence group "confluence-users", which is configured to allow access to Confluence. Add users to this group to give them access (and a license). The admin should be added to the "confluence-administrators" group.

Best

JP

prelecdev October 17, 2018

The Confluence service is running "local-system" which also Bitbucket and Jirs does. So i cannot set the "log on as service" on a user.

 

I get this error in the event log:

The Atlassian Confluence Confluence service terminated with the following service-specific error:
Incorrect function.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events