LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-21-2008, 07:45 AM   #1
mzizana
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
Smile 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

Last edited by mzizana; 01-29-2008 at 04:01 AM.
 
  


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
CentOS: Diskless client from system-config-netboot doesn't boot. mackdav Red Hat 0 08-02-2007 02:20 PM
Help: X on CentOS w/Windows CygwinX client mikey Linux - Server 7 01-02-2007 12:47 AM
Telnet Client / CentOS riluve Red Hat 2 10-13-2006 10:51 AM
setup PHPMYADMIN on CENTOS bradsmiley Linux - Server 1 08-30-2006 03:10 AM
Initial setup of Cyrus on CentOS 4.2 jjrowan cAos 0 01-13-2006 01:12 PM

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

All times are GMT -5. The time now is 09:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration