Canot run stash on virtual server

I have a virtual server installed with kvm (virsh) on CentOS7 but does not start.


First run says"Required plugin com.atlassian.stash.ssh-plugin has failed to start", and found a solution here:


I installed "haveged" using yum install, now reboot the machine but bbitbucket doesnot start, the port is opened, can connect from netcat using nc -v localhost 7990 but the server does not response, test with firefox, netcat, links but does not respond.


What happens?


The log says "canot connect to port 8006", this port is closed, what happen?


1 answer

1 accepted

0 votes
Accepted answer

A solution found:

  1. Edit <Bitbucket_Installation_Directory>/bin/
  2. Find and replace: JVM_SUPPORT_RECOMMENDED_ARGS=""
  3. Reboot service "service atlbitbucket restart"

The problem is same as Google Compute Engine, booth using virtual instances.

It is a bug of installation script? not detect when the server is a dedicated o virtual instance for these changes.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

430 views 6 9
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