Re: headbeating continues

[email protected]
Newsgroups gmane.linux.rpm.yum
Message-ID <100820072146.875.470AA52E000E2F910000036B2205886172020A04040ED29B9B0A9D9D0E09@comcast.net>
fwiw here are the errors i see.  the first two octets are masked by x and y.

attempt 1 client conf file
[local-mods]
name=local-mods
baseurl=http://x.y.124.179/yum/rel001
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

attepmt 1 results
0001# yum -y -c /etc/yum.repos.d/local-updates.repo check-update
Repository local-mods already added, not adding again
Setting up repositories
http://x.y.124.179/yum/rel001/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (11, 'Resource temporarily unavailable')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: local-mods
failure: repodata/repomd.xml from local-mods: [Errno 256] No more mirrors to try.
rse-hrndnva0001# vi local-updates.repo 

attempt 2 conf file
[local-mods]
name=local-mods
baseurl=http://x.y.124.179/var/www/html/yum/rel001
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

attempt 2 results
0001# yum -y -c /etc/yum.repos.d/local-updates.repo check-update
Repository local-mods already added, not adding again
Setting up repositories
Cannot open/read repomd.xml file for repository: local-mods
failure: repodata/repomd.xml from local-mods: [Errno 256] No more mirrors to try.

in a browser i enter:
http://x.y.124.179/yum/rel001/repodata/repomd.xml
and i get the xml data.

i've tried any number of combinations of url's in the client but i get either one or the other of the errors above.  permissions on the directories and files are apache:apache, 755.

any suggestions appreciated.
 -------------- Original message ----------------------
From: seth vidal <[email protected]>
> 
> On Mon, 2007-10-08 at 21:09 +0000, [email protected] wrote:
> > well, in the production environment, which is fairly chaotic, i seem to have a 
> difficulty getting the repomd.xml file read.  what i get back is:
> > 
> > 0001# yum -y -c /etc/yum.repos.d/local-updates.repo check-update
> > Repository local-mods already added, not adding again
> > Setting up repositories
> > Cannot open/read repomd.xml file for repository: local-mods
> > failure: repodata/repomd.xml from local-mods: [Errno 256] No more mirrors to 
> try.
> > 0001# 
> > 
> > i had an apache conf file (a yum-vhost.conf one) but that broke basic http 
> connections and it resulted in a 404 for the request on the repomd.xml file.  
> removing it and going straight to the ip address in the client config yields the 
> above.  the client is very simple config:
> > 
> > [local-mods]
> > name=local-mods
> > baseurl=http://x.y.124.179/var/www/html/yum/rel001
> > enabled=1
> > 
> > the file is on the web server under /var/www/html/yum/rel001/repodata
> > 
> > any thoughts / suggestions / help would be appreciated.  this one has me 
> puzzled.
> > 
> 
> I thought you already solved this before?
> 
> remove /var/www/html/ from the baseurl and see if it starts working.
> 
> -sv
> 
> 
> _______________________________________________
> Yum mailing list
> [email protected]
> https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.