Univention Bugzilla – Bug 17414
Traceback im univention-updater wenn Proxy Port falsch gesetzt ist
Last modified: 2011-09-14 10:57:14 CEST
-> ucr set proxy/http="proxyhost:3127" Setting proxy/http File: /etc/profile File: /etc/apt/apt.conf.d/80proxy (es müsste eigentlich proxyhost:3128 sein, 3127 gibt es auf proxyhost nicht) -> univention-updater net Traceback (most recent call last): File "/usr/sbin/univention-updater", line 611, in ? main() File "/usr/sbin/univention-updater", line 509, in main nextversion=update_available('net', baseConfig, cdrom_mount_point,sourcedir, stdout, sys.stdout, reboot, iso=iso, updater=updater) File "/usr/sbin/univention-updater", line 287, in update_available nextversion = updater.release_update_available() File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 284, in release_update_available return self.get_next_version( UCS_Version( ( self.version_major, self.version_minor, self.patchlevel ) ) ) File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 272, in get_next_version if self.net_path_exists( '%d.%d/maintained/%d.%d-%d/' % ( version.major, version.minor, version.major, version.minor, version.patchlevel + 1 ) ): #check for x.y-(z+1) File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 248, in net_path_exists self.connection.endheaders () File "/usr/lib/python2.4/httplib.py", line 798, in endheaders self._send_output() File "/usr/lib/python2.4/httplib.py", line 679, in _send_output self.send(msg) File "/usr/lib/python2.4/httplib.py", line 646, in send self.connect() File "/usr/lib/python2.4/httplib.py", line 630, in connect raise socket.error, msg socket.error: (111, 'Connection refused')
Funktioniert mit 2.4-2
# dieser proxy funktioniert -> ucr set proxy/http="http://10.200.7.178:3128" Setting proxy/http File: /etc/profile File: /etc/apt/apt.conf.d/80proxy -> univention-updater net Checking network repository System is up to date (UCS 2.4-3) # dieser nicht -> ucr set proxy/http="http://10.200.7.178:3129" Setting proxy/http File: /etc/profile File: /etc/apt/apt.conf.d/80proxy -> univention-updater net Error: Update aborted due to configuration error: Proxy configuration error: port is closed Error: Please check "/var/log/univention/updater.log" for details. OK funktionierte auch schon mit 2.4-2 -> kein Changelog Eintrag
UCS 2.4-3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".