Lastest version Nagios xi
CentOS 7 64 bits
AWS EC2
No proxy, Yes SSL
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
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'
[root@ip-172-31-16-26 nagiosxi]#
Can't connect to local MySQL server through socket '/var/lib
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Can't connect to local MySQL server through socket '/var
Is this a fresh install of XI or an upgrade?
Have you seen this guide?
https://assets.nagios.com/downloads/nag ... -Cloud.pdf
Have you seen this guide?
https://assets.nagios.com/downloads/nag ... -Cloud.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Can't connect to local MySQL server through socket '/var
is a fresh installation.
I did but if you can help to solve this problem i will be gratefull.
I did but if you can help to solve this problem i will be gratefull.
Re: Can't connect to local MySQL server through socket '/var
Did you run an install on your own, or did you use one of pre-built images that are on AWS (as linked to above)?
Former Nagios Employee
Re: Can't connect to local MySQL server through socket '/var
yes, i get my own ec2 and i'm trying to install nagiosxi like they show in the manual installation instructions https://assets.nagios.com/downloads/nag ... ctions.pdf
-
jrdalrymple
- Posts: 16
- Joined: Fri Nov 13, 2015 4:49 pm
Re: Can't connect to local MySQL server through socket '/var
Post your entire install.log - the steps to be wary of:
Did maria install actually complete?
Did the maria postinstall steps get performed successfully? NagiosXI does customize the installation a bit then of course drops the 3 schemas into maria.
Then of course for the socket to exist maria has to fire up.
Whatever happened wrong will probably be easy to spot if you post install.log here, don't worry there is no incriminating evidence in it
Did maria install actually complete?
Did the maria postinstall steps get performed successfully? NagiosXI does customize the installation a bit then of course drops the 3 schemas into maria.
Then of course for the socket to exist maria has to fire up.
Whatever happened wrong will probably be easy to spot if you post install.log here, don't worry there is no incriminating evidence in it
Re: Can't connect to local MySQL server through socket '/var
Hi everyone,
I cannot post the entire "install.log", yesterday I could install nagios xi on a new instances with CentOS 6 and it's working, also I downloaded the nagios v5.2.2 through its specific hyperlink.
and well...I terminate my previous instance.
thanks anyway
I cannot post the entire "install.log", yesterday I could install nagios xi on a new instances with CentOS 6 and it's working, also I downloaded the nagios v5.2.2 through its specific hyperlink.
and well...I terminate my previous instance.
thanks anyway
Re: Can't connect to local MySQL server through socket '/var
Glad to hear this is working for you now. I'll go ahead and close this thread out, but feel free to open a new one if you need assistance with your new instance.
Former Nagios Employee