0-yum error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bro969
Posts: 11
Joined: Wed Jul 25, 2012 2:55 am

0-yum error

Post by bro969 »

HI, Am a new Linux user. I am trying to install nagiosxi on a box with Centos 6.0 running. Everything was going smoothly until I hit the command ./fullinstall. This brought up an error that 0-yum script failed. See error below;

[networks@netflow-reflector ~]$ cd /tmp/nagiosxi/
[networks@netflow-reflector nagiosxi]$ ./fullinstall
========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary
sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS
or RedHat. Do NOT use this on a system that has been tasked with other
purposes or has an existing install of Nagios Core. To create such a clean
install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-yum'...
Configuring Yum...
centos-release-6-0.el6.centos.5.i686
rpmforge-release RPM installed OK
epel-release RPM installed OK
Enabling CentOS 6 Continuous Release repo...
Loaded plugins: fastestmirror, refresh-packagekit
You need to be root to perform this command.
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.

The script that failed was: './0-yum'
[networks@netflow-reflector nagiosxi]$[/color]

I would appreciate if I can get assistance on how to resolve this.

Kind regards,

bro
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: 0-yum error

Post by lmiltchev »

You need to be root to perform this command.
RESULT=1
You need to be logged in as root. Run in terminal:

Code: Select all

su
Enter the root's password, then run:

Code: Select all

./fullinstall
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bro969
Posts: 11
Joined: Wed Jul 25, 2012 2:55 am

Re: 0-yum error

Post by bro969 »

Hi, Thanks for your response.

I tried the nagiosxi install as root as well, but still getting 0-yum error. I tried some suggestions I read online from a similar case by running the below;

curl -s http://repoforge.org/use/ | grep -o "http://pkgs.repoforge.org/rpmforge-rele ... e-release-[0-9.-]\+.el6.rf.i686.rpm"

Not sure this has even helped at all as I am now unable to download the file from nagios, but could do so when not logged in as root. See file below;

[ root on pts/0 ] (314) # cd /tmp [ ~ ]
[ root on pts/0 ] (315) # wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
--2012-07-25 14:42:24-- http://assets.nagios.com/downloads/nagi ... est.tar.gz
Resolving mk-ironport.ad.sis.tv... failed: Name or service not known.
wget: unable to resolve host address “mk-ironport.ad.abx.com”
[ root on pts/0 ] (316) # [ /tmp ]

I will appreciate your input in this.

Thanks

bro
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: 0-yum error

Post by agriffin »

Are you getting the same error now or a different one? It would be very weird if it still complained about root permissions after you logged in as root.
Locked