I gave the stop command "systemctl stop jira "and after about 40 seconds I started" systemctl start jira " without checking that the process was completed.
Now jira does not start at all. Please help me solve the problem
[root@jira ~]# systemctl status jira.service
● jira.service - (null)
Loaded: loaded (/etc/rc.d/init.d/jira; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2021-08-23 22:40:36 MSK; 24s ago
Docs: man:systemd-sysv-generator(8)
Process: 948 ExecStart=/etc/rc.d/init.d/jira start (code=exited, status=1/FAILURE)
Aug 23 22:40:36 jira.aplanadc.ru jira[948]: Atlassian Jira
Aug 23 22:40:36 jira.aplanadc.ru jira[948]: Version : 8.4.0
Aug 23 22:40:36 jira.aplanadc.ru jira[948]: If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassi...stallation
Aug 23 22:40:36 jira.aplanadc.ru jira[948]: Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Aug 23 22:40:36 jira.aplanadc.ru jira[948]: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Aug 23 22:40:36 jira.aplanadc.ru jira[948]: At least one of these environment variable is needed to run this program
Aug 23 22:40:36 jira.aplanadc.ru systemd[1]: jira.service: control process exited, code=exited status=1
Aug 23 22:40:36 jira.aplanadc.ru systemd[1]: Failed to start (null).
Aug 23 22:40:36 jira.aplanadc.ru systemd[1]: Unit jira.service entered failed state.
Aug 23 22:40:36 jira.aplanadc.ru systemd[1]: jira.service failed.