"Error connecting to database" When I open Nagios CCM 1.03

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
areis
Posts: 8
Joined: Fri Jan 27, 2017 4:24 am

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

Post 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!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post by rkennedy »

What happens when you try to start it?

Code: Select all

service mysqld start
Former Nagios Employee
areis
Posts: 8
Joined: Fri Jan 27, 2017 4:24 am

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

Post by areis »

I get:

Code: Select all

Another MySQL daemon already running with the same unix socket
Starting mysqld:                                                                       [FAILED]
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post by rkennedy »

Take a look at this article which should help to fix the issue. http://stackoverflow.com/questions/2040 ... nix-socket
Former Nagios Employee
areis
Posts: 8
Joined: Fri Jan 27, 2017 4:24 am

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

Post by areis »

Thanks! This fixed my issue!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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!
Locked