Bamboo service does not start (error code 1)

Our Bamboo installation has been running fine for 6 months and today it just stopped working for no apparent reason. We have not made any changes recently. When we try to start the Bamboo service, it refuses to start and returns the following message "Windows could not start the Atlassian Bamboo Bamboo on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 1". The Windows Event log message is "The Atlassian Bamboo Bamboo service terminated with service-specific error Incorrect function."

1 answer

0 vote

Hi Benoit,

  • What do the Bamboo logs show happened before this occurred?
  • What do the Windows logs show you around the time this first occurred?

At this point I would remove the service and re-create it using the instructions in Running Bamboo as a Windows Service: 

Be sure to note:

 

  • If you run Bamboo as a Windows service, make sure that the user has 'Full Control' access to the following directories:
    • In version 5.1 or later:
      • <Bamboo_install_directory>/temp
    • In version 5.15 or later:
      • <Bamboo_install_directory>/temp
      • <Bamboo_home_directory>/xml-data/configuration/cipher

To re-reate the Service:

  1. Click on the Start menu in Windows,
  2. Select Bamboo from the programs list,
  3. Click on Install Service option to install Bamboo as a service in Windows.
  4. Click Start Service to start the service.

 

Let me know if that works.

Cheers,

Branden

Thank you Branden,

I think we had a power outage in our lab last night. Could this have caused Bamboo to be corrupted? I will try to re-install the service.

Hi Branden,

By the way, re-installing the service has not fixed my problem that time, so I ended up reloading a previous image of that PC. Last night the same PC got corrupted again with the same error. Is that a known recurring problem? Has it been fixed in more recent Bamboo versions? It is obviously not a viable solution for us to reload an image of our build server every time it corrupts itself. Are there some configurations we should check to make sure it doesn't get corrupted? If Bamboo keeps on corrupting itself, we may have to look at other solutions. Thanks.

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,682 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