I updated the TCP port of the application.
I want to restart the application (on Linux Debian 9)
When I do /etc/init.d/jira stop or with start-jira.sh
I got :
cat: /opt/atlassian/jira/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.
I run this command under root user (I also tried on jira user)
Edit : now, I don't know why jira is not working anymore (whatever the used port), so got this error now :
Existing PID file found during start.
Unable to read PID file. Start aborted.
Ok found the problem ..
just have to delete /opt/atlassian/jira/work/catalina.pid
I think this is because the PID is not matching with the PID stored in catalina.pid file.
I would suggest, check the processID using ps command and overwrite the PID in /opt/atlassian/jira/work/catalina.pid with the running processID.
and then restart jira with correct user
ps -ef | grep jira
$ echo "jira_pid" > /opt/atlassian/jira/work/catalina.pid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is usually down to users. The most common culprit is when someone logs in as root, and (re)starts Jira under that account rather than the jira account. This clobbers a load of the installation and working files, including the pid file. With root taking ownership of them, when you try to stop/start Jira as another user, it fails, because root owns files and the permissions are set to "owner only".
You need to log in as root, shut down Jira, check it has stopped in full with "ps", then "chown -R <jira user who should run it>" the installation and jira home directories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did it but now got this error when I log to the webpage :
"
Ensure JIRA has permission to create and write to the jira.home directory /var/atlassian/application-data/jira
.
Review our documentation for more information on setting your JIRA home.
"
My ls gives :
drwx-w--w- 11 jira root 12K Oct 3 17:28 jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.