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

Accepted Answer
1 vote

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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

490 views 0 9
Read article

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