OpenVZ Forum


Home » International » German » vzyum hinter proxy mit user/passwort
vzyum hinter proxy mit user/passwort [message #7976] Wed, 01 November 2006 15:50 Go to previous message
rookie is currently offline  rookie
Messages: 12
Registered: October 2006
Location: CH
Junior Member
Hi

Ich habe im /vz/template/centos/4/i386/config/yum.conf meine Proxyangaben gemacht und trotzdem funktioniert vzyum nicht Sad

Inhalt von /vz/template/centos/4/i386/config/yum.conf :

------------------------
[main]
cachedir=/vz/template/centos/4/i386/yum-cache/
# Ugly hack to make yum disregard /etc/yum.repos.d/*repo files
# from both the host system and from inside VPS
reposdir=/dev/null
# Fix for bug #78 - we do not want to install dummy,
# we want to upgrade it.
installonlypkgs=''
proxy=http://proxy.myhome.ch:3128/
proxy_username=vorname.nachname
proxy_password=meinpasswort

[centos4-vz-addons]
name=OpenVZ add-ons for CentOS 4 - i386
baseurl=file:///vz/template/centos/4/i386/vz-addons/
enabled=1
gpgcheck=0

[centos4-base]
name=CentOS 4 - i386 - Base
baseurl=http://mirror.centos.org/centos/4/os/i386/
enabled=1
gpgcheck=1

[centos4-updates-released]
name=CentOS 4 - i386 - Released Updates
baseurl=http://mirror.centos.org/centos/4/updates/i386/
enabled=1
gpgcheck=1
-------------------------------


Wenn ich z.B. "vzyum <vpsID> update" ausführe kommt folgender Error beim holen des XML:
"HTTP Error 400: Bad Request"

Hier das ganze:
--------------------------------
# vzyum 234 update
exec /usr/share/vzyum/bin/yum -c /vz/template/centos/4/i386/config/yum.conf --installroot /home/vz/root/234 --vps=234 update
Setting up Update Process
Setting up repositories
centos4-vz-addons 100% |=========================| 951 B 00:00
centos4-base 100% |=========================| 1.1 kB 00:00
http://mirror.centos.org/centos/4/updates/i386/repodata/repo md.xml: [Errno 14] HTTP Error 400: Bad Request
Trying other mirror.
Cannot open/read repomd.xml file for repository: centos4-updates-released
failure: repodata/repomd.xml from centos4-updates-released: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from centos4-updates-released: [Errno 256] No more mirrors to try.
-----------------------

Muss ich sonst noch irgendwo Proxy-Einstellungen machen? Wo könnte das Problem liegen?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzyum
Next Topic: Problem mit Speicherzuteilung
Goto Forum:
  


Current Time: Fri Nov 15 10:27:01 GMT 2024

Total time taken to generate the page: 0.04570 seconds