Installation permissions

Fresh installation on RHEL 6.7 produces this error.

 

# /home/atlbitbucket/atlassian-bitbucket-4.8.1-x64.bin

Starting Installer ...

 

This will install Bitbucket 4.8.1 on your computer.

OK [o, Enter], Cancel [c]

o

Please choose one of the following:

Install a new instance [1, Enter], Upgrade an existing instance [2]

1

Install a new Bitbucket, Data Center or mirror instance.

Upgrade an existing Bitbucket, Data Center or mirror instance.

Install Bitbucket 4.8.1

Please choose one of the following:

Install a standard instance [1, Enter], Install a Data Center instance [2], Install a mirror instance [3]

1

Where should Bitbucket be installed?

 

[/opt/atlassian/bitbucket/4.8.1]

 

Default location for Bitbucket home directory

 

The location for Bitbucket data.

This will be the default location for repositories, plugins, and other data.

 

Ensure that this location is not used by another Bitbucket installation.

[/var/atlassian/application-data/bitbucket]

 

Configure which ports Bitbucket will use.

 

 

Bitbucket requires two TCP ports that aren't being used by other

applications.

 

The HTTP port is where users access Bitbucket through their browsers. The

control port is used to start and stop Bitbucket.

 

Bitbucket also requires ports 7992 and 7993 are available to run an embedded

Elasticsearch instance that provides search functionality to Bitbucket.

HTTP Port Number

[7990]

 

Control Port Number

[8006]

 

 

 

For a production server we recommend that you run Bitbucket as a

Windows/Linux service because Bitbucket will restart automatically when the

computer restarts.

Install Bitbucket as a service?

Yes [y, Enter], No [n]

y

It looks like a Bitbucket service is already installed in the target environment.

The installation will replace any existing services. Do you want to continue?

Yes [y, Enter], No [n]

y

Please review your Bitbucket installation settings

 

 

Installation Directory: /opt/atlassian/bitbucket/4.8.1

Home Directory: /var/atlassian/application-data/bitbucket

HTTP Port: 7990

Control Port: 8006

Install as a service: Yes

 

Install [i, Enter], Exit [e]

i

 

Extracting files ...

                                                                           

Installation of Bitbucket is complete

Would you like to launch Bitbucket?

Yes [y, Enter], No [n]

y

 

Please wait a few moments while Bitbucket starts up.

Launching Bitbucket ...

Installation of Bitbucket 4.8.1 is complete

 

 

 

 

# /etc/init.d/atlbitbucket start

To run Bitbucket in the foreground, start the server with start-bitbucket.sh -fg

Starting Atlassian Bitbucket as dedicated user atlbitbucket

 

-bash: line 0: cd: /opt/atlassian/bitbucket/4.8.1/bin: Permission denied

-bash: ./startup.sh: No such file or directory

 

There was a problem starting Bitbucket

 

#service atlbitbucket start

To run Bitbucket in the foreground, start the server with start-bitbucket.sh -fg

Starting Atlassian Bitbucket as dedicated user atlbitbucket

 

-bash: line 0: cd: /opt/atlassian/bitbucket/4.8.1/bin: Permission denied

-bash: ./startup.sh: No such file or directory

 

There was a problem starting Bitbucket

 

 

1 answer

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...

22,769 views 26 12
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