Create
cancel
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 stop confluence server ( ./stop-confluence.sh fails )

Hi,

On linux server and confluence version 7.9.3

As dedicated user or root user , it is unable to stop confluence using the usual script stop-confluence.sh

./stop-confluence.sh fails and displays :

cat: /opt/atlassian/confluence/work/catalina.pid: Permission non accordée
PID file found but either no matching process was found or the current user does not have permission to stop the process. Stop aborted.

ps -ef | grep confluence shows  2 processes

xxxxx .......... 2-17:14:52 /opt/atlassian/confluence/jre//bin/java -Djava.util.logging.config.file=.............

yyyyy .......... /opt/atlassian/atlassian-confluence-7.9.3/jre/bin/java -classpath /opt/atlassian/confluence/temp/4.0.0-master-85ceb9cf.jar:/opt/atlassian/atlassian-confluence-7.9.3/confluence/WEB-INF/lib/postgresql-42.2.16.jar -Xss2048k -Xmx1g synchrony.core sql

Can I have some help please.

Best regards

Roger Ndofunsu

1 answer

0 votes

Hi Roger.

Could you please share the full output of the following commands?

ls -la /opt/atlassian/confluence/work/catalina.pid
cat /opt/atlassian/confluence/work/catalina.pid
ps -ef | grep -i java

 

It might be a problem with a mismatch of the OS user running the process, owning the pid file and running the command.

Kind regards,
Thiago Masutti

Hi Thiago,

Sorry about this late indication!

In my case, the solution was to kill the 2 java processes related to confluence  ( #kill <confluence process>)  and then it was possible to start confluence normally.

Thanks for your help.

Best regards

Roger

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,188 views 30 134
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