Page 1 of 2

INSTALLATION ERROR!

Posted: Thu Jan 12, 2012 7:32 am
by piccirillo
Good day!

I'm trying to install Nagiosxill in CentOS 6.2, but always the error occurs below :(

===================
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'
[root@mspslx001 nagiosxi]#

Re: INSTALLATION ERROR!

Posted: Thu Jan 12, 2012 1:53 pm
by nscott
piccirillo,

Make sure your DNS is functioning properly:

ping www.google.com

That should provide proper pings, if it says cannot determine host you'll need to set your DNS settings.

Can you try running

yum install centos-release-cr

Does that finish properly?

Re: INSTALLATION ERROR!

Posted: Thu Jan 12, 2012 2:28 pm
by piccirillo
nscott,

result ping:

[root@mspslx001 ~]# ping www.google.com
PING www.l.google.com (74.125.45.99) 56(84) bytes of data.
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=1 ttl=52 time=142 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=2 ttl=52 time=145 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=3 ttl=49 time=132 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=4 ttl=52 time=144 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=5 ttl=51 time=132 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=6 ttl=52 time=205 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=7 ttl=51 time=132 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=8 ttl=52 time=144 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=9 ttl=51 time=132 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=10 ttl=52 time=141 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=11 ttl=49 time=136 ms
64 bytes from yx-in-f99.1e100.net (74.125.45.99): icmp_seq=12 ttl=52 time=144 ms
^C
--- www.l.google.com ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11739ms
rtt min/avg/max/mdev = 132.026/144.476/205.806/19.246 ms

result yum

[root@mspslx001 ~]# yum install centos-release-cr
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

Re: INSTALLATION ERROR!

Posted: Thu Jan 12, 2012 3:30 pm
by scottwilkerson
piccirillo wrote: result yum

[root@mspslx001 ~]# yum install centos-release-cr
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
That's weird, it looks like the epel repository isn't correct...Let do this

Code: Select all

# yum install epel-release.noarch
if that goes well, try the ./fullinstall again

Re: INSTALLATION ERROR!

Posted: Thu Jan 12, 2012 3:31 pm
by lmiltchev
Try this:

Code: Select all

# cd /etc/yum.repos.d/
# vi epel.repo
then comment all the mirrorlist= lines (#mirrorlist=........)
and uncomment the #baseurl lines and save the file

Try running again:

Code: Select all

yum install centos-release-cr

Re: INSTALLATION ERROR!

Posted: Fri Jan 13, 2012 5:27 am
by piccirillo

Code: Select all

# yum install epel-release.noarch
I ran the command and the result was:

[root@mspslx001 ~]# yum install epel-release.noarch
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

Re: INSTALLATION ERROR!

Posted: Fri Jan 13, 2012 5:36 am
by piccirillo
lmiltchev wrote:Try this:

Code: Select all

# cd /etc/yum.repos.d/
# vi epel.repo
then comment all the mirrorlist= lines (#mirrorlist=........)
and uncomment the #baseurl lines and save the file

Try running again:

Code: Select all

yum install centos-release-cr
I changed the file "epel.repo," ran the command "yum install centos-release-cr" and the result was:

[root@mspslx001 ~]# yum install centos-release-cr
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos-mirror.hostdime.com.br
* extras: centos-mirror.hostdime.com.br
* rpmforge: apt.sw.be
* updates: centos-mirror.hostdime.com.br
http://centos-mirror.hostdime.com.br/ce ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://centos.mirror.netriplex.com/6.2/ ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://centos.mirrorcatalogs.com/6.2/os ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://centos.mirrors.tds.net/pub/linux ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://centos.pop.com.br/6.2/os/x86_64/ ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
....

Re: INSTALLATION ERROR!

Posted: Fri Jan 13, 2012 12:18 pm
by scottwilkerson
do you use a proxy server at your location?
Is yum setup to use a proxy?

Re: INSTALLATION ERROR!

Posted: Fri Jan 13, 2012 12:20 pm
by mguthrie
Try:

Code: Select all

yum install -y curl
Then run the installer. I don't think curl is installed on CentOS/RHEL 6.2.

Re: INSTALLATION ERROR!

Posted: Fri Jan 13, 2012 1:28 pm
by piccirillo
scottwilkerson wrote:do you use a proxy server at your location?
Is yum setup to use a proxy?
I have proxy server , how do I check if yum is configured?