Bamboo: Permission issue starting/stopping the IIS server

We have a permission issue starting/stopping the IIS server with Bamboo. Here's from the log file:

05-Jun-2015 09:28:30   c:\build\11141121-19496961>REM START IIS 
  05-Jun-2015 09:28:30
  05-Jun-2015 09:28:30   c:\build\11141121-19496961>sc \\DEPLOYSERVER start w3svc 
  05-Jun-2015 09:28:30   [SC] StartService: OpenService FAILED 5:
  05-Jun-2015 09:28:30
  05-Jun-2015 09:28:30   Access is denied.

 

We have a user SRV_bamboo which runs Bamboo and has admin privileges on \\DEPLOYSERVER. We confirmed the privilege is working by manually starting/stopping the IIS server on CMD.

C:\Users\SRV_bamboo>sc \\deployserver stop w3svc
SERVICE_NAME: w3svc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 3  STOP_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x1
        WAIT_HINT          : 0x4e20

C:\Users\SRV_bamboo>sc \\deployserver start w3svc
SERVICE_NAME: w3svc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x1
        WAIT_HINT          : 0x2bf20
        PID                : 1652
        FLAGS              :

 

What could have been the cause of the issue here?

 

1 answer

1 accepted

This widget could not be displayed.

We just found out the cause and solution. It seems the user configuration onto the Bamboo service was gone after updating Bamboo to a newer version.

Now it's working after adding the user account again. 

bamboo_service.jpg

So it was the installer who overwrote the service configuration?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
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