#1  
Old 4th March 2010, 18:21
Centos_user Centos_user is offline
Junior Member
 
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos 5,3 and yum

Hello Guys,
i got lately my host installed and configurated runing Vmware server 2.0.2
the only problem i have now is i am behind proxy so my yum is not working,
i did all the solution i can find in google
edite the etc/yum.conf file and /etc/profil
adding the proxy, export the proxy but nothing help
when i run yum update i get the next error and hope someone can help me with this
Quote:
l-linuxtest /]# yum update
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...64&repo=addons error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again
Reply With Quote
Sponsored Links
  #2  
Old 5th March 2010, 14:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

This looks like a problem with your DNS servers. Do you have valid DNS servers in /etc/resolv.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 5th March 2010, 17:03
cyberbot cyberbot is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes i do have the correct one on the
/etc/resolv.conf
just check it,
thank you
Reply With Quote
  #4  
Old 7th March 2010, 21:54
RedLay RedLay is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check config at interface eth0 (if you have eth0 interface).
If config is ok then type in console ifconfig & check interface.
Try ping to some website example: centos24.pl
More info in forum CentOS Linux
__________________
Forum użytkownikw CentOS 5 Linux
Reply With Quote
  #5  
Old 8th March 2010, 10:52
cyberbot cyberbot is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by RedLay View Post
Check config at interface eth0 (if you have eth0 interface).
If config is ok then type in console ifconfig & check interface.
Try ping to some website example: centos24.pl
More info in forum CentOS Linux
Hello Red Lady
thank you for the answer,
eth0 is ok all is ok i can ping my DNS but i can't ping outside the network,
i can browse to the internet, all seems ok
now Yum is working only if i am in The terminal,
when i connect with SSh ( putty) its gives me this,


Quote:
[root@linux /]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: archive.cs.uu.nl
* base: archive.cs.uu.nl
* extras: archive.cs.uu.nl
* updates: archive.cs.uu.nl
http://archive.cs.uu.nl/mirror/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://centos.mirror.easycolocate.nl...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://centos.mirror.transip.nl/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.4...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.leaseweb.com/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.liteserver.nl/pub/cent...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/L...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://centos.mirror.easycolocate.nl...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://centos.mirror.transip.nl/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.4...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.leaseweb.com/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.liteserver.nl/pub/cent...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/L...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://centos.mirror.easycolocate.nl...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://centos.mirror.transip.nl/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.4...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.leaseweb.com/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.liteserver.nl/pub/cent...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/L...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://centos.mirror.easycolocate.nl...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://centos.mirror.transip.nl/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://ftp.nluug.nl/ftp/pub/os/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://ftp.tudelft.nl/centos.org/5.4...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.leaseweb.com/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.liteserver.nl/pub/cent...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirror.oxilion.nl/centos/5.4/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://mirror.widexs.nl/ftp/pub/os/L...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
http://mirrors.nl.kernel.org/centos/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Reply With Quote
  #6  
Old 8th March 2010, 14:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

What are the outputs of
Code:
env
in the terminal and in SSH?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 10th March 2010, 12:59
cyberbot cyberbot is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this the SSH

Quote:
HOSTNAME=linux.test.com
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=10.64.6.33 50314 22
SSH_TTY=/dev/pts/0
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36i=40;33:s o=00;35:bd=40;33;01:cd=40;33;01r=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com =00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00 ;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;3 1:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz =00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00; 31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
INPUTRC=/etc/inputrc
PWD=/root
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
LOGNAME=root
SSH_CONNECTION=10.64.6.33 50314 10.64.3.231 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env

terminal

Quote:
SSH_AGENT_PID=3577
HOSTNAME=linux.test.com
DESKTOP_STARTUP_ID=
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
WINDOWID=23068753
http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36i=40;33:s o=00;35:bd=40;33;01:cd=40;33;01r=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com =00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00 ;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;3 1:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz =00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00; 31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
GNOME_KEYRING_SOCKET=/tmp/keyring-b4Tcyi/socket
SSH_AUTH_SOCK=/tmp/ssh-jMfNBX3541/agent.3541
SESSION_MANAGER=local/linux.test.com:/tmp/.ICE-unix/3541
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
DESKTOP_SESSION=default
GDM_XSERVER_LOCATION=local
INPUTRC=/etc/inputrc
PWD=/root
XMODIFIERS=@im=none
LANG=en_US.UTF-8
GDMSESSION=default
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=2
HOME=/root
no_proxy=localhost,127.0.0.0/8
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=root
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-StqJtLai0e,guid=d0852eb78dcc27d8d14c7f004b977c91
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/tmp/.gdm6BZ28U
_=/bin/env

Last edited by cyberbot; 10th March 2010 at 13:10.
Reply With Quote
  #8  
Old 11th March 2010, 18:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

In the terminal you have the following environment variable:
Code:
http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
which is not present in an SSH session.
What happens when you do
Code:
http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
in your SSH session? Does yum work then?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 15th March 2010, 15:48
cyberbot cyberbot is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
In the terminal you have the following environment variable:
Code:
http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
which is not present in an SSH session.
What happens when you do
Code:
http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
in your SSH session? Does yum work then?
no its doesn't only on the terminal,
how can i add those into the SSH log file?
Reply With Quote
  #10  
Old 16th March 2010, 15:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

Can you run
Code:
export http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
? Does it work then?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck on Centos Yum update fgaughan Installation/Configuration 6 20th September 2013 15:40
Problems with Yum following The Perfect Server - CentOS 5.3 x86_64 Guide GOPalmer HOWTO-Related Questions 7 1st July 2009 15:20
Yum in Centos 5.2 Drivin me insane. crazysexycool Installation/Configuration 3 24th February 2009 20:28
Problem with running 'yum update' on my CentOS VPS dealspiggy Server Operation 1 21st October 2008 11:30
Installing Yum in CentOS on a VPS coolvik Installation/Configuration 1 12th March 2008 20:49


All times are GMT +2. The time now is 21:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.