Hello,
I'm trying to do a manual installation of Nagios XI 5.2.9 on a 64 bit RHEL 6.8 vm.
Looking at the install.log, I got a NAGIOSSQL Login Failed.
Can anyone help?
Manual Installation Issue
Manual Installation Issue
You do not have the required permissions to view the files attached to this post.
Re: Manual Installation Issue
Was MySQL already installed on this machine by chance? Otherwise, the issue is coming down to when XI runs a wget against itself.
Update your /etc/hosts and make sure localhost resolves to 127.0.0.1, then try again. If you're still having issues please post the install.log once again, and your /etc/hosts file for us to look at.
Code: Select all
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2016-08-22 13:54:44-- http://localhost/nagiosxi/includes/components/ccm/
Resolving bcp.cpmc.columbia.edu... 156.111.60.156
Code: Select all
[root@localhost etc]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
Former Nagios Employee
Re: Manual Installation Issue
I had previous errors before when I attempted to install Nagios and was receiving database exists errors. Therefore, I completely removed mysql and the cache/configuration files. I removed everything and did another clean install. It appears that when I run fullinstall script, it downloads and re-installs mysql.
the hosts file do resolve to 127.0.0.1.
the hosts file do resolve to 127.0.0.1.
Re: Manual Installation Issue
It wasn't necessarily a 'clean install', because XI still detected it as an upgrade -tah7004 wrote:I had previous errors before when I attempted to install Nagios and was receiving database exists errors. Therefore, I completely removed mysql and the cache/configuration files. I removed everything and did another clean install. It appears that when I run fullinstall script, it downloads and re-installs mysql.
the hosts file do resolve to 127.0.0.1.
Code: Select all
Nagios XI Installation Log
==========================
DATE: Mon Aug 22 13:49:55 EDT 2016
DISTRO INFO:
RedHatEnterpriseServer
6.8
x86_64
THIS IS AN UPGRADE!
Former Nagios Employee
Re: Manual Installation Issue
Are you using a proxy? (it looks like it) If so, please check your /etc/yum.conf and your /etc/wgetrc and make sure they are set like at the top this KB article:
https://support.nagios.com/kb/article.php?id=147
Thank you
https://support.nagios.com/kb/article.php?id=147
Thank you
Re: Manual Installation Issue
Yes, I just got the installation to work. The issue was that in my wgetrc file, I didn't put the 127.0.0.1 loop back ip in cidr notation. Thanks for all the help.
Re: Manual Installation Issue
Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/