OpenVZ Forum


Home » General » Support » Goofy Yum problem in Centos 5 VM
Goofy Yum problem in Centos 5 VM [message #33364] Wed, 08 October 2008 21:33 Go to next message
timgerr is currently offline  timgerr
Messages: 11
Registered: September 2008
Junior Member
Here is some background information my host server has a web server running and at the root of the web server I have index.html sending the page to another page. OK that information is important.

I have a VM running Centos 5 with vzyum working. The problem is I need to do a yum groupinstall "X Window System" on my vm but I am unble to do it with vzyum. I enter my vm and do a yum update, here is my output:
[root@vHostA /]# yum update
Loading "fastestmirror" plugin
Determining fastest mirrors
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - <html>
YumRepo Warning: not using ftp, http[s], or file for repos, skipping -   <head>
YumRepo Warning: not using ftp, http[s], or file for repos, skipping -      <meta http-equiv="refresh" content="1;url=https://www.XXXX.com/development/drupal/">
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - </head>
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - <body>
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - </body>
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - <html>
removing mirrorlist with no valid mirrors: //var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base


So when I do a yum update within the VM I get the ouput of my index.html file in my host's web root. What is that?????? How is my VM seeing that?

I have looked and my yum.repos.d are correct.

What can I do to solve this problem.

Thanks,
timgerr

Re: Goofy Yum problem in Centos 5 VM [message #33365 is a reply to message #33364] Wed, 08 October 2008 22:03 Go to previous messageGo to next message
timgerr is currently offline  timgerr
Messages: 11
Registered: September 2008
Junior Member
So when I turn my host's web server off, and then do a yum update within the VM I get this error:

yum update
Loading "fastestmirror" plugin
Loading "priorities" plugin
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&re po=os error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot find a valid baseurl for repo: base


Am I doing a NAT thing??? I have a public ip set for the VM.

Not sure why the networking is goofy.

Thanks,
timgerr
Re: Goofy Yum problem in Centos 5 VM [message #33371 is a reply to message #33365] Thu, 09 October 2008 07:11 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Any iptables rules inside HN or VE?
Re: Goofy Yum problem in Centos 5 VM [message #33390 is a reply to message #33364] Fri, 10 October 2008 19:08 Go to previous message
timgerr is currently offline  timgerr
Messages: 11
Registered: September 2008
Junior Member
I reformatted my server and I am not getting this problem now.


Timgerr
Previous Topic: Resolved: Centos Upgrade 4.x to 5.0 Problem
Next Topic: Problems connecting to the outside and back
Goto Forum:
  


Current Time: Sun Jul 14 21:35:05 GMT 2024

Total time taken to generate the page: 0.02318 seconds