Page 1 of 1

install on CENTOS "couldnt resolve host"

Posted: Thu Jun 20, 2013 11:28 am
by antshippley
Hi, Im trying to install XI on a prebuilt centos 6.3 64bit vm. the fullinstall fails with a "couldn't resolve host" that I can ping and resolve outside of the script:


Nagios XI Installation Log
==========================
DATE: Thu Jun 20 09:42:41 MDT 2013

DISTRO INFO:
CentOS
6.3
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2012R2.2
major=2012
minor=R2.2
releasedate=2013-06-05
release=311

Configuring Yum...
centos-release-6-3.el6.centos.9.x86_64
rpmforge-release RPM installed OK
epel-release RPM installed OK
Enabling CentOS 6 Continuous Release repo...
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.unl.edu
* c6-media:
* centosplus: mirror.spro.net
* contrib: centos.netnitco.net
* epel: kdeforge.unl.edu
* extras: mirror.beyondhosting.net
* rpmforge: mirror.hmc.edu
* updates: centos.mirror.freedomvoice.com
http://vault.centos.org/6.0/os/x86_64/r ... repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'vault.centos.org'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: C6.0-base. Please verify its path and try again


root@Kili nagiosxi]# ping vault.centos.org
PING vault.centos.org (216.151.172.58) 56(84) bytes of data.
64 bytes from hosted.airvm.net (216.151.172.58): icmp_seq=1 ttl=128 time=20.7 ms
64 bytes from hosted.airvm.net (216.151.172.58): icmp_seq=2 ttl=128 time=20.1 ms
64 bytes from hosted.airvm.net (216.151.172.58): icmp_seq=3 ttl=128 time=20.0 ms
64 bytes from hosted.airvm.net (216.151.172.58): icmp_seq=4 ttl=128 time=20.0 ms
64 bytes from hosted.airvm.net (216.151.172.58): icmp_seq=5 ttl=128 time=20.0 ms
^C
--- vault.centos.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4784ms
rtt min/avg/max/mdev = 20.009/20.191/20.754/0.313 ms


Any help would be appreciated

Re: install on CENTOS "couldnt resolve host"

Posted: Thu Jun 20, 2013 1:11 pm
by abrist
Are you using a proxy to get to the internet on your XI server?