Bamboo: Permission issue starting/stopping the IIS server

Jesslee June 4, 2015

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
Answer accepted
Jesslee June 5, 2015

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

Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2015

So it was the installer who overwrote the service configuration?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events