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

1 vote
Accepted answer

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
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

261 views 4 1
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