The Tomcat connector configured to listen on port 7990 failed to start.

Bitbucket was running fine under version 4.8.3, I ran the update to 5.5.2 and now I can't start bitbucket. 

 

------------------------------------------

[root@base log]# tail atlassian-bitbucket.log

Description:

The Tomcat connector configured to listen on port 7990 failed to start. The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's listening on port 7990, or configure this application to listen on another port.

2017-11-29 16:26:58,179 INFO  [main]  c.a.b.i.boot.log.BuildInfoLogger Bitbucket 5.5.2 has shut down

-------------------------------------------------

When I run netstat -ao (centos) the only entry I have for 7990 is

tcp        0      0 *:7990                      *:*                         LISTEN      off (0.00/0/0)

I restarted the server and made sure the old bitbucket was stopped.  Please help, this was working perfectly before the update.

 

1 answer

0 vote

Hi Justin,

Can you clarify whether the output from netstat is while Bitbucket is running or not? If it's from when you think Bitbucket is not running, then something is keeping port 7990 open, preventing Bitbucket Server from starting.

Cheers,

Christian

Premier Support Engineer

Atlassian

Ok, I misunderstood the output of netstat.  The output of netstat is when bitbucket is not running.  The only thing that uses that port is bitbucket so it must be the old version (4.8.3).  However I ran ./stop-bitbucket for both versions and I checked and the /etc/init.d/atlbitbucket is for the new version.  Any idea how it is running/why it is using the port still?

 

Thanks.

Hi Justin,

What may be happening is that the java process doesn't end properly, so you may need to kill it forcefully (using kill -9 <pid>, where <pid> is the process ID of the java process).

Once the process is gone, check again with netstat to ensure the port is no longer taken and then try to start Bitbucket Server.

Cheers,

Christian

Premier Support Engineer

Atlassian

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

135 views 17 6
Join discussion

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