Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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 up the Elasticsearch service with a dedicated user

I installed Bitbucket Server v7.17.4 and its bundled ElasticSearch on a Windows Server.  I have created the Windows Services "BITBUCKET" and "BITBUCKET_SEARCH" for them and set them Log On as a dedicated user account.  This user account has been set as a member of the Performance Monitor Users group by following the description in  This user account has "Full Control" on the Bitbucket Server install directory and home directory.


I can start up the service "BITBUCKET" but not "BITBUCKET_SEARCH".  In the System Event Logs, I got this error event:

Log Name: System
Source: Service Control Manager
Date: 7/01/2022 12:55:57 PM
Event ID: 7024
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: myserver.mydomain.local
The Atlassian Bitbucket Elasticsearch 7.10.2 (BITBUCKET_SEARCH) service terminated with the following service-specific error:
Incorrect function.


If I change the "BITBUCKET_SEARCH" service "Log on as" to "Local System account", instead of my dedicated user account, it can be started up successfully and working fine with Bitbucket.


I have been experiencing this problem in previous versions of Bitbucket.  How to resolve this problem and run "BITBUCKET_SEARCH" service with a dedicated user?

0 answers

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

209 views 2 5
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