LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-19-2009, 11:16 AM   #1
aceone
Member
 
Registered: Apr 2009
Posts: 55

Rep: Reputation: 15
yum error connection refused


Hi,
I am using RHEL5 on VMWare.i have created a yum repository and its client file.I am getting a error " connection refused".I tried iptables -F ,but it did'nt helped.my .repo file is

[Server]
name=Server
baseurl=ftp://192.168.0.254/pub/Server
gpgcheck=0

similarly for VT
..

my machine's ip is 192.168.0.254.when i do yum list,i get error message.kindly help.

Thanks
 
Old 08-19-2009, 11:17 AM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Are you able to do anonymous ftp to 192.168.0.254 outside of yum?

Forrest
 
Old 08-19-2009, 11:58 AM   #3
aceone
Member
 
Registered: Apr 2009
Posts: 55

Original Poster
Rep: Reputation: 15
No."connection refused"
 
Old 08-19-2009, 12:13 PM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Are you running an ftp server?

Forrest
 
Old 08-19-2009, 12:40 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
If you are running RHEL in a VM, RHEL will have a virtual ip address that is different (and probably on a different sub net) than the machines ip. This may be causing issues with the way your ftp server is configured. ethtool ethX will spit out what RHEL thinks its ip is(X for whatever nic it is).
 
Old 08-19-2009, 12:47 PM   #6
aceone
Member
 
Registered: Apr 2009
Posts: 55

Original Poster
Rep: Reputation: 15
no ftp server.
Its a fresh install.
i have specified the IP address using neat-tui.i can even ping it from other RHEL machine (unother VMWare) i was getting ftp connection refused error and now its damaged repomd.xml file error.


Last edited by aceone; 08-19-2009 at 01:13 PM.
 
Old 08-19-2009, 01:13 PM   #7
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Well, if you are trying to connect to your system via ftp, you will need to run an ftp server. If you want to have yum connect, you will need anonymous ftp.

HTH

Forrest
 
  


Reply



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
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 03:46 PM
rsync error: Connection Refused gtjmn308 Linux - Software 1 04-28-2006 09:42 AM
Telnet: error connection refused v1nc3nt Linux - Newbie 3 03-24-2006 05:11 AM
Connection refused error sweetyedwin Linux - Networking 1 07-15-2004 03:11 AM
Connection refused error robs4linux Linux - Networking 2 03-19-2002 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:23 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
Open Source Consulting | Domain Registration