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
Answer accepted

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 Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

270 views 0 12
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