unable to stop confluence server ( ./stop-confluence.sh fails )

Ndofunsu April 28, 2021

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
Thiago Masutti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 28, 2021

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

Ndofunsu June 30, 2021

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
AUG Leaders

Atlassian Community Events