HTTP connection / Proxy Fehler bei debian8 setup
Verfasst: 03 Nov 2016, 17:36
Hallo,
beim netboot Produkt debian8 setup hab ich trotz korrekter Proxy Einstellung einen http error 111 connection refused.
Um rauszukommen brauch ich einen Proxy - dessen Einstellung http://FQDN:3128 hab ich mittels einer Ubuntu Installation verifiziert - die lief auch problemlos durch.
Am Proxy selber hab ich die Einträge von der Ubuntu Installation aber keinen Zugriffsversuch der debian8 Installation - bin etwas ratlos wo der Fehler liegen könnte und ersuche um einen Hinweis. Weiter unten das log vom Installationsversuch
lg
Roland Jankoski
(1349) [5] [Nov 03 23:54:22] Getting kernel and initrd.... (debian8.py|275)
(1350) [7] [Nov 03 23:54:22] MessageSubject 'copy_overall' created (Message.py|99)
(1351) [7] [Nov 03 23:54:22] ProgressSubject 'copy_overall' created (Message.py|227)
(1352) [7] [Nov 03 23:54:22] MessageSubject 'copy_current' created (Message.py|99)
(1353) [7] [Nov 03 23:54:22] ProgressSubject 'copy_current' created (Message.py|227)
(1354) [6] [Nov 03 23:54:22] Copying from 'debian8/installfiles64/linux' to '/mnt/hd/tmp' (Repository.py|522)
(1355) [7] [Nov 03 23:54:22] Length of binary data to download: 3119232 bytes (Repository.py|742)
(1356) [7] [Nov 03 23:54:22] Transfer in from <open file u'/mnt/opsi/debian8/installfiles64/linux', mode 'rb' at 0x7f2e30910270> to <open file u'/mnt/hd/tmp/linux', mode 'wb' at 0x7f2e30910300>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1357) [7] [Nov 03 23:54:22] Filesize is: 3119232 (Repository.py|377)
(1358) [6] [Nov 03 23:54:22] Transfered 3046.12 kByte in 0.00 minutes, average speed was 77261.66 kByte/s (Repository.py|418)
(1359) [6] [Nov 03 23:54:22] Copy done (Repository.py|608)
(1360) [7] [Nov 03 23:54:22] MessageSubject 'copy_overall' created (Message.py|99)
(1361) [7] [Nov 03 23:54:22] ProgressSubject 'copy_overall' created (Message.py|227)
(1362) [7] [Nov 03 23:54:22] MessageSubject 'copy_current' created (Message.py|99)
(1363) [7] [Nov 03 23:54:22] ProgressSubject 'copy_current' created (Message.py|227)
(1364) [6] [Nov 03 23:54:22] Copying from 'debian8/installfiles64/initrd.gz' to '/mnt/hd/tmp' (Repository.py|522)
(1365) [7] [Nov 03 23:54:22] Length of binary data to download: 34424416 bytes (Repository.py|742)
(1366) [7] [Nov 03 23:54:22] Transfer in from <open file u'/mnt/opsi/debian8/installfiles64/initrd.gz', mode 'rb' at 0x7f2e30910300> to <open file u'/mnt/hd/tmp/initrd.gz', mode 'wb' at 0x7f2e30910270>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1367) [7] [Nov 03 23:54:22] Filesize is: 34424416 (Repository.py|377)
(1368) [6] [Nov 03 23:54:22] Transfered 33617.59 kByte in 0.01 minutes, average speed was 53823.71 kByte/s (Repository.py|418)
(1369) [6] [Nov 03 23:54:22] Copy done (Repository.py|608)
(1370) [5] [Nov 03 23:54:22] Uncompressing initrd.... (debian8.py|314)
(1371) [6] [Nov 03 23:54:22] Executing: ls -l /mnt/hd/tmp/initrd* (Posix.py|764)
(1372) [6] [Nov 03 23:54:22] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1373) [7] [Nov 03 23:54:22] >>> -rw-r--r-- 1 root root 34424416 Nov 3 23:54 /mnt/hd/tmp/initrd.gz (Posix.py|841)
(1374) [7] [Nov 03 23:54:22] Exit code: 0 (Posix.py|848)
(1375) [6] [Nov 03 23:54:22] Executing: gunzip /mnt/hd/tmp/initrd.gz (Posix.py|764)
(1376) [6] [Nov 03 23:54:22] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1377) [7] [Nov 03 23:54:23] Exit code: 0 (Posix.py|848)
(1378) [6] [Nov 03 23:54:23] Executing: ls -l /mnt/hd/tmp/initrd* (Posix.py|764)
(1379) [6] [Nov 03 23:54:23] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1380) [7] [Nov 03 23:54:23] >>> -rw-r--r-- 1 root root 97040384 Nov 3 23:54 /mnt/hd/tmp/initrd (Posix.py|841)
(1381) [7] [Nov 03 23:54:23] Exit code: 0 (Posix.py|848)
(1382) [5] [Nov 03 23:54:23] Mounting initrd .... (debian8.py|326)
(1383) [6] [Nov 03 23:54:23] Executing: mkdir -p /mnt/hd/tmp/mnt (Posix.py|764)
(1384) [6] [Nov 03 23:54:23] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1385) [7] [Nov 03 23:54:23] Exit code: 0 (Posix.py|848)
(1386) [6] [Nov 03 23:54:23] Executing: cd /mnt/hd/tmp/mnt ; cpio -idm -H newc --no-absolute-filenames < ../initrd (Posix.py|764)
(1387) [6] [Nov 03 23:54:23] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1388) [7] [Nov 03 23:54:24] >>> 189532 blocks (Posix.py|841)
(1389) [7] [Nov 03 23:54:24] Exit code: 0 (Posix.py|848)
(1390) [5] [Nov 03 23:54:24] Copy profile for patch.... (debian8.py|330)
(1391) [7] [Nov 03 23:54:24] MessageSubject 'copy_overall' created (Message.py|99)
(1392) [7] [Nov 03 23:54:24] ProgressSubject 'copy_overall' created (Message.py|227)
(1393) [7] [Nov 03 23:54:24] MessageSubject 'copy_current' created (Message.py|99)
(1394) [7] [Nov 03 23:54:24] ProgressSubject 'copy_current' created (Message.py|227)
(1395) [6] [Nov 03 23:54:24] Copying from 'debian8/debian8.cfg' to '/mnt/hd/tmp/installation_profile' (Repository.py|522)
(1396) [7] [Nov 03 23:54:24] Length of binary data to download: 21779 bytes (Repository.py|742)
(1397) [7] [Nov 03 23:54:24] Transfer in from <open file u'/mnt/opsi/debian8/debian8.cfg', mode 'rb' at 0x7f2e30910300> to <open file u'/mnt/hd/tmp/installation_profile', mode 'wb' at 0x7f2e30910390>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1398) [7] [Nov 03 23:54:24] Filesize is: 21779 (Repository.py|377)
(1399) [6] [Nov 03 23:54:24] Transfered 21.27 kByte in 0.00 minutes, average speed was 10918.82 kByte/s (Repository.py|418)
(1400) [6] [Nov 03 23:54:24] Copy done (Repository.py|608)
(1401) [5] [Nov 03 23:54:24] Copy /etc/default/keyboard for patch.... (debian8.py|336)
(1402) [7] [Nov 03 23:54:24] MessageSubject 'copy_overall' created (Message.py|99)
(1403) [7] [Nov 03 23:54:24] ProgressSubject 'copy_overall' created (Message.py|227)
(1404) [7] [Nov 03 23:54:24] MessageSubject 'copy_current' created (Message.py|99)
(1405) [7] [Nov 03 23:54:24] ProgressSubject 'copy_current' created (Message.py|227)
(1406) [6] [Nov 03 23:54:24] Copying from 'debian8/keyboard' to '/mnt/hd/tmp/keyboard' (Repository.py|522)
(1407) [7] [Nov 03 23:54:24] Length of binary data to download: 651 bytes (Repository.py|742)
(1408) [7] [Nov 03 23:54:24] Transfer in from <open file u'/mnt/opsi/debian8/keyboard', mode 'rb' at 0x7f2e30910390> to <open file u'/mnt/hd/tmp/keyboard', mode 'wb' at 0x7f2e30910300>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1409) [7] [Nov 03 23:54:24] Filesize is: 651 (Repository.py|377)
(1410) [6] [Nov 03 23:54:24] Transfered 0.64 kByte in 0.00 minutes, average speed was 1066.60 kByte/s (Repository.py|418)
(1411) [6] [Nov 03 23:54:24] Copy done (Repository.py|608)
(1412) [5] [Nov 03 23:54:24] Prepare patch file.... (debian8.py|408)
(1413) [2] [Nov 03 23:54:25] Traceback: (Logger.py|753)
(1414) [2] [Nov 03 23:54:25] File "/usr/local/bin/master.py", line 1461, in <module>
(1415) execfile(actionScript)
(1416) (Logger.py|753)
(1417) [2] [Nov 03 23:54:25] File "/tmp/debian8.py", line 417, in <module>
(1418) sourcesList = requests.get('%s/sources.list' % online_repository)
(1419) (Logger.py|753)
(1420) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 67, in get
(1421) return request('get', url, params=params, **kwargs)
(1422) (Logger.py|753)
(1423) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 53, in request
(1424) return session.request(method=method, url=url, **kwargs)
(1425) (Logger.py|753)
(1426) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
(1427) resp = self.send(prep, **send_kwargs)
(1428) (Logger.py|753)
(1429) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
(1430) r = adapter.send(request, **kwargs)
(1431) (Logger.py|753)
(1432) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 437, in send
(1433) raise ConnectionError(e, request=request)
(1434) (Logger.py|753)
(1435) [2] [Nov 03 23:54:25] ==>>> HTTPConnectionPool(host='ftp.de.debian.org', port=80): Max retries exceeded with url: /debian/sources.list (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f2e3091b690>: Failed to establish a new connection: [Errno 111] Connection refused',)) (master.py|1509)
(1436) [7] [Nov 03 23:54:25] Backend: <JSONRPCBackend(host=u'192.168.1.14', deflate=False)> (master.py|1512)
(1437) [7] [Nov 03 23:54:25] ProductId: debian8 (master.py|1513)
beim netboot Produkt debian8 setup hab ich trotz korrekter Proxy Einstellung einen http error 111 connection refused.
Um rauszukommen brauch ich einen Proxy - dessen Einstellung http://FQDN:3128 hab ich mittels einer Ubuntu Installation verifiziert - die lief auch problemlos durch.
Am Proxy selber hab ich die Einträge von der Ubuntu Installation aber keinen Zugriffsversuch der debian8 Installation - bin etwas ratlos wo der Fehler liegen könnte und ersuche um einen Hinweis. Weiter unten das log vom Installationsversuch
lg
Roland Jankoski
(1349) [5] [Nov 03 23:54:22] Getting kernel and initrd.... (debian8.py|275)
(1350) [7] [Nov 03 23:54:22] MessageSubject 'copy_overall' created (Message.py|99)
(1351) [7] [Nov 03 23:54:22] ProgressSubject 'copy_overall' created (Message.py|227)
(1352) [7] [Nov 03 23:54:22] MessageSubject 'copy_current' created (Message.py|99)
(1353) [7] [Nov 03 23:54:22] ProgressSubject 'copy_current' created (Message.py|227)
(1354) [6] [Nov 03 23:54:22] Copying from 'debian8/installfiles64/linux' to '/mnt/hd/tmp' (Repository.py|522)
(1355) [7] [Nov 03 23:54:22] Length of binary data to download: 3119232 bytes (Repository.py|742)
(1356) [7] [Nov 03 23:54:22] Transfer in from <open file u'/mnt/opsi/debian8/installfiles64/linux', mode 'rb' at 0x7f2e30910270> to <open file u'/mnt/hd/tmp/linux', mode 'wb' at 0x7f2e30910300>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1357) [7] [Nov 03 23:54:22] Filesize is: 3119232 (Repository.py|377)
(1358) [6] [Nov 03 23:54:22] Transfered 3046.12 kByte in 0.00 minutes, average speed was 77261.66 kByte/s (Repository.py|418)
(1359) [6] [Nov 03 23:54:22] Copy done (Repository.py|608)
(1360) [7] [Nov 03 23:54:22] MessageSubject 'copy_overall' created (Message.py|99)
(1361) [7] [Nov 03 23:54:22] ProgressSubject 'copy_overall' created (Message.py|227)
(1362) [7] [Nov 03 23:54:22] MessageSubject 'copy_current' created (Message.py|99)
(1363) [7] [Nov 03 23:54:22] ProgressSubject 'copy_current' created (Message.py|227)
(1364) [6] [Nov 03 23:54:22] Copying from 'debian8/installfiles64/initrd.gz' to '/mnt/hd/tmp' (Repository.py|522)
(1365) [7] [Nov 03 23:54:22] Length of binary data to download: 34424416 bytes (Repository.py|742)
(1366) [7] [Nov 03 23:54:22] Transfer in from <open file u'/mnt/opsi/debian8/installfiles64/initrd.gz', mode 'rb' at 0x7f2e30910300> to <open file u'/mnt/hd/tmp/initrd.gz', mode 'wb' at 0x7f2e30910270>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1367) [7] [Nov 03 23:54:22] Filesize is: 34424416 (Repository.py|377)
(1368) [6] [Nov 03 23:54:22] Transfered 33617.59 kByte in 0.01 minutes, average speed was 53823.71 kByte/s (Repository.py|418)
(1369) [6] [Nov 03 23:54:22] Copy done (Repository.py|608)
(1370) [5] [Nov 03 23:54:22] Uncompressing initrd.... (debian8.py|314)
(1371) [6] [Nov 03 23:54:22] Executing: ls -l /mnt/hd/tmp/initrd* (Posix.py|764)
(1372) [6] [Nov 03 23:54:22] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1373) [7] [Nov 03 23:54:22] >>> -rw-r--r-- 1 root root 34424416 Nov 3 23:54 /mnt/hd/tmp/initrd.gz (Posix.py|841)
(1374) [7] [Nov 03 23:54:22] Exit code: 0 (Posix.py|848)
(1375) [6] [Nov 03 23:54:22] Executing: gunzip /mnt/hd/tmp/initrd.gz (Posix.py|764)
(1376) [6] [Nov 03 23:54:22] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1377) [7] [Nov 03 23:54:23] Exit code: 0 (Posix.py|848)
(1378) [6] [Nov 03 23:54:23] Executing: ls -l /mnt/hd/tmp/initrd* (Posix.py|764)
(1379) [6] [Nov 03 23:54:23] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1380) [7] [Nov 03 23:54:23] >>> -rw-r--r-- 1 root root 97040384 Nov 3 23:54 /mnt/hd/tmp/initrd (Posix.py|841)
(1381) [7] [Nov 03 23:54:23] Exit code: 0 (Posix.py|848)
(1382) [5] [Nov 03 23:54:23] Mounting initrd .... (debian8.py|326)
(1383) [6] [Nov 03 23:54:23] Executing: mkdir -p /mnt/hd/tmp/mnt (Posix.py|764)
(1384) [6] [Nov 03 23:54:23] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1385) [7] [Nov 03 23:54:23] Exit code: 0 (Posix.py|848)
(1386) [6] [Nov 03 23:54:23] Executing: cd /mnt/hd/tmp/mnt ; cpio -idm -H newc --no-absolute-filenames < ../initrd (Posix.py|764)
(1387) [6] [Nov 03 23:54:23] Using encoding 'ANSI_X3.4-1968' (Posix.py|797)
(1388) [7] [Nov 03 23:54:24] >>> 189532 blocks (Posix.py|841)
(1389) [7] [Nov 03 23:54:24] Exit code: 0 (Posix.py|848)
(1390) [5] [Nov 03 23:54:24] Copy profile for patch.... (debian8.py|330)
(1391) [7] [Nov 03 23:54:24] MessageSubject 'copy_overall' created (Message.py|99)
(1392) [7] [Nov 03 23:54:24] ProgressSubject 'copy_overall' created (Message.py|227)
(1393) [7] [Nov 03 23:54:24] MessageSubject 'copy_current' created (Message.py|99)
(1394) [7] [Nov 03 23:54:24] ProgressSubject 'copy_current' created (Message.py|227)
(1395) [6] [Nov 03 23:54:24] Copying from 'debian8/debian8.cfg' to '/mnt/hd/tmp/installation_profile' (Repository.py|522)
(1396) [7] [Nov 03 23:54:24] Length of binary data to download: 21779 bytes (Repository.py|742)
(1397) [7] [Nov 03 23:54:24] Transfer in from <open file u'/mnt/opsi/debian8/debian8.cfg', mode 'rb' at 0x7f2e30910300> to <open file u'/mnt/hd/tmp/installation_profile', mode 'wb' at 0x7f2e30910390>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1398) [7] [Nov 03 23:54:24] Filesize is: 21779 (Repository.py|377)
(1399) [6] [Nov 03 23:54:24] Transfered 21.27 kByte in 0.00 minutes, average speed was 10918.82 kByte/s (Repository.py|418)
(1400) [6] [Nov 03 23:54:24] Copy done (Repository.py|608)
(1401) [5] [Nov 03 23:54:24] Copy /etc/default/keyboard for patch.... (debian8.py|336)
(1402) [7] [Nov 03 23:54:24] MessageSubject 'copy_overall' created (Message.py|99)
(1403) [7] [Nov 03 23:54:24] ProgressSubject 'copy_overall' created (Message.py|227)
(1404) [7] [Nov 03 23:54:24] MessageSubject 'copy_current' created (Message.py|99)
(1405) [7] [Nov 03 23:54:24] ProgressSubject 'copy_current' created (Message.py|227)
(1406) [6] [Nov 03 23:54:24] Copying from 'debian8/keyboard' to '/mnt/hd/tmp/keyboard' (Repository.py|522)
(1407) [7] [Nov 03 23:54:24] Length of binary data to download: 651 bytes (Repository.py|742)
(1408) [7] [Nov 03 23:54:24] Transfer in from <open file u'/mnt/opsi/debian8/keyboard', mode 'rb' at 0x7f2e30910390> to <open file u'/mnt/hd/tmp/keyboard', mode 'wb' at 0x7f2e30910300>, dynamic bandwidth False, max bandwidth 0 (Repository.py|366)
(1409) [7] [Nov 03 23:54:24] Filesize is: 651 (Repository.py|377)
(1410) [6] [Nov 03 23:54:24] Transfered 0.64 kByte in 0.00 minutes, average speed was 1066.60 kByte/s (Repository.py|418)
(1411) [6] [Nov 03 23:54:24] Copy done (Repository.py|608)
(1412) [5] [Nov 03 23:54:24] Prepare patch file.... (debian8.py|408)
(1413) [2] [Nov 03 23:54:25] Traceback: (Logger.py|753)
(1414) [2] [Nov 03 23:54:25] File "/usr/local/bin/master.py", line 1461, in <module>
(1415) execfile(actionScript)
(1416) (Logger.py|753)
(1417) [2] [Nov 03 23:54:25] File "/tmp/debian8.py", line 417, in <module>
(1418) sourcesList = requests.get('%s/sources.list' % online_repository)
(1419) (Logger.py|753)
(1420) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 67, in get
(1421) return request('get', url, params=params, **kwargs)
(1422) (Logger.py|753)
(1423) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 53, in request
(1424) return session.request(method=method, url=url, **kwargs)
(1425) (Logger.py|753)
(1426) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
(1427) resp = self.send(prep, **send_kwargs)
(1428) (Logger.py|753)
(1429) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
(1430) r = adapter.send(request, **kwargs)
(1431) (Logger.py|753)
(1432) [2] [Nov 03 23:54:25] File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 437, in send
(1433) raise ConnectionError(e, request=request)
(1434) (Logger.py|753)
(1435) [2] [Nov 03 23:54:25] ==>>> HTTPConnectionPool(host='ftp.de.debian.org', port=80): Max retries exceeded with url: /debian/sources.list (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f2e3091b690>: Failed to establish a new connection: [Errno 111] Connection refused',)) (master.py|1509)
(1436) [7] [Nov 03 23:54:25] Backend: <JSONRPCBackend(host=u'192.168.1.14', deflate=False)> (master.py|1512)
(1437) [7] [Nov 03 23:54:25] ProductId: debian8 (master.py|1513)