I've been following howto http://wiki.openvz.org/Quick_installation in order to setup OpenVZ on CentOS 4.4, using the yum method. Everything goes well until and including rebooting to the OpenVZ kernel, but I am unable to install the utilities: First I followed the howto precisely and got this error: Quote: [root@localhost ~]# yum install vzctl vzquota Setting up Install Process Setting up repositories Cannot find a valid baseurl for repo: openvz Error: Cannot find a valid baseurl for repo: openvz I then checked /etc/yum.repos.d/openvz.repo and uncommented those repos that seems to make sense (no mention was made of this in the howto) [quote] <<-- btw, there seems to be a bug in this forum software, the quote function seems faulty. [root@localhost yum.repos.d]# cat openvz.repo [openvz] name=OpenVZ stable kernel and utilities baseurl=http://download.openvz.org/current/ mirrorlist=http://download.openvz.org/mirrors-current enabled=1 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ [openvz-kernel-devel] name=OpenVZ development kernel baseurl=http://download.openvz.org/kernel/devel/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-devel enabled=0 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ [openvz-kernel-fc5] name=OpenVZ Fedora Core 5 kernel #baseurl=http://download.openvz.org/kernel/fc5/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-fc5 enabled=0 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ [openvz-kernel-rhel4] name=OpenVZ Red Hat Enterprise Linux 4 kernel baseurl=http://download.openvz.org/kernel/rhel4/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-rhel4 enabled=0 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ [openvz-kernel-suse10] name=OpenVZ SUSE10 kernel #baseurl=http://download.openvz.org/kernel/suse10/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-suse10 enabled=0 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ /quote] but this just give more errors: Quote: [root@localhost yum.repos.d]# yum install vzctl vzquota Setting up Install Process Setting up repositories http://download.openvz.org/current/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')> Trying other mirror. Cannot open/read repomd.xml file for repository: openvz failure: repodata/repomd.xml from openvz: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from openvz: [Errno 256] No more mirrors to try. [root@localhost yum.repos.d]# yum install vzctl vzquota Setting up Install Process Setting up repositories http://download.openvz.org/current/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')> Trying other mirror. Cannot open/read repomd.xml file for repository: openvz failure: repodata/repomd.xml from openvz: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from openvz: [Errno 256] No more mirrors to try.
Hmmm.... is nameserver set? Can you manually download repodata from node in question: # wget http://download.openvz.org/current/repodata/repomd.xml ? Thanks.
Hi there I encountered the same problem. Seemed like some firewall issue, as after I shut down iptables, it works. HTH