Forums

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

Linux CentOs 6.5 jira1 user cannot shutdown the service

Shirley Shorter June 17, 2019

cat: /var/opt/atlassian/jirainstall/atlassian-jira-software-8.2.0-standalone/work/catalina.pid: Permission denied
PID file found but either no matching process was found or the current user does not have permission to stop the process. Stop aborted.

background: I installed Jira (second time around) and default service.xml took me to the http version - but I need SSL and remote sign-on for my users. I have edited service.xml to look at https and have also changed database entry for https:<myserver.com>:8080/jira  --I have not been able to call up this URL on the web (404 not found). My main problem right now is my install Id is now jira1 on linux and in order to shut down the jira service linux asks for a password - but I had no part in installing this jira1 user so I need to find out how to get permission to shut down the service on linux so I can change the jira1 to jira using instructions at https://confluence.atlassian.com/jirakb/how-to-set-the-user-jira-to-run-in-linux-433390559.html

1 answer

0 votes
brbojorque
Community Champion
June 17, 2019

Hi @Shirley Shorter ,

Try to delete the PID file and restart the service again.

service jira restart

Do it in root account.

brbojorque
Community Champion
June 17, 2019

The reason why jira1 exists because the installer creates a user for Jira when it ran.

It also checks if there is an existing user for jira if it exists then it will create jira1 user instead.

You have to uninstall Jira using the script. 

<install directory>/uninstall.sh

Delete the user jira

userdel jira

Delete the service script

rm /etc/init.d/jira

Re-run the installer again.

./<jira installer>

Suggest an answer

Log in or Sign up to answer