Forums

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

Connection attempt failed for Elasticsearch

Rohit Dalvi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2021

I created this BitBucket server and when started it does show that the elasticsearch started, see below logs,

Starting Atlassian Bitbucket as the current user

Starting bundled Elasticsearch

Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch

Bundled Elasticsearch started successfully

 

The output shows that the elasticsearch started when bitbucket service was started.

 

But I am not able to test the connection. Even when I do (ps -ef | grep bitbucket ) I do not see any service running for elasticsearch. 

Screen Shot 2021-10-21 at 3.40.18 PM.png

1 answer

1 accepted

0 votes
Answer accepted
Rohit Dalvi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2021

The issue was, I was  starting the server with  root user, for some reason the root user prevents the starting on elastic cache. I switched to the recommended user and the elastic search service started on its  own.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events