Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Redhat 7 can't complete the install of Bitbucket Server

Eric Seibert April 3, 2018

I'm trying to install bitbucket 5.9.0 on RHEL 7.4. I have completed all the preinstalls, all the system requirements are met and the installation completes. Once I start the atlbitbucket I try to get to the log web page http://servername:7990 but I can't connect. 

if I check the ports with netstat it shows 7990 is listening, but if  I look at the ports running on localhost 7990 never shows up.

In all cases, it appears to be running and listening but the port is not binding or exposing

[/opt/atlassian/bitbucket]:> /etc/init.d/atlbitbucket start --no-search
Starting Atlassian Bitbucket as dedicated user atlbitbucket

Starting bundled Elasticsearch
Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch
Bundled Elasticsearch started successfully

Bitbucket is being run with a umask that contains potentially unsafe settings.
The following issues were found with the mask "u=rwx,g=rwx,o=rx" (0002):
- Access is allowed to 'others'. It is recommended that 'others' be denied
all access for security reasons.
- Write access is allowed to 'group'. It is recommend that 'group' be
denied write access. Read access to a restricted group is recommended
to allow access to the logs.
The recommended umask for Bitbucket is "u=,g=w,o=rwx" (0027) and can be
configured in _start-webapp.sh

The current open files limit is set to less than 4096
Attempting to increase limit...
Limit increased to 4096 open files

Starting Bitbucket webapp at http://localhost:7990
The Bitbucket webapp has been started.

If you cannot access Bitbucket within 3 minutes, or encounter other issues, check the troubleshooting guide at:
https://confluence.atlassian.com/display/BitbucketServerKB/Troubleshooting+Installation
[/opt/atlassian/bitbucket]:> /etc/init.d/atlbitbucket status
Bitbucket is running

[/opt/atlassian/bitbucket]:> netstat -an | grep 7990
tcp6 0 0 :::7990 :::* LISTEN

but if I scan the ports its not there. 

I'm aren't running ip-tables, firewalld or SELinux ( currently a dev box )

I've looked at the logs and no logs are being generated.

What the heck am I missing?

1 answer

0 votes
Dave Chevell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 3, 2018

How are you scanning the ports - from inside the instance or outside?

See what happens if you try to hit it locally via curl:

curl -v http://localhost:7990

If you get a failure from this, it says there's something going on with Bitbucket itself - but if it works then your host machine/VM isn't connectible from the place you're trying to connect to it from.

Eric Seibert April 5, 2018

its definitely something in between, curl gets me to the install 

 

curl -l -I http://localhost:7990
HTTP/1.1 302
X-AREQUESTID: @MH1EWWx882x2x0
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
Location: http://localhost:7990/setup
Transfer-Encoding: chunked
Date: Thu, 05 Apr 2018 18:42:10 GMT


I guess its gotta be a firewall 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events