Page 4 of 4
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 6:06 pm
by rajasegar
Is the prod environment on a VM?
If yes, do the installation in Dev. Once the VM if fully installed, move it to production and change the IP, DNS etc.
Another thing you can do is,
/etc/yum.conf
keepcache=1
This will make yum cache all the downloaded packages in /var/cache/yum directory in dev.
You just need to copy them over to prod machine maintaining the same directory structure. yum will grab it from the cache instead of going to to net.
This will take care of most of the rpm sites. The rest of the sites you can apply for proxy access like assets.nagios.com etc.
Good Luck.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 6:19 pm
by rajasegar
amit.ahuja wrote:This is how my directory structure looks like -
[root@xxxxxxxxxxxxxxxxnagiosxi]# pwd
/www/nagios/nagiosxi
[root@xxxxxxxxxxxxxxxx nagiosxi]# ls -lrt
total 115304
-rwxr-xr-x 1 root root 53 Mar 12 2015 upgrade
-rw-r--r-- 1 root root 32661 Mar 12 2015 nagiosxi-pnp-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 43954 Mar 12 2015 nagiosxi-nsca-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 66124 Mar 12 2015 nagiosxi-nrpe-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 23000060 Mar 12 2015 nagiosxi-nrds-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 225622 Mar 12 2015 nagiosxi-ndoutils-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 2037544 Mar 12 2015 nagiosxi-nagvis-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 916075 Mar 12 2015 nagiosxi-nagiosql-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 3204012 Mar 12 2015 nagiosxi-nagiosplugins-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 123221 Mar 12 2015 nagiosxi-nagiosmobile-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 5199666 Mar 12 2015 nagiosxi-nagioscore-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 274123 Mar 12 2015 nagiosxi-mrtg-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 85381 Mar 12 2015 nagiosxi-ajaxterm-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 44037411 Mar 12 2015 nagiosxi-4-2.6.el6.x86_64.rpm
-rwxr-xr-x 1 root root 53 Mar 12 2015 fullinstall
-rw-r--r-- 1 root root 6803745 Mar 12 2015 nagiosxi-wmic-4-2.6.el6.x86_64.rpm
-rw-r--r-- 1 root root 30261271 Mar 12 2015 nagiosxi-wkhtmltox-4-2.6.el6.x86_64.rpm
-rwxr--r-x 1 root root 25960 Mar 12 2015 perl-Mail-POP3Client-2.18-6.el6.noarch.rpm
-rwxr--r-x 1 root root 229892 Mar 12 2015 perl-Mail-IMAPClient-3.34-1.el6.noarch.rpm
-rwxr--r-x 1 root root 49212 Mar 12 2015 perl-Config-IniFiles-2.72-2.el6.noarch.rpm
-rwxr--r-x 1 root root 31471 Mar 12 2015 php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm
-rwxr--r-x 1 root root 101488 Mar 12 2015 perl-Net-SNMP-5.2.0-4.el6.noarch.rpm
-rwxr--r-x 1 root root 13464 Mar 12 2015 perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch.rpm
-rwxr--r-x 1 root root 218988 Mar 12 2015 python-pymongo-2.5.2-3.el6.x86_64.rpm
-rwxr--r-x 1 root root 111648 Mar 12 2015 python-bson-2.5.2-3.el6.x86_64.rpm
-rwxr--r-x 1 root root 44468 Mar 12 2015 pymssql-1.0.2-4.el6.x86_64.rpm
-rwxr--r-x 1 root root 30736 Mar 12 2015 php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm
-rwxr--r-x 1 root root 27468 Mar 12 2015 php-mssql-5.3.3-3.el6.x86_64.rpm
-rwxr--r-x 1 root root 18484 Mar 12 2015 php-mcrypt-5.3.3-3.el6.x86_64.rpm
-rwxr--r-x 1 root root 31272 Mar 12 2015 perl-Crypt-Rijndael-1.09-2.el6.x86_64.rpm
-rwxr--r-x 1 root root 18704 Mar 12 2015 perl-Crypt-DES-2.05-9.el6.x86_64.rpm
-rwxr--r-x 1 root root 97428 Mar 12 2015 libmcrypt-2.5.8-9.el6.x86_64.rpm
-rwxr--r-x 1 root root 580980 Mar 12 2015 freetds-0.91-2.el6.x86_64.rpm
-rwxr--r-x 1 root root 51456 Mar 12 2015 fping-3.10-1.el6.rf.x86_64.rpm
[root@xxxxxxxxxxxxxxxxx nagiosxi]#
and from here i am running ./fullinstall
I do not see any install.log as I was able to see earlier without tar installation.
Thanks
Is that all the rpm files?
Hmm ...when I installed yum downloads hundreds of Mb of rpms for the installation on a clean Red Hat 6.5 machine.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 7:04 pm
by amit.ahuja
can you give me the steps what you are taking .. may be i am doing something wrong
Thanks
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 7:45 pm
by amit.ahuja
Looks like made some progress and now stuck on new issue -
able to get to nagiosxi but when try to login it failed . .. tried to reset the pswd but still not able to get in ... and then try to run reconfigure script getting below eror
[root@xxxxxxxxxxx scripts]# ./reconfigure_nagios.sh
URL:
http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/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--2015-10-06 20:43:23--
http://localhost/nagiosxi/includes/components/ccm/
Connecting to 32.83.110.77:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 759 [application/x-www-form-urlencoded]
Saving to: ânagiosql.loginâ
100%[==============================================================================================================================>] 759 --.-K/s in 0s
2015-10-06 20:43:24 (135 MB/s) - ânagiosql.loginâ
NAGIOSQL LOGIN FAILED!
[root@MA100DLVMON812 scripts]#
Can you please suggest -
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Wed Oct 07, 2015 11:33 am
by amit.ahuja
can some one please respond / suggest on this -- I installed on new server same way and getting same error -
2015-10-07 12:25:59 (166 MB/s) - ânagiosql.loginâ
NAGIOSQL LOGIN FAILED!
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.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Wed Oct 07, 2015 11:41 am
by hsmith
Hi amit.ahuja,
Bumping your post will not result in a quicker response, in fact it will do quite the opposite. Here at Nagios we use a dashboard type system that shows us the last time someone posted in a thread, so by posting in your own thread again, you move your thread to the bottom of the list. Our hours of operation are 9-5 CT, so anything posted after 5 CT is not generally seen until the next day. With all of that out of the way...
Where are you getting this issue? At the initial login screen for Nagios XI? Can you try to go to
http://your.ip.address.here/nagios and see if you are able to log in there?
Is it possible that you have a snapshot of this machine before Nagios was ever installed on it that we could revert to for a truly "clean" machine?
Thanks.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Wed Oct 07, 2015 11:55 am
by amit.ahuja
I did the install on fresh machine this time through repos -
I am not able to login to nagios or nagiosxi --
http://host/nagios ...........
http://host/nagiosxi
and when try to run /usr/local/nagiosxi/scripts/
./reconfigure_nagios.sh
NAGIOSQL LOGIN FAILED!
thanks
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Wed Oct 07, 2015 1:11 pm
by amit.ahuja
Finally was able to get it working on both the machines - this is what i did if some one runs in to same issues
1) Uninstall nagiosxi through script -
2) ran command rpm -qa | grep nagios to find the installed packages
3) yum remove -y packages
4) asked SA to add assets.nagios.com|72.14.181.71|:80. in Proxy where my server is connects to.
5) followed this doc -
https://support.nagios.com/wiki/index.p ... th_Proxies
imp i was missing no_proxy=localhost
6) and then i ran ./fullinstall on xi-latest.tar
Everything worked fine now
Thanks hsmith for all your help and support. we can close this thread now if needed.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Wed Oct 07, 2015 1:21 pm
by hsmith
I'm really glad to hear this is working for you. Thanks for letting us know how you resolved it. At my previous employer, doing any kind of update or anything at all was really a nightmare due to proxies, so I totally understand.
I'll close this topic, please let us know if you need any further assistance.
Thank you!