Jira HTTP Status 500 after power off
After a power down of a Jira server, we saw the following error:
HTTP Status 500 – org.ofbiz.core.util.GeneralRuntimeException: Could not determine database type. (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
Here is the specific fix that worked in our situation.
1
2
3
4
5
|
# /etc/init.d/jira stop # service mysqld stop # mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak # service mysqld start # /etc/init.d/jira start |
Sources:
http://stackoverflow.com/questions/20407292/centos-another-mysql-daemon-already-running-with-the-same-unix-socket
https://answers.atlassian.com/questions/193918/starting-jira-in-linux