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

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
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
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,576 views 0 6
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