
4th March 2010, 17:21
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

5th March 2010, 13:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
This looks like a problem with your DNS servers. Do you have valid DNS servers in /etc/resolv.conf?
|

5th March 2010, 16:03
|
|
Junior Member
|
|
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yes i do have the correct one on the
/etc/resolv.conf
just check it,
thank you
|

7th March 2010, 20:54
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

8th March 2010, 09:52
|
|
Junior Member
|
|
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by RedLay
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.
|
|

8th March 2010, 13:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What are the outputs of in the terminal and in SSH?
|

10th March 2010, 11:59
|
|
Junior Member
|
|
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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;36 i=40;33:s o=00;35:bd=40;33;01:cd=40;33;01 r=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;36 i=40;33:s o=00;35:bd=40;33;01:cd=40;33;01 r=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 12:10.
|

11th March 2010, 17:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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?
|

15th March 2010, 14:48
|
|
Junior Member
|
|
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
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?
|

16th March 2010, 14:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Can you run
Code:
export http_proxy=http://XXXXX:XXXX@10.64.2.43:80/
? Does it work then?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:50.
|
Recent comments
12 hours 27 min ago
17 hours 25 min ago
18 hours 52 min ago
19 hours 45 min ago
21 hours 28 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 18 hours ago
1 day 19 hours ago