Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to start bitbucket server Edited

When I installed Bitbucket server, I set the home directory in /backup/ as that has my large spinning hard disk as the primary drive is not big enough, here is the error I am getting when trying to start

[root@titan bin]# ./
Starting Atlassian Bitbucket as dedicated user atlbitbucket
runuser: warning: cannot change directory to /backup/atlassian/bitbucket: Permission denied
-bash: /backup/atlassian/bitbucket/.bash_profile: Permission denied

Copying Elasticsearch configuration to /backup/bitbucket/shared/search
mkdir: cannot create directory ‘/backup’: Permission denied
mv: failed to access ‘/backup/bitbucket/shared/search/elasticsearch.yml.bak_version2’: Permission denied
mv: failed to access ‘/backup/bitbucket/shared/search/logging.yml.bak_version2’: Permission denied
cp: failed to access ‘/backup/bitbucket/shared/search’: Permission denied
cp: failed to access ‘/backup/bitbucket/shared/search’: Permission denied
cp: failed to access ‘/backup/bitbucket/shared/search’: Permission denied

Setting Elasticsearch configuration to version 2
/opt/atlassian/bitbucket/5.11.1/bin/ line 37: /backup/bitbucket/shared/search/.version: Permission denied

Starting bundled Elasticsearch
        Hint: Run --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

The current open files limit is set to less than 4096
Attempting to increase limit...
        Limit increased to 4096 open files
mkdir: cannot create directory ‘/backup’: Permission denied
/backup/bitbucket/log could not be created. Permissions issue?
The Bitbucket webapp was not started
[root@titan bin]# 2018-07-07 12:57:15,748 main ERROR Could not register mbeans access denied ("" "register")
        at java.lang.SecurityManager.checkPermission(
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(
        at org.apache.logging.log4j.core.jmx.Server.register(
        at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(
        at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(
        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(
        at org.apache.logging.log4j.core.LoggerContext.start(
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(
        at org.apache.logging.log4j.core.config.Configurator.initialize(
        at org.apache.logging.log4j.core.config.Configurator.initialize(
        at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(
        at org.elasticsearch.common.logging.LogConfigurator.configureWithoutConfig(
        at org.elasticsearch.cli.Command.main(
        at org.elasticsearch.bootstrap.Elasticsearch.main(
        at org.elasticsearch.bootstrap.Elasticsearch.main(

Exception in thread "main" java.lang.IllegalStateException: status logger logged an error before logging was configured
        at org.elasticsearch.common.logging.LogConfigurator.checkErrorListener(
        at org.elasticsearch.common.logging.LogConfigurator.configure(
        at org.elasticsearch.bootstrap.Bootstrap.init(
        at org.elasticsearch.bootstrap.Elasticsearch.init(
        at org.elasticsearch.bootstrap.Elasticsearch.execute(
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
        at org.elasticsearch.cli.Command.main(
        at org.elasticsearch.bootstrap.Elasticsearch.main(
        at org.elasticsearch.bootstrap.Elasticsearch.main(
Refer to the log for complete error details.

 even though the permissions for the folder is correct,

[root@titan backup]# ls -l
total 0
drwxrwxrwx 3 atlbitbucket atlbitbucket 20 Jul  7 12:52 bitbucket

 EDIT: I have checked and the /dev/sda1(backup) folder is correctly mounted.



Log in or Sign up to comment
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

651 views 7 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you