MYSQL Error while installing Nagios XI 5.2.7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mccrakem
Posts: 129
Joined: Mon Jun 19, 2017 8:28 am

MYSQL Error while installing Nagios XI 5.2.7

Post by mccrakem »

Hi

Everytime I try and install Nagios XI on a CentOS 7 vm I get the following error

kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
NOTE: If prompted, enter the MySQL root password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1

and If I look in the install.log file the last few entries are

kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
NOTE: If prompted, enter the MySQL root password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting

When I look for /var/lib/mysql/ - The folder does not exist

I can forward the install.log if its required

Thanks
mccrakem
Posts: 129
Joined: Mon Jun 19, 2017 8:28 am

Re: MYSQL Error while installing Nagios XI 5.2.7

Post by mccrakem »

I just noticed there is no mysql.sock socket in the directory

Is there a way to create this ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: MYSQL Error while installing Nagios XI 5.2.7

Post by lmiltchev »

Please post the install.log on the forum.

Is there a reason why you are trying to install Nagios XI 5.2.7? This version is quite old. The latest one is 5.6.5...
Be sure to check out our Knowledgebase for helpful articles and solutions!
mccrakem
Posts: 129
Joined: Mon Jun 19, 2017 8:28 am

Re: MYSQL Error while installing Nagios XI 5.2.7

Post by mccrakem »

Hi miltchev
Sorry I did not see your reply until now
That install I just deleted the server and started again.

I have opened another request so a different error
looks like I have gotten past the SQL install part this time

The reason why i'm installing 5.2.7 is that is the version we are running currently on RHEL6

So I want to see about upgrading the OS so installing 5.2.7 on centOS7 was going to restore a backup of the database and then upgrade nagios to the latest

But having so many issues

You can close this one

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: MYSQL Error while installing Nagios XI 5.2.7

Post by lmiltchev »

Noted. Closing.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked