BitBucket does not launch when installed in the same Server as Jira

When I try to run the Bitbucket launcher I get following error:

 

Exception in thread "main" BindHttpException[Failed to bind to [7992]]; nested: ChannelException[Failed to bind to: /0:0:0:0:0:0:0:1%lo:7992]; nested: BindException[Address already in use];

Likely root cause: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:433)

at sun.nio.ch.Net.bind(Net.java:425)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)

at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)

at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)

at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)

at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)

at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Refer to the log for complete error details.

2 answers

1 accepted

1 vote
Gonchik Tsymzhitov Community Champion Oct 05, 2017

Hi! 

1. 

"ChannelException[Failed to bind to: /0:0:0:0:0:0:0:1%lo:7992]; nested: BindException[Address already in use];" 

 

just check which soft used this port. for check you can use like this command: 

netstat -anpt | grep 7992

 

2. review your bitbucket.properties

If you need to change ports just use this doc

https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html

 

 

Cheers, 

Gonchik Tsymzhitov

My system is:
CentOS 7 x64, 9GB RAM, 200GB hard disk.
Jira Software 7.5 x64.
I tried installing Bitbucket 5.4 but unable to make it run while Jira Software is running.

Any advice?

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

187 views 1 17
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