Page 1 of 1

MySQL daemon already running

Posted: Wed Mar 05, 2014 6:12 am
by Bryan@Jumpstart
Apologies if this is the wrong place to post this but I'm having issues accessing Nagios XI.

I'm running the Nagios XI (Latest Release) CentOS 6.5 VM via Virtualbox on a 10.9.1 MacMini. Everything was fine until I had to reboot the system. Now when I try to login to Nagios all I get is a blank screen.

I've tried everything suggested in this post: http://support.nagios.com/forum/viewtop ... =6&t=22325 - however I still can't get mysqld to start.

Very much a linux/unix noob so any help much appreciated.

Re: MySQL daemon already running

Posted: Wed Mar 05, 2014 10:44 am
by tmcdonald

Code: Select all

service mysqld stop
rm /var/lib/mysql/mysql.sock
service mysqld start
With VMs you have to make sure to properly shutdown by running "shutdown -h now" on the command line, otherwise it is like pulling the plug on a live server. Database corruption will happen and it will cause issues.

Re: MySQL daemon already running

Posted: Wed Mar 05, 2014 11:08 am
by Bryan@Jumpstart
Thanks for replying - in the end I rebuilt my Nagios instance from scratch but it's good to know this information for future use.

Re: MySQL daemon already running

Posted: Wed Mar 05, 2014 11:15 am
by tmcdonald
Glad I could semi-help :)

I'll be closing this thread now, but feel free to open another if you have issues in the future.