How to safely restart Bamboo Service using command prompt from windows machine ?

poovaraj September 2, 2017

I have installed Bamboo and Bitbucket in Windows machine and I have integrated both tool. I didn't install bamboo windows service in my system. I want to restart bamboo service using command prompt. Can you tell me how to restart bamboo service using command prompt and what is the startup parameter required ? 

2 answers

0 votes
Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017

Open services.msc and find the name of your bamboo service.

In our lab the name of the bamboo service is bamboo 

poovaraj September 3, 2017

I didn't install bamboo windows service in my system, so it is not displayed in services.msc list.  Can you tell me how to start bamboo service without using windows service ?

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017

Either execute InstallAsService.bat to install the Bamboo service, or run:

C:\Program Files\Bamboo>StartBamboo.bat

poovaraj September 3, 2017

Option 1

Bamboo service is displayed in services.msc list after executing InstallAsService.bat file but I am unable to start bamboo service from services.msc list. it is showing below error message after starting bamboo service.

Error message :

Bamboo Service Error Message.JPG

 

Option 2 

I have executed StartBamboo.bat file from command prompt but it is showing below error message. 

Error message:

The Atlassian Bamboo Bamboo service is starting.
The Atlassian Bamboo Bamboo service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.

Press any key to continue . . .

 

 

 

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017

What does the log say? 

poovaraj September 3, 2017

How to check the log file ?

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017

It should be just where you installed bamboo. 

poovaraj September 3, 2017

I have restarted the service successfully but it is showing below error while login into bamboo.

Stack Trace:

io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalArgumentException: Unknown cipher data id 0
 at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156)
 at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116)
 at com.atlassian.bamboo.plan.cache.AbstractImmutableChain.getPlanRepositoryDefinitions(AbstractImmutableChain.java:231)
 at com.atlassian.bamboo.plan.PlanHelper.getPlanRepositoryDefinitions(PlanHelper.java:49)
 at com.atlassian.bamboo.plan.PlanHelper.getDefaultPlanRepositoryDefinition(PlanHelper.java:69)
 at com.atlassian.bamboo.plan.branch.ChainBranchUtils.getANameFromBranch(ChainBranchUtils.java:64)
Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017
poovaraj September 5, 2017

I am unable to login into bamboo tool after done below setting. It is showing "You have entered an invalid username and password. Please try again." error message

I am able to see the bamboo dashboard without login into bamboo and it is automatically triggering the job after push the code to bitbucket tool.  

Could you please let me know how to fix login issue ? 

Setting:-

https://confluence.atlassian.com/bamkb/unknown-cipher-data-id-0-when-performing-certain-actions-in-bamboo-on-windows-after-switching-bamboo-to-run-as-a-service-923437107.html?_ga=2.144353777.536993601.1504604520-1106767698.1504499190

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2017

Did you try wht is suggested under Resolution?

You`ll need to restart Bamboo after making that change.

You should also be able to start bamboo manually until you get this fixed, by executing the startup.bat file

poovaraj September 5, 2017

Yes. I have tried above option under Resolution and I have re-started the services after making the change.

Now, I am able to login in default user name and password but I am unable to login using Activity Directory credentitals.  

Earlier, I have used to login using Activity Directory credentitals. Why is not working Activity Directory credentitals after making the changes ?

How to configure bamboo and Activity Directory ?

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2017

https://confluence.atlassian.com/bamboo/integrating-bamboo-with-ldap-289277210.html

Please note that once LDAP has been enabled, reverting back to local user management is not possible.

poovaraj September 6, 2017

Thank you for the your quick reply and support 

Poovaraj

0 votes
Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2017

Have you tried:

net stop bamboo & net start bamboo

 

-Lars

poovaraj September 3, 2017

Thanks for your reply

I didn't try this command but I need more details for executing this command.

Do you want to execute this command from bamboo bin folder path or any other folder path?

Is it required Bamboo admin group access for executing this comman ? or Can I run this command from any other user ? 

Shall I close the command prompt after starting bamboo service ? Or it should be running continuously ? 

 

 

Poovaraj

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017

You can run theese commands from "anywhere" on the cmd. The cmd needs to be elevated (admin)

 

-Lars 

poovaraj September 3, 2017

Is it Windows admin access or Bamboo admin group access ?

Poovaraj

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2017

Windows admin. 

poovaraj September 3, 2017

I have tried below command but it is not working. it is showing below error message

net start bamboo

Error message from command prompt

The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events