Page 1 of 1

INSTALLATION ERROR!

Posted: Mon Jan 09, 2012 7:56 pm
by wyrit
centos 6.2
32 bit
nagios latest stable build,
manual install




===================
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: './0-yum'
[Administrator@chi-compaq nagiosxi]$
[Administrator@chi-compaq nagiosxi]$

Re: INSTALLATION ERROR!

Posted: Tue Jan 10, 2012 10:33 am
by scottwilkerson
Lets try running ./fullinstall again. If we get the same error we are going to have to investigate some files on the system...

the problem pertains to this line in the install log

Code: Select all

error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
It is possible that something else was locking it.

You are installing as root right?

Re: INSTALLATION ERROR!

Posted: Tue Jan 10, 2012 12:58 pm
by wyrit
@scottwilkersonran ./fullinstall and got the same error.
Thanks

Re: INSTALLATION ERROR!

Posted: Tue Jan 10, 2012 2:02 pm
by scottwilkerson
You are running this as root correct?

Can I have you post the results when you run

Code: Select all

ls -l /var/lib/rpm/.rpm.lock

Re: INSTALLATION ERROR!

Posted: Sun Jan 15, 2012 8:11 pm
by wyrit
@scottwilkerson I wasn't running as root. I went ahead and ran as root and got past this error. Thanks. I did come up with a different error:

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
ERROR: centos-release-cr RPM was not installed - exiting.
RESULT=1

===================
INSTALLATION ERROR!


Let me know if I need to start a new thread..

thanks

Re: INSTALLATION ERROR!

Posted: Sun Jan 15, 2012 10:23 pm
by wyrit
Ok I found the thread http://support.nagios.com/forum/viewtop ... ink#p20070 that addressed the Error I mentioned above. Thanks

I have another error that came up while running ./fullinstall

ERROR: Nagios Plugins install appears to have failed - exiting. Missing file = /usr/local/nagios/libexec/check_ping
ERROR: Subcomponent 'nagiosplugins' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1

Re: INSTALLATION ERROR!

Posted: Sun Jan 15, 2012 10:31 pm
by wyrit
I browsed to /usr/local/nagios/libexec and noticed that check_ping was not in the folder. How do I get it?

Thanks

Re: INSTALLATION ERROR!

Posted: Mon Jan 16, 2012 10:55 am
by lmiltchev
It is possible that curl is not installed. Try:

Code: Select all

# yum install -y curl
Then run the installer again.