Advertisement

02.15.2008 at 12:45AM PST, ID: 23165438
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

yum and wget connection refused error
Zones: Linux, HTTP
Tags: Connection refused
Hi Good people,

I'm getting a connection refused error when doing a yum update from my Centos 4 servers.
I have checked my proxy acount that we use for our linx servers and it's not locked out.

When I do a yum update, wget or links I get the connection refused error to the link below any Idia what causing this.

[root@tumnus ~]# yum update
Setting up Update Process
Setting up repositories
http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates
failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
[root@tumnus ~]# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
[root@tumnus ~]# wget http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
--10:42:28--  http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
           => `index.html'
Resolving oak.corporatebank.co.za... 10.198.1.29
Connecting to oak.corporatebank.co.za|10.198.1.29|:4447... failed: Connection refused.
[root@tumnus ~]#
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: LinuxDuke
Solution Provided By: ravenpl
Participating Experts: 2
Solution Grade: A
Views: 101
Translate:
Loading Advertisement...
02.15.2008 at 01:21AM PST, ID: 20900308

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:30AM PST, ID: 20900339

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:36AM PST, ID: 20900362

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:40AM PST, ID: 20900378

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:42AM PST, ID: 20900384

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:44AM PST, ID: 20900393

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:46AM PST, ID: 20900402

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:48AM PST, ID: 20900405

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:51AM PST, ID: 20900417

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:52AM PST, ID: 20900427

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:53AM PST, ID: 20900431

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 01:56AM PST, ID: 20900445

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:01AM PST, ID: 20900471

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:15AM PST, ID: 20900513

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:30AM PST, ID: 20900570

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:37AM PST, ID: 20900598

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:44AM PST, ID: 20900625

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:48AM PST, ID: 20900639

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:49AM PST, ID: 20900645

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 02:52AM PST, ID: 20900662

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
02.15.2008 at 01:21AM PST, ID: 20900308

Rank: Guru

Seems like some proxy problem to me for wget did you try

http://blog.taragana.com/index.php/archive/how-to-use-wget-through-proxy/

export http_proxy="http://proxy.example.com:8080"

and if there is any authentication
proxy=on proxy-username="user name" proxy-passwd="password"

or directly export with username and pwd

http_proxy="http://username:password@proxy.example.com:8080"
 
02.15.2008 at 01:30AM PST, ID: 20900339

Rank: Sage

The mentiones server is unknown to my machine.
Maybe because it resolves for You to
10.198.1.29
which is private IP number.
So I assume, it's Your private mirror.
So I assume it's down(ping oak.corporatebank.co.za) or http service is down.

Or get more mirrors
Refer http://www.centos.org/docs/5/html/yum/sn-yum-maintenance.html
to see how mirrorlist= should be configured
 
02.15.2008 at 01:36AM PST, ID: 20900362
Hi Shakoush,

The proxy is being bypassed in the following way please check below:

[gugu@tumnus ~]$ cat /etc/profile.d/proxy.sh
## proxy.sh

#To completely disable proxy:
#no_proxy="*"

export http_proxy=http://oak.corporatebank.co.za:4447
export HTTP_PROXY=http://oak.corporatebank.co.za:4447
export ftp_proxy=http://oak.corporatebank.co.za:4447
export FTP_PROXY=http://oak.corporatebank.co.za:4447
export FTP_PASSIVE="1"
#export no_proxy="172.20.8.87"
[gugu@tumnus ~]$ cat /etc/profile.d/proxy.csh
## proxy.csh

#To completely disable proxy:
#no_proxy="*"

setenv http_proxy http://oak.corporatebank.co.za:4447
setenv HTTP_PROXY http://oak.corporatebank.co.za:4447
setenv ftp_proxy http://oak.corporatebank.co.za:4447
setenv FTP_PROXY http://oak.corporatebank.co.za:4447
setenv FTP_PASSIVE "1"
#setenv no_proxy "172.20.8.87"
[gugu@tumnus ~]$

Maybe this will give you an Idia as it was done by someone.

Thanks
 
02.15.2008 at 01:40AM PST, ID: 20900378

Rank: Guru

It seems the proxy is the same as your repo try

 wget proxy=off http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
 
02.15.2008 at 01:42AM PST, ID: 20900384
Hi Ravenpl,

Yes this is my own repo and I don't want to add more mirrors as I want these machines to download from it. They will be my clients and the server is in a private ip address and httpd is not running.
Will the be an effect if httpd is not running.

[gugu@tumnus ~]$ ping oak.corporatebank.co.za
PING oak.corporatebank.co.za (10.198.1.29) 56(84) bytes of data.
64 bytes from oak.corporatebank.co.za (10.198.1.29): icmp_seq=0 ttl=63 time=0.144 ms
64 bytes from oak.corporatebank.co.za (10.198.1.29): icmp_seq=1 ttl=63 time=0.103 ms

--- oak.corporatebank.co.za ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.103/0.123/0.144/0.023 ms, pipe 2
[gugu@tumnus ~]$ /sbin/
Display all 213 possibilities? (y or n)
[gugu@tumnus ~]$ /sbin/service httpd status
httpd is stopped
[gugu@tumnus ~]$

thanks
 
02.15.2008 at 01:44AM PST, ID: 20900393

Rank: Sage

> Will the be an effect if httpd is not running.
Of course, You fetching data via http, so httpd has to be running !
 
02.15.2008 at 01:46AM PST, ID: 20900402

Rank: Guru

I got you on that but did you try to access it with the the options I provided ..I .e. did you try

 wget proxy=off http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/

 
02.15.2008 at 01:48AM PST, ID: 20900405
shakoush

[gugu@tumnus ~]$ wget proxy=off http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
--11:46:05--  http://proxy=off/
           => `index.html'
Resolving oak.corporatebank.co.za... 10.198.1.29
Connecting to oak.corporatebank.co.za|10.198.1.29|:4447... failed: Connection refused.
--11:46:05--  http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
           => `index.html'
Connecting to oak.corporatebank.co.za|10.198.1.29|:4447... failed: Connection refused.

FINISHED --11:46:05--
Downloaded: 0 bytes in 0 files
[gugu@tumnus ~]$

Still failing
 
02.15.2008 at 01:51AM PST, ID: 20900417

Rank: Sage

wget --no-proxy ...
but start the service first
 
02.15.2008 at 01:52AM PST, ID: 20900427

Rank: Guru

sorry @LinuxDuke try

wget --no-proxy http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/

apart from that it seems your connection is refused at the proxy...did you check the proxy acl
 
02.15.2008 at 01:53AM PST, ID: 20900431
Hi ravenpl

I started http but I'm getting an error check below but still not to sure if it's the problem as on my other client that is downloading these updates it's running client name is dougfir.

[gugu@tumnus ~]$ /sbin/service httpd status
httpd is stopped
[gugu@tumnus ~]$ /sbin/service httpd start
Starting httpd: Syntax error on line 117 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty
                                                           [FAILED]
[gugu@tumnus ~]$ /sbin/service httpd stop
Stopping httpd:                                            [FAILED]
[gugu@tumnus ~]$ /sbin/service httpd status
httpd is stopped
[gugu@tumnus ~]$

[root@dougfir gugu]# yum update
Setting up Update Process
Setting up repositories
http://oak.corporatebank.co.za/centos4-i386/RPMS.centosplus/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: centosplus
failure: repodata/repomd.xml from centosplus: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from centosplus: [Errno 256] No more mirrors to try.
[root@dougfir gugu]# /sbin/service httpd status
httpd (pid 5887 5886 5885 5884 5883 5882 5881 5880 5877) is running...
[root@dougfir gugu]#
 
02.15.2008 at 01:56AM PST, ID: 20900445

Rank: Guru

Well you have to fix this and start your httpd service first

Starting httpd: Syntax error on line 117 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty

you have to create the server certificate and put it in /etc/httpd/conf/ssl.crt/
 
02.15.2008 at 02:01AM PST, ID: 20900471
Hi shakoush

It's connecting on both servers with httpd not running on the other server and running on the other one, when I run the command wget --no-proxy http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
The server with http not running is a production box and I'm not to sure how it's configure and this makes me unable to start httpd service maybe the is a reason its stopped.



[gugu@tumnus ~]$ wget --no-proxy http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
--11:56:12--  http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
           => `index.html'
Resolving oak.corporatebank.co.za... 10.198.1.29
Connecting to oak.corporatebank.co.za|10.198.1.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>                                                                                                                                                    ] 50,405        --.--K/s            

11:56:12 (14.11 MB/s) - `index.html' saved [50405]

[gugu@tumnus ~]$


[root@dougfir gugu]# wget --no-proxy http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
--11:55:41--  http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
           => `index.html.1'
Resolving oak.corporatebank.co.za... 10.198.1.29
Connecting to oak.corporatebank.co.za|10.198.1.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>                                                                                ] 50,405        --.--K/s            

11:55:41 (14.41 MB/s) - `index.html.1' saved [50405]

[root@dougfir gugu]#


 
02.15.2008 at 02:15AM PST, ID: 20900513

Rank: Guru




change your proxy scripts to

## proxy.sh

#To completely disable proxy:
#no_proxy="*"
export no_proxy=oak.corporatebank.co.za
export http_proxy=http://oak.corporatebank.co.za:4447
export HTTP_PROXY=http://oak.corporatebank.co.za:4447
export ftp_proxy=http://oak.corporatebank.co.za:4447
export FTP_PROXY=http://oak.corporatebank.co.za:4447
export FTP_PASSIVE="1"
#export no_proxy="172.20.8.87"



[gugu@tumnus ~]$ cat /etc/profile.d/proxy.csh
## proxy.csh

#To completely disable proxy:
#no_proxy="*"
setenv no_proxy oak.corporatebank.co.za
setenv http_proxy http://oak.corporatebank.co.za:4447
setenv HTTP_PROXY http://oak.corporatebank.co.za:4447
setenv ftp_proxy http://oak.corporatebank.co.za:4447
setenv FTP_PROXY http://oak.corporatebank.co.za:4447
setenv FTP_PASSIVE "1"
#setenv no_proxy "172.20.8.87"


run the scripts and then try yum and wget again. I added the no_proxy to the
oak.corporatebank.co.za this should fix it.
 
02.15.2008 at 02:30AM PST, ID: 20900570
Hi shakoush

The problem is not fixed please check below,

[root@tumnus profile.d]# cat proxy.sh
## D.Pienaar 03/01/2007
## proxy.sh

#To completely disable proxy:
#no_proxy="*"
export no_proxy=oak.corporatebank.co.za
export http_proxy=http://oak.corporatebank.co.za:4447
export HTTP_PROXY=http://oak.corporatebank.co.za:4447
export ftp_proxy=http://oak.corporatebank.co.za:4447
export FTP_PROXY=http://oak.corporatebank.co.za:4447
export FTP_PASSIVE="1"
#export no_proxy="172.20.8.87"
[root@tumnus profile.d]# cat proxy.csh
## D.Pienaar 03/01/2007
## proxy.csh

#To completely disable proxy:
#no_proxy="*"
setenv no_proxy oak.corporatebank.co.za
setenv http_proxy http://oak.corporatebank.co.za:4447
setenv HTTP_PROXY http://oak.corporatebank.co.za:4447
setenv ftp_proxy http://oak.corporatebank.co.za:4447
setenv FTP_PROXY http://oak.corporatebank.co.za:4447
setenv FTP_PASSIVE "1"
#setenv no_proxy "172.20.8.87"
[root@tumnus profile.d]# wget http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/repodata/
--12:27:58--  http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/repodata/
           => `index.html'
Resolving oak.corporatebank.co.za... 10.198.1.29
Connecting to oak.corporatebank.co.za|10.198.1.29|:4447... failed: Connection refused.
[root@tumnus profile.d]# yum update
Setting up Update Process
Setting up repositories
http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates
failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
[root@tumnus profile.d]#
 
02.15.2008 at 02:37AM PST, ID: 20900598

Rank: Sage

edit Your
/etc/yum/yum.conf

add following line to skip proxy
proxy=_none_

OR get Your proxy running/accepting requests
BTW, the httpd service is to be started on remote, not local machine. There was misunderstand between us.
 
02.15.2008 at 02:44AM PST, ID: 20900625
I dont have access to our proxy server. I have edited the /etc/yum.conf with the extra line you provided but still not updating and only these two servers are not updating on my network.

[root@tumnus etc]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
proxy=_none_

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/
#Additional packages that may be useful
#[extras]
#name=CentOS-$releasever - Extras
#baseurl=http://oak.corporatebank.co.za/centos4-i386/RPMS.extras/
#Additional packages that extend functionality of existing packages
#[centosplus]
#name=CentOS-$releasever - Plus
#baseurl=http://oak.corporatebank.co.za/centos4-i386/RPMS.centosplus/

[root@tumnus etc]# yum update
Setting up Update Process
Setting up repositories
http://oak.corporatebank.co.za/centos4-i386/RPMS.updates/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates
failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
[root@tumnus etc]#
 
02.15.2008 at 02:48AM PST, ID: 20900639

Rank: Sage

Hmm, strange, try

proxy=
in main section

or
proxy=_none_
but in repository section.

No more ideas.
 
02.15.2008 at 02:49AM PST, ID: 20900645

Rank: Sage

> No more ideas.
except unsetting those env variables set in proxy.sh
Accepted Solution
 
02.15.2008 at 02:52AM PST, ID: 20900662

Rank: Guru

I.e. as @ravenpl said
try uncommenting

#no_proxy="*"
Assisted Solution
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628