The Atlassian Confluence confluence service failed to start

serge calderara
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.
November 12, 2023

Dear all,

As a test I have installed on my Windows 10 PRO 64 bits confluence Datacenter and install it using the windows installer.

All is working fine when I start it manually using the default shortcut provide by the installation or by running manually the command start-confluence.bat

Next step I have install it as a service by using the command service.bat install confluence

The service gets installed correctly with default Logon set as Network Service account
If I start the service as it is , it does not start and get Access denied error

Ok then when I have done is as follow :

  1. I add Network Service account to to proper atlassian folders
  2. Then I start the service

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

When I check the deamon log I get the following entries

[2023-11-12 19:07:11] [info] [18188] Starting service...
[2023-11-12 19:07:11] [error] [18188] No JVM configured or found in registry. Unable to start service.
[2023-11-12 19:07:11] [error] [18188] The system could not find the environment option that was entered.
[2023-11-12 19:07:11] [error] [18188] Failed to load JVM DLL '(null)', home '(null)'.
[2023-11-12 19:07:11] [error] [18188] The system could not find the environment option that was entered.
[2023-11-12 19:07:11] [error] [18188] Failed creating Java '(null)'.
[2023-11-12 19:07:11] [error] [18188] The system could not find the environment option that was entered.
[2023-11-12 19:07:11] [error] [18188] ServiceStart returned 1.
[2023-11-12 19:07:11] [error] [18188] The system could not find the environment option that was entered.
[2023-11-12 19:07:11] [info] [ 2736] Run service finished.
[2023-11-12 19:07:11] [info] [ 2736] Apache Commons Daemon procrun finished.

 

I have the SYSTEM ENVIRONENT variable JRE_HOME set to:
"C:\Program Files\Atlassian\Confluence\jre"


What is going on and going wrong here ?

Regards

1 answer

1 accepted

2 votes
Answer accepted
Sanjen Bariki
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.
November 12, 2023

Hi @serge calderara ,

 

Are you running it in your localhost....?

Is it your prod or test environment..?

 

Regards,

Sanjen

Sanjen Bariki
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.
November 12, 2023

Hi @serge calderara ,

 

Please find the below link to resolve your issue.

Hope the mentioned document will help you a lot.

Please accept the answer if it helps you.

 

Regards,

Sanjen

serge calderara
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.
November 12, 2023

hello @Sanjen Bariki , it works now with default install, I was using custom install but for some reason something is not set correctly in custom install

I have this library under
C:\Program Files\Atlassian\Confluence861\jre\bin\server

I do not know why the custom install did not find this library, any idea ?

 

Now my goal is as below :

Install a new Confluence8.6.1 in a new folder
The application home folder will be Confluence8.6.1
Then I do not start the application otherwise there will be some collapse with existing running one

What I need to do :

be able to run the Confluence861 application while the current one still active. This to validate the new application configuration

Then when Confluence8.6.1is validated and working, the idea is to stop service of current confluence and start service of new install Confluence8.6.1

Then uninstall old confluence

How can I do safely those installation steps :

1- can I use a different service name ?
2- should I use different port ?

Thanks for details which help us better handling side by side control for upgrade operation

regards

Sanjen Bariki
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.
November 12, 2023

Hi @serge calderara ,

 

yes, you can install new confluence and install in a custom field. While you are installing new confluence then make sure the old service is stopped then install new one and start the both server from the folder then it will start in a differrent. In the new confluence change the port 8080 to 8070 and folder and don't make it to start from the service

it works now with default install

Confluence always suggest to install in the default folder So If you are installing in the custom folder then create that folder in the default drive side.

 

Regards,

Sanjen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events