LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-07-2013, 12:29 PM   #1
lce411
Member
 
Registered: Jul 2012
Posts: 50

Rep: Reputation: Disabled
Yum update producing 503 Service Unavailable error


Hi,

I've exhausted all my ideas and spent some time on Google only to come up short of resolving this. We stood up a new server in our environment, added it to DNS and tried to do a 'yum update' but got the below error. (All the output is from URLGRABBER being turned on to help troubleshoot). We are going through a proxy, but those settings and all the config files have been checked and re-checked. I have also removed iptables from the equation and got the same results.

Code:
[root@cde-git sysconfig]# yum check-update
2013-03-07 13:14:33,854 attempt 1/None: file:///etc/yum.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum.conf
2013-03-07 13:14:33,867 success
INFO:urlgrabber:success
2013-03-07 13:14:33,872 attempt 1/None: file:///etc/yum/pluginconf.d/katello.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum/pluginconf.d/katello.conf
2013-03-07 13:14:33,874 success
INFO:urlgrabber:success
2013-03-07 13:14:33,890 attempt 1/None: file:///etc/yum/pluginconf.d/product-id.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum/pluginconf.d/product-id.conf
2013-03-07 13:14:33,892 success
INFO:urlgrabber:success
2013-03-07 13:14:33,893 attempt 1/None: file:///etc/yum/pluginconf.d/rhnplugin.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum/pluginconf.d/rhnplugin.conf
2013-03-07 13:14:33,895 success
INFO:urlgrabber:success
2013-03-07 13:14:33,897 attempt 1/None: file:///etc/yum/pluginconf.d/security.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum/pluginconf.d/security.conf
2013-03-07 13:14:33,899 success
INFO:urlgrabber:success
2013-03-07 13:14:33,901 attempt 1/None: file:///etc/yum/pluginconf.d/subscription-manager.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum/pluginconf.d/subscription-manager.conf
2013-03-07 13:14:33,903 success
INFO:urlgrabber:success
Loaded plugins: katello, security
2013-03-07 13:14:33,909 attempt 1/None: file:///etc/yum.conf
INFO:urlgrabber:attempt 1/None: file:///etc/yum.conf
2013-03-07 13:14:33,911 success
INFO:urlgrabber:success
2013-03-07 13:14:33,914 attempt 1/None: file:///etc/yum.repos.d/CDEYUM-RHEL5.repo
INFO:urlgrabber:attempt 1/None: file:///etc/yum.repos.d/CDEYUM-RHEL5.repo
2013-03-07 13:14:33,916 success
INFO:urlgrabber:success
2013-03-07 13:14:33,925 attempt 1/None: file:///etc/yum.repos.d/redhat.repo
INFO:urlgrabber:attempt 1/None: file:///etc/yum.repos.d/redhat.repo
2013-03-07 13:14:33,927 success
INFO:urlgrabber:success
2013-03-07 13:14:33,928 attempt 1/None: file:///etc/yum.repos.d/rhel-debuginfo.repo
INFO:urlgrabber:attempt 1/None: file:///etc/yum.repos.d/rhel-debuginfo.repo
2013-03-07 13:14:33,930 success
INFO:urlgrabber:success
Unable to read consumer identity
2013-03-07 13:14:33,936 MIRROR: trying repodata/repomd.xml -> https://cde-yum.chscde-ei.ustranscom.mil/rhel-x86_64-server-5/repodata/repomd.xml
INFO:urlgrabber:MIRROR: trying repodata/repomd.xml -> https://server-name.domain.com/rhel-x86_64-server-5/repodata/repomd.xml
2013-03-07 13:14:33,937 attempt 1/10: https://server-name.domain.com/rhel-x86_64-server-5/repodata/repomd.xml
INFO:urlgrabber:attempt 1/10: https://server-name.domain.com/rhel-x86_64-server-5/repodata/repomd.xml
2013-03-07 13:14:33,939 creating new connection to cde-squid:3128 (247429600)
INFO:urlgrabber:creating new connection to cde-squid:3128 (247429600)
2013-03-07 13:14:34,061 STATUS: 503, Service Unavailable
INFO:urlgrabber:STATUS: 503, Service Unavailable
2013-03-07 13:14:34,061 exception: [Errno 14] HTTP Error 503: Service Unavailable
INFO:urlgrabber:exception: [Errno 14] HTTP Error 503: Service Unavailable
2013-03-07 13:14:34,062 calling callback: (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0xea445d0>>, (), {})
INFO:urlgrabber:calling callback: (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0xea445d0>>, (), {})
https://server-name.domain.com/rhel-x86_64-server-5/repodata/repomd.xml: [Errno 14] HTTP Error 503: Service Unavailable
Trying other mirror.
2013-03-07 13:14:34,063 MIRROR: failed
INFO:urlgrabber:MIRROR: failed
2013-03-07 13:14:34,063 GR   mirrors: [] 0
INFO:urlgrabber:GR   mirrors: [] 0
2013-03-07 13:14:34,063 MAIN mirrors: [https://server-name.domain.com/rhel-x86_64-server-5/] 0
INFO:urlgrabber:MAIN mirrors: [https://server-name.domain.com/rhel-x86_64-server-5/] 0
Error: Cannot retrieve repository metadata (repomd.xml) for repository: cde-rhel5-server. Please verify its path and try again
All the other servers in this environment process all yum requests just fine.

Last edited by lce411; 03-07-2013 at 01:14 PM.
 
Old 03-08-2013, 02:14 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
.. have you set your proxy for http and https? I'm guessing that the proxy is where the 503 is coming from, check the squid logs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Vmware Server 2.0.2 503 Service Unavailable ibaydan Linux - Virtualization and Cloud 1 05-25-2010 09:02 AM
CUPS error : Service unavailable cjagdish69 Linux - Server 3 02-06-2009 01:32 AM
unable to print file: server-error-service-unavailable mashed Linux - Newbie 2 10-22-2006 06:04 PM
server-error-service-unavailable lpr printing TheBrick Linux - General 1 07-11-2006 07:04 AM
lp:unable to print file:server-error-service-unavailable mitchloft Fedora 3 03-29-2005 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration