I've tried a few ways to start/stop jira and neither are working. For starters, here's my UD script that initially installs and starts Jira
executing using dedicated user
`sMMMMMMMMMMMMMM+
MMMMMMMMMMMMMM
:sdMMMMMMMMMMM
MMMMMM
`sMMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sMMMMMMMMMMM MMMMM
MMMMMM `UOJ
`sMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sdMMMMMMMMMM MMMMM
MMMMMM `UOJ
MMMMMM
+MMMMM
MMMMM
`UOJ
Atlassian Jira
Version : 8.19.1
If you encounter issues starting or stopping Jira, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-0819/Troubleshooting+installation
Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira
Using CATALINA_HOME: /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME: /opt/atlassian/jira/jre/
Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid
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.
2. I tried to switch user to Jira and run the same command, but now it's asking me for a password?
[sudo] password for jira:
I don't have a password set, so I tried no password and it didn't work.
3. I tried the standard systemctl stop jira and got:
Failed to start jira.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
What else can I do to get Jira to stop/start from the terminal?
Both can be done, but I would recommend to keep it as simple as possible. If you feel that you don't need to have an internal apache as well, I would leave it out. I also recommend reading the instructions: https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.