Forums

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

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 Champions.
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

0 votes
Answer accepted
Ste Wright
Community Champion
March 9, 2020

Hi @Paul Herzing

I tested this on our Cloud instance - it does show the last 50 issues you viewed (aside the one you're editing if it's part of the list) - just not in the recently viewed order.

The search query it's using is: 

issuekey in issueHistory() 

Were it to put it in the right order, it'd need to use:

issuekey in issueHistory() ORDER BY lastViewed DESC

On Server it appears the latter query is what is used - see this page - but not on Cloud, where the former is used.

Ste

Paul Herzing
March 9, 2020

Interesting. I hadn't noticed that the list had any logic to it, but I think you've got it right. The list makes more sense in reverse order. Unfortunately, this doesn't appear to be something I can change as an administrator of a cloud environment, and getting to the bottom of the list is more work than searching. Is there a correct way to submit a feature request to Atlassian?

Ste Wright
Community Champion
March 9, 2020

Hi @Paul Herzing 

Create feature suggestions via https://jira.atlassian.com/secure/Dashboard.jspa

It's best to search for similar ideas / bugs first - for example I found JRACLOUD-70263, JRACLOUD-33713 and JRACLOUD-18601 which might be of interest :)

Ste

Paul Herzing
March 9, 2020

Wow. I'm late to this party. I should have checked open bugs first. Thanks!

Like Ste Wright likes this
Ste Wright
Community Champion
March 9, 2020

No problem :) - if you found the answer you were looking for here, could you press the "Accept Answer" button at the top? This lets other users know who come across this question via search!

Ste

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events