ERROR: Failed to create a service: Status Invalid Service Account

scmuser created the topic: ERROR: Failed to create a service: Status Invalid Service Account
Hi,

I am setting up the jenkins nodes in one machine where hudson nodes and services as already setup but getting following error ..
any clue —

ERROR: Failed to create a service: Status Invalid Service Account

scmuser replied the topic: ERROR: Failed to create a service: Status Invalid Service Account
Solution which i found is –

If you upgrade jenkins to latest versions, again ssh commands through windows will hang for the same reason mentioned above.
The fix is not to run Jenkins service as ‘Local user’. Now you can configure it through jenkins node configuration page.
Login to jenkins -> Manage Jenkins -> Manage Nodes -> Click on your node -> configure -> Run service as -> select ‘Log on using a different account’ ->
For ex:
User name: .\Administrator
pasword: ********

Note: .\ in user name is must , otherwise it fails with
ERROR: Failed to create a service: Status Invalid Service Account

Tags:
  • Rajat Pratap Singh

    Thanks a lot this worked for me.

© Tutorials
CyberChimps