It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira won't start after reboot on Centos8

Hi All,

I just had postgresql database connection to Jira issue resolved as advised by Brandon Jackson yesterday.

I have this final issue to be resolved, I realized that jira would not start after reboot. I have to use the startup.sh script to bring it up.

I have used the following documents available in the community but not yet resolved

https://community.atlassian.com/t5/Jira-Software-questions/Jira-service-not-auto-starting-when-installed-as-a-service/qaq-p/812186

and

https://community.atlassian.com/t5/Jira-Software-questions/Jira-and-Confluence-does-not-startup-after-linux-system-reboot/qaq-p/1085293

From advise on the later, when I set up jira.service script in /lib/systemd/system and start the service by #systemctl start jira.service

I got an error message

"Job for jira.service failed because the control process exited with error code.
See "systemctl status jira.service" and "journalctl -xe" for details."

I have put in this details at the top of my jira.service script as advised by someone but still not working #chkconfig: 2345 80 05

Adding jira service with command 

#chkconfig --add jira

also popped up with error

"service jira does not support chkconfig"

Please can someone help please?

Thanks for your assistance.

 

Akin

 

1 answer

1 accepted

0 votes
Answer accepted

Got this fixed

1) I added jira service

#chkconfig --add jira

2) I modified the script /etc/rc.d/init.d/jira by changing the start-jira.sh to startup.sh and also stop-jira.sh to shutdown,sh

This modification enables me to use the startup and shutdown script in /opt/atlassian/jira/bin  to start and stop jira while booting and shutting down my server.

3) When this was modified I ensure having appropriate link in /etc/rc.d/rc5.d for starting up jira when server is coming up and /etc/rc.d/rc0.d for shutting down jira when server is going down.

This perfectly works for me.

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you