INSTALLATION ERROR! - Nagios XI installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
amit.ahuja
Posts: 113
Joined: Fri May 15, 2015 8:20 am

Re: INSTALLATION ERROR! - Nagios XI installation

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: INSTALLATION ERROR! - Nagios XI installation

Post by hsmith »

How bad would it be at this point to attempt this on a clean machine?
Former Nagios Employee.
me.
amit.ahuja
Posts: 113
Joined: Fri May 15, 2015 8:20 am

Re: INSTALLATION ERROR! - Nagios XI installation

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: INSTALLATION ERROR! - Nagios XI installation

Post by hsmith »

Understandable. Did you reboot after running the uninstall script to make sure there was no 'crud' left hanging?
Former Nagios Employee.
me.
amit.ahuja
Posts: 113
Joined: Fri May 15, 2015 8:20 am

Re: INSTALLATION ERROR! - Nagios XI installation

Post by amit.ahuja »

To be Honest nope but let me give a try and see.

Thanks
amit.ahuja
Posts: 113
Joined: Fri May 15, 2015 8:20 am

Re: INSTALLATION ERROR! - Nagios XI installation

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: INSTALLATION ERROR! - Nagios XI installation

Post by lmiltchev »

Are you running the fullinstall script from "/tmp/nagiosxi/" directory? Please, post the entire install.log.
Be sure to check out our Knowledgebase for helpful articles and solutions!
amit.ahuja
Posts: 113
Joined: Fri May 15, 2015 8:20 am

Re: INSTALLATION ERROR! - Nagios XI installation

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: INSTALLATION ERROR! - Nagios XI installation

Post 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.
Former Nagios Employee.
me.
amit.ahuja
Posts: 113
Joined: Fri May 15, 2015 8:20 am

Re: INSTALLATION ERROR! - Nagios XI installation

Post 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
You do not have the required permissions to view the files attached to this post.
Locked