It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

confluence service will not start after install

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

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
GuiVianaBR Atlassian Team Jul 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,

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

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

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

4,023 views 15 38
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you