INSTALLATION ERROR!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wyrit
Posts: 5
Joined: Mon Jan 09, 2012 7:29 pm

INSTALLATION ERROR!

Post 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]$
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: INSTALLATION ERROR!

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wyrit
Posts: 5
Joined: Mon Jan 09, 2012 7:29 pm

Re: INSTALLATION ERROR!

Post by wyrit »

@scottwilkersonran ./fullinstall and got the same error.
Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: INSTALLATION ERROR!

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wyrit
Posts: 5
Joined: Mon Jan 09, 2012 7:29 pm

Re: INSTALLATION ERROR!

Post 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
wyrit
Posts: 5
Joined: Mon Jan 09, 2012 7:29 pm

Re: INSTALLATION ERROR!

Post 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
wyrit
Posts: 5
Joined: Mon Jan 09, 2012 7:29 pm

Re: INSTALLATION ERROR!

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

Re: INSTALLATION ERROR!

Post by lmiltchev »

It is possible that curl is not installed. Try:

Code: Select all

# yum install -y curl
Then run the installer again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked