MySQL daemon already running

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Bryan@Jumpstart
Posts: 2
Joined: Wed Mar 05, 2014 4:37 am

MySQL daemon already running

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: MySQL daemon already running

Post 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.
Former Nagios employee
Bryan@Jumpstart
Posts: 2
Joined: Wed Mar 05, 2014 4:37 am

Re: MySQL daemon already running

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: MySQL daemon already running

Post 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.
Former Nagios employee
Locked