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

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

0 vote

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,

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

 

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.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

416 views 18 9
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you