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
0-yum error
Re: 0-yum error
You need to be logged in as root. Run in terminal:You need to be root to perform this command.
RESULT=1
Code: Select all
suCode: Select all
./fullinstallBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: 0-yum error
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
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
Re: 0-yum error
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.