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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,755 views 1 5
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