Page 2 of 2

Re: "Error connecting to database" When I open Nagios CCM 1.

Posted: Wed Feb 01, 2017 4:17 am
by areis
Well, I have restarted the server before but I did it again.

Run the same, last, command and got something very similar to the last one

"root 4490 3470 0 09:12 tty1 00:00:00 grep mysql"

How can we unstuck mysql process ? If that's even possible of course.

Thanks for the help!

Re: "Error connecting to database" When I open Nagios CCM 1.

Posted: Wed Feb 01, 2017 10:57 am
by rkennedy
What happens when you try to start it?

Code: Select all

service mysqld start

Re: "Error connecting to database" When I open Nagios CCM 1.

Posted: Thu Feb 02, 2017 10:13 am
by areis
I get:

Code: Select all

Another MySQL daemon already running with the same unix socket
Starting mysqld:                                                                       [FAILED]

Re: "Error connecting to database" When I open Nagios CCM 1.

Posted: Thu Feb 02, 2017 12:30 pm
by rkennedy
Take a look at this article which should help to fix the issue. http://stackoverflow.com/questions/2040 ... nix-socket

Re: "Error connecting to database" When I open Nagios CCM 1.

Posted: Thu Feb 02, 2017 12:45 pm
by areis
Thanks! This fixed my issue!

Re: "Error connecting to database" When I open Nagios CCM 1.

Posted: Thu Feb 02, 2017 12:47 pm
by dwhitfield
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!