Page 3 of 4
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:23 pm
by amit.ahuja
first of all Thanks for your help and Quick Response hsmith
I used nagiosxi-4-2.6.el6.x86_64.tar.gz, before I installed i ran a script to unistall the nagios please find attached and then did the install.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:26 pm
by hsmith
How bad would it be at this point to attempt this on a clean machine?
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:30 pm
by amit.ahuja
Well to try out if installation works or not - I can try it on another server but i have to make it working on this one as well as its hard over here to get the new VM in production environment.
Thanks
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:34 pm
by hsmith
Understandable. Did you reboot after running the uninstall script to make sure there was no 'crud' left hanging?
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:34 pm
by amit.ahuja
To be Honest nope but let me give a try and see.
Thanks
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:38 pm
by amit.ahuja
Did the reboot and run the installation again now getting different error -
cp: cannot create regular file `/usr/local/nagios/etc': No such file or directory
Thanks
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:40 pm
by lmiltchev
Are you running the fullinstall script from "/tmp/nagiosxi/" directory? Please, post the entire install.log.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:47 pm
by amit.ahuja
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
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 4:56 pm
by hsmith
Can you move the file to /tmp and try it? There have been issues in the past, which are resolved in newer versions, where the script wouldn't work right if it wasn't run from /tmp.
Re: INSTALLATION ERROR! - Nagios XI installation
Posted: Tue Oct 06, 2015 5:03 pm
by amit.ahuja
Ok I moved the folder under /tmp and run fullinstall under it it failed with same erorr attached is xi-install.log
Thanks