confluence service will not start after install

Tushar M July 22, 2015

start_service.bat runs the below command and we get the below result. Can you help?

PS C:\Program Files\Atlassian\Confluence> net start Confluence200715163754 The service name is invalid.

More help is available by typing NET HELPMSG 2185.

 

Attempting to open http://localhost:8090/ on the local machine results in

"This Page Cannot be displayed"

 

Thanks

 

4 answers

2 votes
JD Sal
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!
August 11, 2015

I had same exact issue and Marcus's solution helped.  However mine problem was I had jdk and jre installed but pointed to the incorrect location.

In your environment variables, ensure JAVA_HOME and JRE_HOME are set correctly.  My JAVA_HOME was set to "C:\Program Files\Java\jre1.8.0_51" but it should really be "C:\Program Files\Java\jdk1.8.0_51"

Once you get all the java variables fixed, simply run "C:\Program Files\Atlassian\Confluence>service.bat install" to install the windows service then start the service.

1 vote
Marcus
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!
August 7, 2015

Have you installed the JDK? I was having the same issue on Windows Server 2008 R2 and this solved it:

https://confluence.atlassian.com/display/DOC/Installing+Java+for+Confluence

 

1 vote
Tushar M July 23, 2015

Hi Guilherme,

 

none of the above is correct.

 

We installed using atlassian-confluence-5.7.3-x64.exe

We took the defaults which included installing confluence as a service

At the end of the process we saw this:

 

                       

 

When the browser launched we saw this

 

 

 

 

After that I checked the service. I ran the shortcut installed on the Start screen

 

 

 

I tried the localhost:8090 again and got the same result as above.

I checked the properties of the Start Confluence Service [8090] shortcut.

That shortcut referred me to

C:\Program Files\Atlassian\Confluence\ start_service.bat

 

That batch file produced the output

 

PS C:\Program Files\Atlassian\Confluence> .\start_service.bat

The service name is invalid.

 

More help is available by typing NET HELPMSG 2185.

 

PS C:\Program Files\Atlassian\Confluence>

 

I opened start_service.bat and found the command

 

if "%OS%" == "Windows_NT" setlocal

rem ---------------------------------------------------------------------------

rem Start script for the Confluence Service

rem

 

net start Confluence200715163754

 

I ran the net start command and got 

 

The service name is invalid.

 

More help is available by typing NET HELPMSG 2185.

 

 

I uninstalled and reinstalled confluence and got exactly the same result the second time.

 

Is there something wrong with atlassian-confluence-5.7.3-x64.exe?

 

thanks

 

kent dannehl

1 vote
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2015

Hi Tushar,

It looks like you have installed the service with another name.

I guess you have executed the following prompt command:

 

  • service.bat install Confluence

 If you have used this parameter, your service name is Confluence and not Confluence200715163754.

Let me share our documentation about how to install Confluence as a service.

Cheers,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events