LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mrepo Client Setup for RHLES 5 and Centos 5 (https://www.linuxquestions.org/questions/linux-server-73/mrepo-client-setup-for-rhles-5-and-centos-5-a-615168/)

mzizana 01-21-2008 07:45 AM

Mrepo Client Setup for RHLES 5 and Centos 5
 
Hi there,

Has anyone ever come across this error below, when updating the yum client to the local Mrepo repository?
I'm not updating from RHN as I have an Mrepo local repository setup.

[root@silverfir yum.repos.d]# yum update
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Setting up repositories
http://oak/rhel5es-i386/RPMS.updates...ta/repomd.xml: [Errno 14] HTTP Error 503: Service Unavailable
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates
[root@silverfir yum.repos.d]#

I have checked my profile.d and have inputted the following files proxy.sh and proxy.csh but still can't download any updates from my local repository server. When I run yum update from my local repository server all works fine.
I have also checked my iptables configurations and all is fine.

[root@dragon ~]# cd /etc/profile.d/
[root@dragon profile.d]# cat proxy.sh
## proxy.sh
#To completely disable proxy:
#no_proxy="*"
export http_proxy=http://scdomain1\\yumupdacc:"27yu&My*"@proxyo:8080
export HTTP_PROXY=http://scdomain1\\yumupdacc:"27yu&My*"@proxyo:8080
export ftp_proxy=http://scdomain1\\yumupdacc:"27yu&My*"@proxyo:8080
export FTP_PROXY=http://scdomain1\\yumupdacc:"27yu&My*"@proxyo:8080
export FTP_PASSIVE="1"
export no_proxy="ipaddress"
[root@dragon profile.d]# cat proxy.csh
## proxy.sh
#To completely disable proxy:
#no_proxy="*"
export http_proxy=http://SCDOMAIN1\\yumupdacc:"27yu&My*"@proxyo:8080
export HTTP_PROXY=http://SCDOMAIN1\\yumupdacc:"27yu&My*"@proxyo:8080
export ftp_proxy=http://SCDOMAIN1\\yumupdacc:"27yu&My*"@proxyo:8080
export FTP_PROXY=http://SCDOMAIN1\\yumupdacc:"27yu&My*"@proxyo:8080
export FTP_PASSIVE="1"
export no_proxy="ipaddress"
[root@dragon profile.d]#

Any help will be highly appreciated


All times are GMT -5. The time now is 05:47 PM.