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
Hi @Craig Warner
you should create dedicated user for your Bitbucket
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-home-directory-776640890.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.