1stboot.py läuft nicht fehlerfrei durch

J.K.
Beiträge: 19
Registriert: 02 Jul 2008, 11:17

1stboot.py läuft nicht fehlerfrei durch

Beitrag von J.K. »

Hallo,

ich habe ein Problem mit dem 1stboot.py script, am Ende erscheint immer folgende Fehlermeldung.

Code: Alles auswählen

Command 'bash -c '/etx/init.d/opsiconfd stop
rm /etc/opsi/opsiconfd.pem
cat /tmp/opsiconfd.cert | openssl req -new -x509 -keyout /etc/opsi/opsiconfd.pem
out /etc/opsi/opsiconfd.pem -days 365 -nodes 1>/dev/null 2>/dev/null
chown opsiconfd:opsiadmin /etc/opsi/opsiconfd.pem || true
chmod 640 /etc/opsi/opsiconfd.pem
/etc/init.d/opsiconfd start'' failed (256): Stopping opsi config service... (not running).
Starting opsi config service............    (failed).
Wenn ich die opsiconfd.pem selbst löschen und neuinstalliere, startet zwar der opsiconf dienst, aber beim login bekomme ich:

Code: Alles auswählen

Configured depotId 'opsi.test.local' for host 'None' not in list of known depotIds
['vmix40.uib.local']""class":"BackendMissingDataRerror"]
Der uib Eintrag wurde wohl nicht überschrieben, da das Script nicht ganz durchläuft.

Gruß Jonas
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von d.oertel »

Hi,

bitte mal posten:
(so es sie gibt)
/var/log/opsi/1stboot/1stboot.log
und
/var/log/opsi/opsiconfd/opsiconfd.log

gruss
detlef oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


J.K.
Beiträge: 19
Registriert: 02 Jul 2008, 11:17

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von J.K. »

Hi Detlef,

die opsiconfd.log ist vorhanden.

Code: Alles auswählen

==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 11:36:47] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 11:36:48] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 11:36:48] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[4] [May 26 11:36:48] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd|1460)
[4] [May 26 11:43:12] Got signal 15, exiting... (opsiconfd|1185)
[4] [May 26 11:43:12] Execution time statistics: minimum 0.000s, maximum 0.039s, average 0.008s (opsiconfd|1154)
[0] [May 26 11:44:53] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 11:44:53] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 11:44:53] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 11:44:53] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[4] [May 26 11:44:54] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd|1460)
[4] [May 26 11:47:11] Got signal 15, exiting... (opsiconfd|1185)
[4] [May 26 11:47:11] No execution statistics found. (opsiconfd|1139)
[2] [May 26 11:47:11] Failed to unlink pid-file '/var/run/opsiconfd.pid' (opsiconfd|1503)
[0] [May 26 11:47:14] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 11:47:14] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 11:47:14] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 11:47:14] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[4] [May 26 11:47:14] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd|1460)
[4] [May 26 11:51:22] Got signal 15, exiting... (opsiconfd|1185)
[4] [May 26 11:51:22] Execution time statistics: minimum 0.000s, maximum 0.025s, average 0.006s (opsiconfd|1154)
[0] [May 26 11:51:24] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 11:51:25] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 11:51:25] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 11:51:25] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[4] [May 26 11:51:25] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd|1460)
[4] [May 26 12:10:35] Got signal 15, exiting... (opsiconfd|1185)
[4] [May 26 12:10:35] Execution time statistics: minimum 0.000s, maximum 0.025s, average 0.005s (opsiconfd|1154)
[0] [May 26 12:10:37] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 12:10:38] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 12:10:38] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 12:10:38] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 12:10:38] Traceback: (Logger.py|647)
[1] [May 26 12:10:38]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:10:38]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:10:38]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 12:10:38]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 12:10:38]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 12:10:38]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:10:38]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 12:10:38] ERROR: (opsiconfd|1507)
[2] [May 26 12:10:38]   (opsiconfd|1507)
[2] [May 26 12:10:38] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 12:10:38] 
 (opsiconfd|1507)
[0] [May 26 12:11:27] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 12:11:28] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 12:11:28] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 12:11:28] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 12:11:28] Traceback: (Logger.py|647)
[1] [May 26 12:11:28]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:11:28]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:11:28]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 12:11:28]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 12:11:28]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 12:11:28]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:11:28]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 12:11:28] ERROR: (opsiconfd|1507)
[2] [May 26 12:11:28]   (opsiconfd|1507)
[2] [May 26 12:11:28] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 12:11:28] 
 (opsiconfd|1507)
[0] [May 26 12:45:01] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 12:45:01] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 12:45:01] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 12:45:01] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 12:45:01] Traceback: (Logger.py|647)
[1] [May 26 12:45:01]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:45:01]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:45:01]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 12:45:01]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 12:45:01]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 12:45:01]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:45:01]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 12:45:01] ERROR: (opsiconfd|1507)
[2] [May 26 12:45:01]   (opsiconfd|1507)
[2] [May 26 12:45:01] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 12:45:01] 
 (opsiconfd|1507)
[0] [May 26 12:46:06] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 12:46:06] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 12:46:06] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 12:46:06] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 12:46:06] Traceback: (Logger.py|647)
[1] [May 26 12:46:06]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:46:06]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:46:06]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 12:46:06]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 12:46:06]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 12:46:06]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:46:06]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 12:46:06] ERROR: (opsiconfd|1507)
[2] [May 26 12:46:06]   (opsiconfd|1507)
[2] [May 26 12:46:06] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 12:46:06] 
 (opsiconfd|1507)
[0] [May 26 12:46:50] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 12:46:50] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 12:46:50] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 12:46:50] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 12:46:50] Traceback: (Logger.py|647)
[1] [May 26 12:46:50]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:46:50]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:46:50]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 12:46:50]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 12:46:50]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 12:46:50]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 12:46:50]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 12:46:50] ERROR: (opsiconfd|1507)
[2] [May 26 12:46:50]   (opsiconfd|1507)
[2] [May 26 12:46:50] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 12:46:50] 
 (opsiconfd|1507)
[0] [May 26 12:47:31] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 12:47:31] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 12:47:31] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 12:47:31] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[4] [May 26 12:47:31] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd|1460)
[4] [May 26 13:55:48] Got signal 15, exiting... (opsiconfd|1185)
[4] [May 26 13:55:48] Execution time statistics: minimum 0.000s, maximum 0.097s, average 0.024s (opsiconfd|1154)
[0] [May 26 14:58:22] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 14:58:23] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 14:58:23] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 14:58:23] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[4] [May 26 14:58:23] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd|1460)
[4] [May 26 15:10:55] Got signal 15, exiting... (opsiconfd|1185)
[4] [May 26 15:10:55] No execution statistics found. (opsiconfd|1139)
[2] [May 26 15:10:55] Failed to unlink pid-file '/var/run/opsiconfd.pid' (opsiconfd|1503)
[0] [May 26 15:10:56] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 15:10:56] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 15:10:56] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 15:10:56] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 15:10:56] Traceback: (Logger.py|647)
[1] [May 26 15:10:56]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 15:10:56]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 15:10:56]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 15:10:56]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 15:10:56]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 15:10:56]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 15:10:56]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 15:10:56] ERROR: (opsiconfd|1507)
[2] [May 26 15:10:56]   (opsiconfd|1507)
[2] [May 26 15:10:56] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 15:10:56] 
 (opsiconfd|1507)
[0] [May 26 13:25:20] 
==================================================================
             OPSI configuration-service starting
==================================================================
 (opsiconfd|1408)
[4] [May 26 13:25:21] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1206)
[4] [May 26 13:25:21] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1233)
[4] [May 26 13:25:21] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1228)
[1] [May 26 13:25:21] Traceback: (Logger.py|647)
[1] [May 26 13:25:21]      line 1490 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 13:25:21]      line 1456 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 13:25:21]      line 353 in 'listenSSL' in file '/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py' (Logger.py|647)
[1] [May 26 13:25:21]      line 736 in 'startListening' in file '/usr/lib/python2.5/site-packages/twisted/internet/tcp.py' (Logger.py|647)
[1] [May 26 13:25:21]      line 168 in 'createInternetSocket' in file '/usr/lib/python2.5/site-packages/twisted/internet/ssl.py' (Logger.py|647)
[1] [May 26 13:25:21]      line 1001 in 'getContext' in file '/usr/sbin/opsiconfd' (Logger.py|647)
[1] [May 26 13:25:21]      ==>>> [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1506)
[2] [May 26 13:25:21] ERROR: (opsiconfd|1507)
[2] [May 26 13:25:21]   (opsiconfd|1507)
[2] [May 26 13:25:21] [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] (opsiconfd|1507)
[2] [May 26 13:25:21] 
 (opsiconfd|1507)

Gruß Jonas
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1411
Registriert: 01 Jul 2008, 12:10

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von wolfbardo »

Hallo Jonas,

vorab:

in

opsi3.3.1-servervm.zip vom 20.5.
bzw.
opsi3.3.1-server-install-cd_20090414.iso

wurde das 1stboot.py verbessert und liefert nun Logs in /var/log/opsi/1stboot/1stboot.log

Bitte

/etc/hosts

/var/lib/opsi/config/global.ini bzw. /var/lib/opsi/config/depots

prüfen ggfs posten.

Vielleicht hilft

Code: Alles auswählen

rm -r /var/lib/opsi/config/depots/*
apt-get install --reinstall opsi-depotserver
Gruss
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


J.K.
Beiträge: 19
Registriert: 02 Jul 2008, 11:17

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von J.K. »

Hallo Bardo,

ich werde dann mal demnächst die neue Server-CD herunterladen.
Die reinstallations des Depotserver lässt die 1stboot.py nicht durchlaufen, aber beim login kommt keine Fehlermeldung mehr.

Die global.ini ist total falsch.

Code: Alles auswählen

[generalConfig]
pcptchBitmap1 = winst1.bmp
pcptchBitmap2 = winst2.bmp
pcptchLabel1 = opsi
pcptchLabel2 = uib
secsUntilConnectionTimeOut = 180
button_stopnetworking = 

[networkConfig]
utilsDrive = P:
depotDrive = P:
configDrive = O:
depotId = vmix40.uib.local
winDomain = WG_OPSI
nextBootServerType = service
nextBootServiceURL = https://192.168.4.40:4447
Gruß Jonas
J.K.
Beiträge: 19
Registriert: 02 Jul 2008, 11:17

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von J.K. »

Hallo,

ich habe die neuster Version ausprobiert, aber selbe Ergebnis.
Eine 1stboot.log wird nicht erstellt.
Auch die global.ini sieht geringfühig anderst aus:

Code: Alles auswählen

[generalConfig]
pcptchBitmap1 = winst1.bmp
pcptchBitmap2 = winst2.bmp
pcptchLabel1 = opsi
pcptchLabel2 = uib
secsUntilConnectionTimeOut = 180
button_stopnetworking = 

[networkConfig]
utilsDrive = P:
depotDrive = P:
configDrive = O:
depotId = vmix004.uib.local
winDomain = OPSI
nextBootServerType = service
nextBootServiceURL = https://192.168.4.40:4447
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von d.oertel »

Hi,

sorry
und liefert nun Logs in /var/log/opsi/1stboot/1stboot.log
war falsch.
Richtig ist:
/var/lib/1stboot/1stboot.log

Bitte da mal nachschauen und posten.

gruss
detlef oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


J.K.
Beiträge: 19
Registriert: 02 Jul 2008, 11:17

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von J.K. »

Hallo,

kein Problem, jetzt hab ichs ja gefunden.

Code: Alles auswählen

Mai 28 11:29:09 [warning] MD5-Checksum file '/var/lib/1stboot/md5checksums' does not exist! (1stboot.py|193)
Mai 28 11:30:04 [debug] Config: [{'regex': '^[a-z0-9\\-]{1,63}$', 'help': 'Bitte geben Sie einen Namen f\xc3\xbcr den Server ein.\nErlaubte Zeichen sind a-z, 0-9 und als Sonderzeichen - (Bindestrich). Bitte nur Kleinbuchstaben verwenden.', 'value': 'opsi', 'key': 'hostname', 'name': 'Servername'}, {'regex': '^[a-z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$', 'help': 'Bitte geben Sie den Name Ihrer DNS-Domain inklusive Top-Level Domain an (z.B.: meine-firma.local).', 'value': 'jowe.local', 'key': 'domain', 'name': 'Domain'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse an die dieser Server verwenden soll.', 'value': '10.0.2.15', 'key': 'ip', 'name': 'IP-Adresse'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die Netzmaske Ihres Netzwerks an.', 'value': '255.255.255.0', 'key': 'netmask', 'name': 'Netzwerk-Maske'}, {'regex': '^[\\w-]{1,15}$', 'help': 'Bitte geben Sie den Namen ihrer Windows-Arbeitsgruppe bzw. Windows-Dom\xc3\xa4ne ein.', 'value': 'workgroup', 'key': 'workgroup', 'name': 'Windows-Arbeitsgruppe'}, {'regex': '^[A-Z][A-Z]$', 'help': 'Bitte geben Sie Ihren Laendercode an (2 Gro\xc3\x9fbuchstaben).', 'value': 'DE', 'key': 'cert_country', 'name': 'Zertifikat - Laendercode'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Bundesstaat ein.', 'value': 'RP', 'key': 'cert_state', 'name': 'Zertifikat - Staat'}, {'regex': '', 'help': 'Bitte geben Sie Ihre Stadt an.', 'value': '', 'key': 'cert_locality', 'name': 'Zertifikat - Stadt'}, {'regex': '', 'help': 'Bitte geben Sie den Namen Ihrer Firma ein.', 'value': '', 'key': 'cert_organization', 'name': 'Zertifikat - Firma'}, {'regex': '', 'help': 'Bitte geben Sie Ihre E-Mail-Adresse ein (optional).', 'value': '', 'key': 'cert_email', 'name': 'Zertifikat E-Mail'}] (1stboot.py|86)
Mai 28 11:30:34 [debug] Config: [{'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse Ihres Standard-Gateways an.', 'value': '10.0.2.254', 'key': 'gateway', 'name': 'Gateway'}, {'regex': '^http://[^:]+:\\d+$', 'help': 'Sollten Sie f\xc3\xbcr den Zugriff aufs Internet einen Proxy-Server ben\xc3\xb6tigen,\ngeben Sie hier bitte die volle URL des Proxy-Servers (inklusive Port) an (z.B.: http://192.168.1.254:8080).\nWenn ein direkter Zugriff auf das Internet m\xc3\xb6glich ist kann dieses Feld leer bleiben.', 'value': '', 'key': 'proxy', 'name': 'Proxy'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse eines DNS Servers in ihrem Netzwerk an (sofern vorhanden).', 'value': '10.0.2.3', 'key': 'dns', 'name': 'DNS'}, {'regex': '', 'help': 'Geben Sie hier die Adresse Ihres Mail-Relays an, falls vorhanden.', 'value': '', 'key': 'mailrelay', 'name': 'Mail relay'}, {'regex': '', 'help': 'Bitte geben Sie die IP-Adresse Ihres TFTP-Servers an. In der Regel ist dies die IP-Adresse des Opsi-Servers.', 'value': '10.0.2.15', 'key': 'tftpserver', 'name': 'TFTP server'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Abteilungsnamen ein (optional).', 'value': '', 'key': 'cert_unit', 'name': 'Zertifikat - Abteilung'}] (1stboot.py|86)
Mai 28 11:30:34 [debug] [{'regex': '^[a-z0-9\\-]{1,63}$', 'help': 'Bitte geben Sie einen Namen f\xc3\xbcr den Server ein.\nErlaubte Zeichen sind a-z, 0-9 und als Sonderzeichen - (Bindestrich). Bitte nur Kleinbuchstaben verwenden.', 'value': 'opsi', 'key': 'hostname', 'name': 'Servername'}, {'regex': '^[a-z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$', 'help': 'Bitte geben Sie den Name Ihrer DNS-Domain inklusive Top-Level Domain an (z.B.: meine-firma.local).', 'value': 'jowe.local', 'key': 'domain', 'name': 'Domain'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse an die dieser Server verwenden soll.', 'value': '10.0.2.15', 'key': 'ip', 'name': 'IP-Adresse'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die Netzmaske Ihres Netzwerks an.', 'value': '255.255.255.0', 'key': 'netmask', 'name': 'Netzwerk-Maske'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse Ihres Standard-Gateways an.', 'value': '10.0.2.254', 'key': 'gateway', 'name': 'Gateway'}, {'regex': '^http://[^:]+:\\d+$', 'help': 'Sollten Sie f\xc3\xbcr den Zugriff aufs Internet einen Proxy-Server ben\xc3\xb6tigen,\ngeben Sie hier bitte die volle URL des Proxy-Servers (inklusive Port) an (z.B.: http://192.168.1.254:8080).\nWenn ein direkter Zugriff auf das Internet m\xc3\xb6glich ist kann dieses Feld leer bleiben.', 'value': '', 'key': 'proxy', 'name': 'Proxy'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse eines DNS Servers in ihrem Netzwerk an (sofern vorhanden).', 'value': '10.0.2.3', 'key': 'dns', 'name': 'DNS'}, {'regex': '^[\\w-]{1,15}$', 'help': 'Bitte geben Sie den Namen ihrer Windows-Arbeitsgruppe bzw. Windows-Dom\xc3\xa4ne ein.', 'value': 'workgroup', 'key': 'workgroup', 'name': 'Windows-Arbeitsgruppe'}, {'regex': '', 'help': 'Geben Sie hier die Adresse Ihres Mail-Relays an, falls vorhanden.', 'value': '', 'key': 'mailrelay', 'name': 'Mail relay'}, {'regex': '', 'help': 'Bitte geben Sie die IP-Adresse Ihres TFTP-Servers an. In der Regel ist dies die IP-Adresse des Opsi-Servers.', 'value': '10.0.2.15', 'key': 'tftpserver', 'name': 'TFTP server'}, {'regex': '^[A-Z][A-Z]$', 'help': 'Bitte geben Sie Ihren Laendercode an (2 Gro\xc3\x9fbuchstaben).', 'value': 'DE', 'key': 'cert_country', 'name': 'Zertifikat - Laendercode'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Bundesstaat ein.', 'value': 'RP', 'key': 'cert_state', 'name': 'Zertifikat - Staat'}, {'regex': '', 'help': 'Bitte geben Sie Ihre Stadt an.', 'value': '', 'key': 'cert_locality', 'name': 'Zertifikat - Stadt'}, {'regex': '', 'help': 'Bitte geben Sie den Namen Ihrer Firma ein.', 'value': '', 'key': 'cert_organization', 'name': 'Zertifikat - Firma'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Abteilungsnamen ein (optional).', 'value': '', 'key': 'cert_unit', 'name': 'Zertifikat - Abteilung'}, {'regex': '', 'help': 'Bitte geben Sie Ihre E-Mail-Adresse ein (optional).', 'value': '', 'key': 'cert_email', 'name': 'Zertifikat E-Mail'}, {'value': '10.0.2.0', 'key': 'net'}] (1stboot.py|342)
Mai 28 11:30:35 [debug] Executing: bash -x /tmp/1stboot_execonchange.sh || true 2>&1 (1stboot.py|268)
Mai 28 11:30:35 [error]  ->>> ++ hostname -f (Posix.py|177)
Mai 28 11:30:35 [error]  ->>> + echo hostname:vmax004.uib.local (Posix.py|177)
Mai 28 11:30:35 [error]  ->>> ++ grep address /etc/network/interfaces (Posix.py|177)
Mai 28 11:30:35 [error]  ->>> ++ cut -f 2 (Posix.py|177)
Mai 28 11:30:35 [error]  ->>> ++ cut '-d ' -f2 (Posix.py|177)
Mai 28 11:30:35 [error]  ->>> + echo ip:192.168.6.4 (Posix.py|177)
Mai 28 11:30:35 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:30:35 [debug] FILE: /var/lib/1stboot/configed/etc/samba/smb.conf (1stboot.py|390)
Mai 28 11:30:35 [debug] BEFORE:     workgroup = @workgroup@
 (1stboot.py|391)
Mai 28 11:30:35 [debug] MATCH: @workgroup@ (1stboot.py|392)
Mai 28 11:30:35 [debug] AFTER:     workgroup = workgroup
 (1stboot.py|396)
Mai 28 11:30:35 [info] Saving backup of file '/etc/samba/smb.conf' to '/var/lib/1stboot/backup/etc/samba/smb.conf'. (1stboot.py|176)
Mai 28 11:30:35 [info] Copying from /etc/samba/smb.conf to /var/lib/1stboot/backup/etc/samba/smb.conf (Posix.py|347)
Mai 28 11:30:35 [info] Copy done! (Posix.py|381)
Mai 28 11:30:35 [info] Installing file '/var/lib/1stboot/configed/etc/samba/smb.conf' => '/etc/samba/smb.conf'. (1stboot.py|163)
Mai 28 11:30:35 [info] Copying from /var/lib/1stboot/configed/etc/samba/smb.conf to /etc/samba/smb.conf (Posix.py|347)
Mai 28 11:30:35 [info] Copy done! (Posix.py|381)
Mai 28 11:30:35 [debug] Executing: bash -c '/etc/init.d/samba stop
/etc/init.d/samba start' (1stboot.py|410)
Mai 28 11:30:37 [debug]  ->>> Stopping Samba daemons: nmbd smbd. (Posix.py|155)
Mai 28 11:30:38 [debug]  ->>> Starting Samba daemons: nmbd smbd. (Posix.py|155)
Mai 28 11:30:38 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:30:38 [debug] FILE: /var/lib/1stboot/configed/etc/webmin/miniserv.conf (1stboot.py|390)
Mai 28 11:30:38 [debug] BEFORE: host=@hostname@
 (1stboot.py|391)
Mai 28 11:30:38 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:38 [debug] AFTER: host=opsi
 (1stboot.py|396)
Mai 28 11:30:38 [debug] FILE: /var/lib/1stboot/configed/etc/webmin/miniserv.conf (1stboot.py|390)
Mai 28 11:30:38 [debug] BEFORE: allow=127.0.0.1 @net@
 (1stboot.py|391)
Mai 28 11:30:38 [debug] MATCH: @net@ (1stboot.py|392)
Mai 28 11:30:38 [debug] AFTER: allow=127.0.0.1 10.0.2.0
 (1stboot.py|396)
Mai 28 11:30:38 [info] Saving backup of file '/etc/webmin/miniserv.conf' to '/var/lib/1stboot/backup/etc/webmin/miniserv.conf'. (1stboot.py|176)
Mai 28 11:30:38 [info] Copying from /etc/webmin/miniserv.conf to /var/lib/1stboot/backup/etc/webmin/miniserv.conf (Posix.py|347)
Mai 28 11:30:38 [info] Copy done! (Posix.py|381)
Mai 28 11:30:38 [info] Installing file '/var/lib/1stboot/configed/etc/webmin/miniserv.conf' => '/etc/webmin/miniserv.conf'. (1stboot.py|163)
Mai 28 11:30:38 [info] Copying from /var/lib/1stboot/configed/etc/webmin/miniserv.conf to /etc/webmin/miniserv.conf (Posix.py|347)
Mai 28 11:30:38 [info] Copy done! (Posix.py|381)
Mai 28 11:30:38 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:38 [debug] BEFORE: option domain-name "@domain@";
 (1stboot.py|391)
Mai 28 11:30:38 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:38 [debug] AFTER: option domain-name "jowe.local";
 (1stboot.py|396)
Mai 28 11:30:38 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:38 [debug] BEFORE: option domain-name-servers @dns@;
 (1stboot.py|391)
Mai 28 11:30:38 [debug] MATCH: @dns@ (1stboot.py|392)
Mai 28 11:30:38 [debug] AFTER: option domain-name-servers 10.0.2.3;
 (1stboot.py|396)
Mai 28 11:30:38 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:38 [debug] BEFORE: option netbios-name-servers @ip@;
 (1stboot.py|391)
Mai 28 11:30:38 [debug] MATCH: @ip@ (1stboot.py|392)
Mai 28 11:30:38 [debug] AFTER: option netbios-name-servers 10.0.2.15;
 (1stboot.py|396)
Mai 28 11:30:38 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:39 [debug] BEFORE: subnet @net@ netmask @netmask@ {
 (1stboot.py|391)
Mai 28 11:30:39 [debug] MATCH: @netmask@ (1stboot.py|392)
Mai 28 11:30:39 [debug] AFTER: subnet @net@ netmask 255.255.255.0 {
 (1stboot.py|396)
Mai 28 11:30:39 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:39 [debug] BEFORE: subnet @net@ netmask 255.255.255.0 {
 (1stboot.py|391)
Mai 28 11:30:39 [debug] MATCH: @net@ (1stboot.py|392)
Mai 28 11:30:39 [debug] AFTER: subnet 10.0.2.0 netmask 255.255.255.0 {
 (1stboot.py|396)
Mai 28 11:30:39 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:39 [debug] BEFORE: 	option routers @gateway@;
 (1stboot.py|391)
Mai 28 11:30:39 [debug] MATCH: @gateway@ (1stboot.py|392)
Mai 28 11:30:39 [debug] AFTER: 	option routers 10.0.2.254;
 (1stboot.py|396)
Mai 28 11:30:39 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:30:39 [debug] BEFORE: 		next-server @tftpserver@;
 (1stboot.py|391)
Mai 28 11:30:39 [debug] MATCH: @tftpserver@ (1stboot.py|392)
Mai 28 11:30:39 [debug] AFTER: 		next-server 10.0.2.15;
 (1stboot.py|396)
Mai 28 11:30:39 [info] Saving backup of file '/etc/dhcp3/dhcpd.conf' to '/var/lib/1stboot/backup/etc/dhcp3/dhcpd.conf'. (1stboot.py|176)
Mai 28 11:30:39 [info] Copying from /etc/dhcp3/dhcpd.conf to /var/lib/1stboot/backup/etc/dhcp3/dhcpd.conf (Posix.py|347)
Mai 28 11:30:39 [info] Copy done! (Posix.py|381)
Mai 28 11:30:39 [info] Installing file '/var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf' => '/etc/dhcp3/dhcpd.conf'. (1stboot.py|163)
Mai 28 11:30:39 [info] Copying from /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf to /etc/dhcp3/dhcpd.conf (Posix.py|347)
Mai 28 11:30:39 [info] Copy done! (Posix.py|381)
Mai 28 11:30:39 [debug] Executing: bash -c '/etc/init.d/dhcp3-server stop
/etc/init.d/dhcp3-server start
chmod 664 /etc/dhcp3/dhcpd.conf
chown root:pcpatch /etc/dhcp3/dhcpd.conf' (1stboot.py|410)
Mai 28 11:30:39 [debug]  ->>> Stopping DHCP server: dhcpd3 failed! (Posix.py|155)
Mai 28 11:30:41 [debug]  ->>> Starting DHCP server: dhcpd3check syslog for diagnostics. failed! (Posix.py|155)
Mai 28 11:30:41 [debug]  ->>>  failed! (Posix.py|155)
Mai 28 11:30:41 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:30:41 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:30:41 [debug] BEFORE: myhostname = @hostname@.@domain@
 (1stboot.py|391)
Mai 28 11:30:41 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:41 [debug] AFTER: myhostname = opsi.@domain@
 (1stboot.py|396)
Mai 28 11:30:41 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:30:41 [debug] BEFORE: myhostname = opsi.@domain@
 (1stboot.py|391)
Mai 28 11:30:41 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:41 [debug] AFTER: myhostname = opsi.jowe.local
 (1stboot.py|396)
Mai 28 11:30:41 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:30:41 [debug] BEFORE: mydestination = @hostname@.@domain@, localhost.@domain@, localhost
 (1stboot.py|391)
Mai 28 11:30:41 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:41 [debug] AFTER: mydestination = opsi.@domain@, localhost.@domain@, localhost
 (1stboot.py|396)
Mai 28 11:30:41 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:30:41 [debug] BEFORE: mydestination = opsi.@domain@, localhost.@domain@, localhost
 (1stboot.py|391)
Mai 28 11:30:41 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:41 [debug] AFTER: mydestination = opsi.jowe.local, localhost.jowe.local, localhost
 (1stboot.py|396)
Mai 28 11:30:41 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:30:41 [debug] BEFORE: relayhost = @mailrelay@
 (1stboot.py|391)
Mai 28 11:30:41 [debug] MATCH: @mailrelay@ (1stboot.py|392)
Mai 28 11:30:41 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:30:41 [info] Saving backup of file '/etc/postfix/main.cf' to '/var/lib/1stboot/backup/etc/postfix/main.cf'. (1stboot.py|176)
Mai 28 11:30:41 [info] Copying from /etc/postfix/main.cf to /var/lib/1stboot/backup/etc/postfix/main.cf (Posix.py|347)
Mai 28 11:30:41 [info] Copy done! (Posix.py|381)
Mai 28 11:30:41 [info] Installing file '/var/lib/1stboot/configed/etc/postfix/main.cf' => '/etc/postfix/main.cf'. (1stboot.py|163)
Mai 28 11:30:41 [info] Copying from /var/lib/1stboot/configed/etc/postfix/main.cf to /etc/postfix/main.cf (Posix.py|347)
Mai 28 11:30:41 [info] Copy done! (Posix.py|381)
Mai 28 11:30:41 [debug] Executing: bash -c '/etc/init.d/postfix stop
/etc/init.d/postfix start' (1stboot.py|410)
Mai 28 11:30:43 [debug]  ->>> Stopping Postfix Mail Transport Agent: postfix. (Posix.py|155)
Mai 28 11:30:46 [debug]  ->>> Starting Postfix Mail Transport Agent: postfix. (Posix.py|155)
Mai 28 11:30:46 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: 	address @ip@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @ip@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: 	address 10.0.2.15
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: 	netmask @netmask@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @netmask@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: 	netmask 255.255.255.0
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: 	gateway @gateway@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @gateway@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: 	gateway 10.0.2.254
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: 	dns-nameservers @dns@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @dns@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: 	dns-nameservers 10.0.2.3
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: 	dns-search @domain@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: 	dns-search jowe.local
 (1stboot.py|396)
Mai 28 11:30:46 [info] Saving backup of file '/etc/network/interfaces' to '/var/lib/1stboot/backup/etc/network/interfaces'. (1stboot.py|176)
Mai 28 11:30:46 [info] Copying from /etc/network/interfaces to /var/lib/1stboot/backup/etc/network/interfaces (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [info] Installing file '/var/lib/1stboot/configed/etc/network/interfaces' => '/etc/network/interfaces'. (1stboot.py|163)
Mai 28 11:30:46 [info] Copying from /var/lib/1stboot/configed/etc/network/interfaces to /etc/network/interfaces (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [debug] Executing: bash -c '/etc/init.d/networking stop
/etc/init.d/networking start' (1stboot.py|410)
Mai 28 11:30:46 [debug]  ->>> Deconfiguring network interfaces...done. (Posix.py|155)
Mai 28 11:30:46 [error]  ->>> SIOCDELRT: No such process (Posix.py|177)
Mai 28 11:30:46 [debug]  ->>> Configuring network interfaces...done. (Posix.py|155)
Mai 28 11:30:46 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/hosts (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: @ip@	@hostname@.@domain@	@hostname@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: @ip@	opsi.@domain@	opsi
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/hosts (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: @ip@	opsi.@domain@	opsi
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: @ip@	opsi.jowe.local	opsi
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/hosts (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: @ip@	opsi.jowe.local	opsi
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @ip@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: 10.0.2.15	opsi.jowe.local	opsi
 (1stboot.py|396)
Mai 28 11:30:46 [info] Saving backup of file '/etc/hosts' to '/var/lib/1stboot/backup/etc/hosts'. (1stboot.py|176)
Mai 28 11:30:46 [info] Copying from /etc/hosts to /var/lib/1stboot/backup/etc/hosts (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [info] Installing file '/var/lib/1stboot/configed/etc/hosts' => '/etc/hosts'. (1stboot.py|163)
Mai 28 11:30:46 [info] Copying from /var/lib/1stboot/configed/etc/hosts to /etc/hosts (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/mailname (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: @hostname@.@domain@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: opsi.@domain@
 (1stboot.py|396)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/mailname (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: opsi.@domain@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: opsi.jowe.local
 (1stboot.py|396)
Mai 28 11:30:46 [info] Saving backup of file '/etc/mailname' to '/var/lib/1stboot/backup/etc/mailname'. (1stboot.py|176)
Mai 28 11:30:46 [info] Copying from /etc/mailname to /var/lib/1stboot/backup/etc/mailname (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [info] Installing file '/var/lib/1stboot/configed/etc/mailname' => '/etc/mailname'. (1stboot.py|163)
Mai 28 11:30:46 [info] Copying from /var/lib/1stboot/configed/etc/mailname to /etc/mailname (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [debug] FILE: /var/lib/1stboot/configed/etc/hostname (1stboot.py|390)
Mai 28 11:30:46 [debug] BEFORE: @hostname@
 (1stboot.py|391)
Mai 28 11:30:46 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:46 [debug] AFTER: opsi
 (1stboot.py|396)
Mai 28 11:30:46 [info] Saving backup of file '/etc/hostname' to '/var/lib/1stboot/backup/etc/hostname'. (1stboot.py|176)
Mai 28 11:30:46 [info] Copying from /etc/hostname to /var/lib/1stboot/backup/etc/hostname (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [info] Installing file '/var/lib/1stboot/configed/etc/hostname' => '/etc/hostname'. (1stboot.py|163)
Mai 28 11:30:46 [info] Copying from /var/lib/1stboot/configed/etc/hostname to /etc/hostname (Posix.py|347)
Mai 28 11:30:46 [info] Copy done! (Posix.py|381)
Mai 28 11:30:46 [debug] Executing: bash -c 'hostname opsi' (1stboot.py|410)
Mai 28 11:30:47 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/etc/resolv.conf (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: search @domain@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER: search jowe.local
 (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/etc/resolv.conf (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: nameserver @dns@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @dns@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER: nameserver 10.0.2.3
 (1stboot.py|396)
Mai 28 11:30:47 [info] Saving backup of file '/etc/resolv.conf' to '/var/lib/1stboot/backup/etc/resolv.conf'. (1stboot.py|176)
Mai 28 11:30:47 [info] Copying from /etc/resolv.conf to /var/lib/1stboot/backup/etc/resolv.conf (Posix.py|347)
Mai 28 11:30:47 [info] Copy done! (Posix.py|381)
Mai 28 11:30:47 [info] Installing file '/var/lib/1stboot/configed/etc/resolv.conf' => '/etc/resolv.conf'. (1stboot.py|163)
Mai 28 11:30:47 [info] Copying from /var/lib/1stboot/configed/etc/resolv.conf to /etc/resolv.conf (Posix.py|347)
Mai 28 11:30:47 [info] Copy done! (Posix.py|381)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @cert_country@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @cert_country@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER: DE
 (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @cert_state@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @cert_state@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER: RP
 (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @cert_locality@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @cert_locality@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @cert_organization@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @cert_organization@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @cert_unit@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @cert_unit@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @hostname@.@domain@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER: opsi.@domain@
 (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: opsi.@domain@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER: opsi.jowe.local
 (1stboot.py|396)
Mai 28 11:30:47 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:30:47 [debug] BEFORE: @cert_email@
 (1stboot.py|391)
Mai 28 11:30:47 [debug] MATCH: @cert_email@ (1stboot.py|392)
Mai 28 11:30:47 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:30:47 [info] Saving backup of file '/tmp/opsiconfd.cert' to '/var/lib/1stboot/backup/tmp/opsiconfd.cert'. (1stboot.py|176)
Mai 28 11:30:47 [warning] Failed to backup '/tmp/opsiconfd.cert', file does not exist! (1stboot.py|181)
Mai 28 11:30:47 [info] Installing file '/var/lib/1stboot/configed/tmp/opsiconfd.cert' => '/tmp/opsiconfd.cert'. (1stboot.py|163)
Mai 28 11:30:47 [info] Copying from /var/lib/1stboot/configed/tmp/opsiconfd.cert to /tmp/opsiconfd.cert (Posix.py|347)
Mai 28 11:30:47 [info] Copy done! (Posix.py|381)
Mai 28 11:30:47 [debug] Executing: bash -c '/etc/init.d/opsiconfd stop
rm /etc/opsi/opsiconfd.pem
cat /tmp/opsiconfd.cert | openssl req -new -x509 -keyout /etc/opsi/opsiconfd.pem -out /etc/opsi/opsiconfd.pem -days 365 -nodes 1>/dev/null 2>/dev/null
chown opsiconfd:opsiadmin /etc/opsi/opsiconfd.pem || true
chmod 640 /etc/opsi/opsiconfd.pem
/etc/init.d/opsiconfd start' (1stboot.py|410)
Mai 28 11:30:47 [debug]  ->>> Stopping opsi config service...   (not running). (Posix.py|155)
Mai 28 11:30:59 [debug]  ->>> Starting opsi config service............   (failed). (Posix.py|155)
Mai 28 11:30:59 [debug] Exit code: 256 (Posix.py|198)
Mai 28 11:31:36 [critical] Traceback: (Logger.py|647)
Mai 28 11:31:36 [critical]      line 461 in '<module>' in file '/usr/local/bin/1stboot.py' (Logger.py|647)
Mai 28 11:31:36 [critical]      line 410 in 'main' in file '/usr/local/bin/1stboot.py' (Logger.py|647)
Mai 28 11:31:36 [critical]      line 202 in 'execute' in file '/var/lib/python-support/python2.5/OPSI/System/Posix.py' (Logger.py|647)
Mai 28 11:31:36 [critical]      ==>>> Command 'bash -c '/etc/init.d/opsiconfd stop
rm /etc/opsi/opsiconfd.pem
cat /tmp/opsiconfd.cert | openssl req -new -x509 -keyout /etc/opsi/opsiconfd.pem -out /etc/opsi/opsiconfd.pem -days 365 -nodes 1>/dev/null 2>/dev/null
chown opsiconfd:opsiadmin /etc/opsi/opsiconfd.pem || true
chmod 640 /etc/opsi/opsiconfd.pem
/etc/init.d/opsiconfd start'' failed (256): Stopping opsi config service...   (not running).
Starting opsi config service............   (failed).
 (1stboot.py|481)
Mai 28 11:41:16 [warning] MD5-Checksum file '/var/lib/1stboot/md5checksums' does not exist! (1stboot.py|193)
Mai 28 11:41:24 [debug] Config: [{'regex': '^[a-z0-9\\-]{1,63}$', 'help': 'Bitte geben Sie einen Namen f\xc3\xbcr den Server ein.\nErlaubte Zeichen sind a-z, 0-9 und als Sonderzeichen - (Bindestrich). Bitte nur Kleinbuchstaben verwenden.', 'value': 'opsi', 'key': 'hostname', 'name': 'Servername'}, {'regex': '^[a-z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$', 'help': 'Bitte geben Sie den Name Ihrer DNS-Domain inklusive Top-Level Domain an (z.B.: meine-firma.local).', 'value': 'jowe.local', 'key': 'domain', 'name': 'Domain'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse an die dieser Server verwenden soll.', 'value': '10.0.2.15', 'key': 'ip', 'name': 'IP-Adresse'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die Netzmaske Ihres Netzwerks an.', 'value': '255.255.255.0', 'key': 'netmask', 'name': 'Netzwerk-Maske'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse Ihres Standard-Gateways an.', 'value': '10.0.2.254', 'key': 'gateway', 'name': 'Gateway'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse eines DNS Servers in ihrem Netzwerk an (sofern vorhanden).', 'value': '10.0.2.3', 'key': 'dns', 'name': 'DNS'}, {'regex': '^[\\w-]{1,15}$', 'help': 'Bitte geben Sie den Namen ihrer Windows-Arbeitsgruppe bzw. Windows-Dom\xc3\xa4ne ein.', 'value': 'workgroup', 'key': 'workgroup', 'name': 'Windows-Arbeitsgruppe'}, {'regex': '', 'help': 'Bitte geben Sie die IP-Adresse Ihres TFTP-Servers an. In der Regel ist dies die IP-Adresse des Opsi-Servers.', 'value': '10.0.2.15', 'key': 'tftpserver', 'name': 'TFTP server'}, {'regex': '^[A-Z][A-Z]$', 'help': 'Bitte geben Sie Ihren Laendercode an (2 Gro\xc3\x9fbuchstaben).', 'value': 'DE', 'key': 'cert_country', 'name': 'Zertifikat - Laendercode'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Bundesstaat ein.', 'value': 'RP', 'key': 'cert_state', 'name': 'Zertifikat - Staat'}] (1stboot.py|86)
Mai 28 11:41:25 [debug] Config: [{'regex': '^http://[^:]+:\\d+$', 'help': 'Sollten Sie f\xc3\xbcr den Zugriff aufs Internet einen Proxy-Server ben\xc3\xb6tigen,\ngeben Sie hier bitte die volle URL des Proxy-Servers (inklusive Port) an (z.B.: http://192.168.1.254:8080).\nWenn ein direkter Zugriff auf das Internet m\xc3\xb6glich ist kann dieses Feld leer bleiben.', 'value': '', 'key': 'proxy', 'name': 'Proxy'}, {'regex': '', 'help': 'Geben Sie hier die Adresse Ihres Mail-Relays an, falls vorhanden.', 'value': '10.0.2.254', 'key': 'mailrelay', 'name': 'Mail relay'}, {'regex': '', 'help': 'Bitte geben Sie Ihre Stadt an.', 'value': '', 'key': 'cert_locality', 'name': 'Zertifikat - Stadt'}, {'regex': '', 'help': 'Bitte geben Sie den Namen Ihrer Firma ein.', 'value': '', 'key': 'cert_organization', 'name': 'Zertifikat - Firma'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Abteilungsnamen ein (optional).', 'value': '', 'key': 'cert_unit', 'name': 'Zertifikat - Abteilung'}, {'regex': '', 'help': 'Bitte geben Sie Ihre E-Mail-Adresse ein (optional).', 'value': '', 'key': 'cert_email', 'name': 'Zertifikat E-Mail'}] (1stboot.py|86)
Mai 28 11:41:25 [debug] [{'regex': '^[a-z0-9\\-]{1,63}$', 'help': 'Bitte geben Sie einen Namen f\xc3\xbcr den Server ein.\nErlaubte Zeichen sind a-z, 0-9 und als Sonderzeichen - (Bindestrich). Bitte nur Kleinbuchstaben verwenden.', 'value': 'opsi', 'key': 'hostname', 'name': 'Servername'}, {'regex': '^[a-z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$', 'help': 'Bitte geben Sie den Name Ihrer DNS-Domain inklusive Top-Level Domain an (z.B.: meine-firma.local).', 'value': 'jowe.local', 'key': 'domain', 'name': 'Domain'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse an die dieser Server verwenden soll.', 'value': '10.0.2.15', 'key': 'ip', 'name': 'IP-Adresse'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die Netzmaske Ihres Netzwerks an.', 'value': '255.255.255.0', 'key': 'netmask', 'name': 'Netzwerk-Maske'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse Ihres Standard-Gateways an.', 'value': '10.0.2.254', 'key': 'gateway', 'name': 'Gateway'}, {'regex': '^http://[^:]+:\\d+$', 'help': 'Sollten Sie f\xc3\xbcr den Zugriff aufs Internet einen Proxy-Server ben\xc3\xb6tigen,\ngeben Sie hier bitte die volle URL des Proxy-Servers (inklusive Port) an (z.B.: http://192.168.1.254:8080).\nWenn ein direkter Zugriff auf das Internet m\xc3\xb6glich ist kann dieses Feld leer bleiben.', 'value': '', 'key': 'proxy', 'name': 'Proxy'}, {'regex': '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$', 'help': 'Bitte geben Sie die IP-Adresse eines DNS Servers in ihrem Netzwerk an (sofern vorhanden).', 'value': '10.0.2.3', 'key': 'dns', 'name': 'DNS'}, {'regex': '^[\\w-]{1,15}$', 'help': 'Bitte geben Sie den Namen ihrer Windows-Arbeitsgruppe bzw. Windows-Dom\xc3\xa4ne ein.', 'value': 'workgroup', 'key': 'workgroup', 'name': 'Windows-Arbeitsgruppe'}, {'regex': '', 'help': 'Geben Sie hier die Adresse Ihres Mail-Relays an, falls vorhanden.', 'value': '10.0.2.254', 'key': 'mailrelay', 'name': 'Mail relay'}, {'regex': '', 'help': 'Bitte geben Sie die IP-Adresse Ihres TFTP-Servers an. In der Regel ist dies die IP-Adresse des Opsi-Servers.', 'value': '10.0.2.15', 'key': 'tftpserver', 'name': 'TFTP server'}, {'regex': '^[A-Z][A-Z]$', 'help': 'Bitte geben Sie Ihren Laendercode an (2 Gro\xc3\x9fbuchstaben).', 'value': 'DE', 'key': 'cert_country', 'name': 'Zertifikat - Laendercode'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Bundesstaat ein.', 'value': 'RP', 'key': 'cert_state', 'name': 'Zertifikat - Staat'}, {'regex': '', 'help': 'Bitte geben Sie Ihre Stadt an.', 'value': '', 'key': 'cert_locality', 'name': 'Zertifikat - Stadt'}, {'regex': '', 'help': 'Bitte geben Sie den Namen Ihrer Firma ein.', 'value': '', 'key': 'cert_organization', 'name': 'Zertifikat - Firma'}, {'regex': '', 'help': 'Bitte geben Sie Ihren Abteilungsnamen ein (optional).', 'value': '', 'key': 'cert_unit', 'name': 'Zertifikat - Abteilung'}, {'regex': '', 'help': 'Bitte geben Sie Ihre E-Mail-Adresse ein (optional).', 'value': '', 'key': 'cert_email', 'name': 'Zertifikat E-Mail'}, {'value': '10.0.2.0', 'key': 'net'}] (1stboot.py|342)
Mai 28 11:41:25 [debug] Executing: bash -x /tmp/1stboot_execonchange.sh || true 2>&1 (1stboot.py|268)
Mai 28 11:41:25 [error]  ->>> ++ hostname -f (Posix.py|177)
Mai 28 11:41:25 [error]  ->>> + echo hostname:opsi.jowe.local (Posix.py|177)
Mai 28 11:41:25 [error]  ->>> ++ grep address /etc/network/interfaces (Posix.py|177)
Mai 28 11:41:25 [error]  ->>> ++ cut -f 2 (Posix.py|177)
Mai 28 11:41:25 [error]  ->>> ++ cut '-d ' -f2 (Posix.py|177)
Mai 28 11:41:25 [error]  ->>> + echo ip:10.0.2.15 (Posix.py|177)
Mai 28 11:41:25 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:41:25 [debug] FILE: /var/lib/1stboot/configed/etc/samba/smb.conf (1stboot.py|390)
Mai 28 11:41:25 [debug] BEFORE:     workgroup = @workgroup@
 (1stboot.py|391)
Mai 28 11:41:25 [debug] MATCH: @workgroup@ (1stboot.py|392)
Mai 28 11:41:25 [debug] AFTER:     workgroup = workgroup
 (1stboot.py|396)
Mai 28 11:41:26 [info] Saving backup of file '/etc/samba/smb.conf' to '/var/lib/1stboot/backup/etc/samba/smb.conf'. (1stboot.py|176)
Mai 28 11:41:26 [info] Copying from /etc/samba/smb.conf to /var/lib/1stboot/backup/etc/samba/smb.conf (Posix.py|347)
Mai 28 11:41:26 [info] Copy done! (Posix.py|381)
Mai 28 11:41:26 [info] Installing file '/var/lib/1stboot/configed/etc/samba/smb.conf' => '/etc/samba/smb.conf'. (1stboot.py|163)
Mai 28 11:41:26 [info] Copying from /var/lib/1stboot/configed/etc/samba/smb.conf to /etc/samba/smb.conf (Posix.py|347)
Mai 28 11:41:26 [info] Copy done! (Posix.py|381)
Mai 28 11:41:26 [debug] Executing: bash -c '/etc/init.d/samba stop
/etc/init.d/samba start' (1stboot.py|410)
Mai 28 11:41:28 [debug]  ->>> Stopping Samba daemons: nmbd smbd. (Posix.py|155)
Mai 28 11:41:28 [debug]  ->>> Starting Samba daemons: nmbd smbd. (Posix.py|155)
Mai 28 11:41:28 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/webmin/miniserv.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: host=@hostname@
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: host=opsi
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/webmin/miniserv.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: allow=127.0.0.1 @net@
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @net@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: allow=127.0.0.1 10.0.2.0
 (1stboot.py|396)
Mai 28 11:41:28 [info] Saving backup of file '/etc/webmin/miniserv.conf' to '/var/lib/1stboot/backup/etc/webmin/miniserv.conf'. (1stboot.py|176)
Mai 28 11:41:28 [info] Copying from /etc/webmin/miniserv.conf to /var/lib/1stboot/backup/etc/webmin/miniserv.conf (Posix.py|347)
Mai 28 11:41:28 [info] Copy done! (Posix.py|381)
Mai 28 11:41:28 [info] Installing file '/var/lib/1stboot/configed/etc/webmin/miniserv.conf' => '/etc/webmin/miniserv.conf'. (1stboot.py|163)
Mai 28 11:41:28 [info] Copying from /var/lib/1stboot/configed/etc/webmin/miniserv.conf to /etc/webmin/miniserv.conf (Posix.py|347)
Mai 28 11:41:28 [info] Copy done! (Posix.py|381)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: option domain-name "@domain@";
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: option domain-name "jowe.local";
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: option domain-name-servers @dns@;
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @dns@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: option domain-name-servers 10.0.2.3;
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: option netbios-name-servers @ip@;
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @ip@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: option netbios-name-servers 10.0.2.15;
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: subnet @net@ netmask @netmask@ {
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @netmask@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: subnet @net@ netmask 255.255.255.0 {
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: subnet @net@ netmask 255.255.255.0 {
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @net@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: subnet 10.0.2.0 netmask 255.255.255.0 {
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: 	option routers @gateway@;
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @gateway@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: 	option routers 10.0.2.254;
 (1stboot.py|396)
Mai 28 11:41:28 [debug] FILE: /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf (1stboot.py|390)
Mai 28 11:41:28 [debug] BEFORE: 		next-server @tftpserver@;
 (1stboot.py|391)
Mai 28 11:41:28 [debug] MATCH: @tftpserver@ (1stboot.py|392)
Mai 28 11:41:28 [debug] AFTER: 		next-server 10.0.2.15;
 (1stboot.py|396)
Mai 28 11:41:28 [info] Saving backup of file '/etc/dhcp3/dhcpd.conf' to '/var/lib/1stboot/backup/etc/dhcp3/dhcpd.conf'. (1stboot.py|176)
Mai 28 11:41:28 [info] Copying from /etc/dhcp3/dhcpd.conf to /var/lib/1stboot/backup/etc/dhcp3/dhcpd.conf (Posix.py|347)
Mai 28 11:41:28 [info] Copy done! (Posix.py|381)
Mai 28 11:41:28 [info] Installing file '/var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf' => '/etc/dhcp3/dhcpd.conf'. (1stboot.py|163)
Mai 28 11:41:28 [info] Copying from /var/lib/1stboot/configed/etc/dhcp3/dhcpd.conf to /etc/dhcp3/dhcpd.conf (Posix.py|347)
Mai 28 11:41:28 [info] Copy done! (Posix.py|381)
Mai 28 11:41:28 [debug] Executing: bash -c '/etc/init.d/dhcp3-server stop
/etc/init.d/dhcp3-server start
chmod 664 /etc/dhcp3/dhcpd.conf
chown root:pcpatch /etc/dhcp3/dhcpd.conf' (1stboot.py|410)
Mai 28 11:41:29 [debug]  ->>> Stopping DHCP server: dhcpd3. (Posix.py|155)
Mai 28 11:41:31 [debug]  ->>> Starting DHCP server: dhcpd3. (Posix.py|155)
Mai 28 11:41:31 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:41:31 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:41:31 [debug] BEFORE: myhostname = @hostname@.@domain@
 (1stboot.py|391)
Mai 28 11:41:31 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:31 [debug] AFTER: myhostname = opsi.@domain@
 (1stboot.py|396)
Mai 28 11:41:31 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:41:31 [debug] BEFORE: myhostname = opsi.@domain@
 (1stboot.py|391)
Mai 28 11:41:31 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:31 [debug] AFTER: myhostname = opsi.jowe.local
 (1stboot.py|396)
Mai 28 11:41:31 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:41:31 [debug] BEFORE: mydestination = @hostname@.@domain@, localhost.@domain@, localhost
 (1stboot.py|391)
Mai 28 11:41:31 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:31 [debug] AFTER: mydestination = opsi.@domain@, localhost.@domain@, localhost
 (1stboot.py|396)
Mai 28 11:41:31 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:41:31 [debug] BEFORE: mydestination = opsi.@domain@, localhost.@domain@, localhost
 (1stboot.py|391)
Mai 28 11:41:31 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:31 [debug] AFTER: mydestination = opsi.jowe.local, localhost.jowe.local, localhost
 (1stboot.py|396)
Mai 28 11:41:31 [debug] FILE: /var/lib/1stboot/configed/etc/postfix/main.cf (1stboot.py|390)
Mai 28 11:41:31 [debug] BEFORE: relayhost = @mailrelay@
 (1stboot.py|391)
Mai 28 11:41:31 [debug] MATCH: @mailrelay@ (1stboot.py|392)
Mai 28 11:41:31 [debug] AFTER: relayhost = 10.0.2.254
 (1stboot.py|396)
Mai 28 11:41:31 [info] Saving backup of file '/etc/postfix/main.cf' to '/var/lib/1stboot/backup/etc/postfix/main.cf'. (1stboot.py|176)
Mai 28 11:41:31 [info] Copying from /etc/postfix/main.cf to /var/lib/1stboot/backup/etc/postfix/main.cf (Posix.py|347)
Mai 28 11:41:31 [info] Copy done! (Posix.py|381)
Mai 28 11:41:31 [info] Installing file '/var/lib/1stboot/configed/etc/postfix/main.cf' => '/etc/postfix/main.cf'. (1stboot.py|163)
Mai 28 11:41:31 [info] Copying from /var/lib/1stboot/configed/etc/postfix/main.cf to /etc/postfix/main.cf (Posix.py|347)
Mai 28 11:41:31 [info] Copy done! (Posix.py|381)
Mai 28 11:41:31 [debug] Executing: bash -c '/etc/init.d/postfix stop
/etc/init.d/postfix start' (1stboot.py|410)
Mai 28 11:41:33 [debug]  ->>> Stopping Postfix Mail Transport Agent: postfix. (Posix.py|155)
Mai 28 11:41:36 [debug]  ->>> Starting Postfix Mail Transport Agent: postfix. (Posix.py|155)
Mai 28 11:41:36 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:41:36 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:41:36 [debug] BEFORE: 	address @ip@
 (1stboot.py|391)
Mai 28 11:41:36 [debug] MATCH: @ip@ (1stboot.py|392)
Mai 28 11:41:36 [debug] AFTER: 	address 10.0.2.15
 (1stboot.py|396)
Mai 28 11:41:36 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:41:36 [debug] BEFORE: 	netmask @netmask@
 (1stboot.py|391)
Mai 28 11:41:36 [debug] MATCH: @netmask@ (1stboot.py|392)
Mai 28 11:41:36 [debug] AFTER: 	netmask 255.255.255.0
 (1stboot.py|396)
Mai 28 11:41:36 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:41:36 [debug] BEFORE: 	gateway @gateway@
 (1stboot.py|391)
Mai 28 11:41:36 [debug] MATCH: @gateway@ (1stboot.py|392)
Mai 28 11:41:36 [debug] AFTER: 	gateway 10.0.2.254
 (1stboot.py|396)
Mai 28 11:41:36 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:41:36 [debug] BEFORE: 	dns-nameservers @dns@
 (1stboot.py|391)
Mai 28 11:41:36 [debug] MATCH: @dns@ (1stboot.py|392)
Mai 28 11:41:36 [debug] AFTER: 	dns-nameservers 10.0.2.3
 (1stboot.py|396)
Mai 28 11:41:36 [debug] FILE: /var/lib/1stboot/configed/etc/network/interfaces (1stboot.py|390)
Mai 28 11:41:36 [debug] BEFORE: 	dns-search @domain@
 (1stboot.py|391)
Mai 28 11:41:36 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:36 [debug] AFTER: 	dns-search jowe.local
 (1stboot.py|396)
Mai 28 11:41:36 [info] Saving backup of file '/etc/network/interfaces' to '/var/lib/1stboot/backup/etc/network/interfaces'. (1stboot.py|176)
Mai 28 11:41:36 [info] Copying from /etc/network/interfaces to /var/lib/1stboot/backup/etc/network/interfaces (Posix.py|347)
Mai 28 11:41:36 [info] Copy done! (Posix.py|381)
Mai 28 11:41:36 [info] Installing file '/var/lib/1stboot/configed/etc/network/interfaces' => '/etc/network/interfaces'. (1stboot.py|163)
Mai 28 11:41:36 [info] Copying from /var/lib/1stboot/configed/etc/network/interfaces to /etc/network/interfaces (Posix.py|347)
Mai 28 11:41:36 [info] Copy done! (Posix.py|381)
Mai 28 11:41:36 [debug] Executing: bash -c '/etc/init.d/networking stop
/etc/init.d/networking start' (1stboot.py|410)
Mai 28 11:41:37 [error]  ->>> SIOCDELRT: No such process (Posix.py|177)
Mai 28 11:41:37 [debug]  ->>> Deconfiguring network interfaces...done. (Posix.py|155)
Mai 28 11:41:37 [debug]  ->>> Configuring network interfaces...done. (Posix.py|155)
Mai 28 11:41:37 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/hosts (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @ip@	@hostname@.@domain@	@hostname@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: @ip@	opsi.@domain@	opsi
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/hosts (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @ip@	opsi.@domain@	opsi
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: @ip@	opsi.jowe.local	opsi
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/hosts (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @ip@	opsi.jowe.local	opsi
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @ip@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: 10.0.2.15	opsi.jowe.local	opsi
 (1stboot.py|396)
Mai 28 11:41:37 [info] Saving backup of file '/etc/hosts' to '/var/lib/1stboot/backup/etc/hosts'. (1stboot.py|176)
Mai 28 11:41:37 [info] Copying from /etc/hosts to /var/lib/1stboot/backup/etc/hosts (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [info] Installing file '/var/lib/1stboot/configed/etc/hosts' => '/etc/hosts'. (1stboot.py|163)
Mai 28 11:41:37 [info] Copying from /var/lib/1stboot/configed/etc/hosts to /etc/hosts (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/mailname (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @hostname@.@domain@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: opsi.@domain@
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/mailname (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: opsi.@domain@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: opsi.jowe.local
 (1stboot.py|396)
Mai 28 11:41:37 [info] Saving backup of file '/etc/mailname' to '/var/lib/1stboot/backup/etc/mailname'. (1stboot.py|176)
Mai 28 11:41:37 [info] Copying from /etc/mailname to /var/lib/1stboot/backup/etc/mailname (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [info] Installing file '/var/lib/1stboot/configed/etc/mailname' => '/etc/mailname'. (1stboot.py|163)
Mai 28 11:41:37 [info] Copying from /var/lib/1stboot/configed/etc/mailname to /etc/mailname (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/hostname (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @hostname@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: opsi
 (1stboot.py|396)
Mai 28 11:41:37 [info] Saving backup of file '/etc/hostname' to '/var/lib/1stboot/backup/etc/hostname'. (1stboot.py|176)
Mai 28 11:41:37 [info] Copying from /etc/hostname to /var/lib/1stboot/backup/etc/hostname (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [info] Installing file '/var/lib/1stboot/configed/etc/hostname' => '/etc/hostname'. (1stboot.py|163)
Mai 28 11:41:37 [info] Copying from /var/lib/1stboot/configed/etc/hostname to /etc/hostname (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [debug] Executing: bash -c 'hostname opsi' (1stboot.py|410)
Mai 28 11:41:37 [debug] Exit code: 0 (Posix.py|198)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/resolv.conf (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: search @domain@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: search jowe.local
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/etc/resolv.conf (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: nameserver @dns@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @dns@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: nameserver 10.0.2.3
 (1stboot.py|396)
Mai 28 11:41:37 [info] Saving backup of file '/etc/resolv.conf' to '/var/lib/1stboot/backup/etc/resolv.conf'. (1stboot.py|176)
Mai 28 11:41:37 [info] Copying from /etc/resolv.conf to /var/lib/1stboot/backup/etc/resolv.conf (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [info] Installing file '/var/lib/1stboot/configed/etc/resolv.conf' => '/etc/resolv.conf'. (1stboot.py|163)
Mai 28 11:41:37 [info] Copying from /var/lib/1stboot/configed/etc/resolv.conf to /etc/resolv.conf (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @cert_country@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @cert_country@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: DE
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @cert_state@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @cert_state@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: RP
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @cert_locality@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @cert_locality@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @cert_organization@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @cert_organization@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @cert_unit@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @cert_unit@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @hostname@.@domain@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @hostname@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: opsi.@domain@
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: opsi.@domain@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @domain@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER: opsi.jowe.local
 (1stboot.py|396)
Mai 28 11:41:37 [debug] FILE: /var/lib/1stboot/configed/tmp/opsiconfd.cert (1stboot.py|390)
Mai 28 11:41:37 [debug] BEFORE: @cert_email@
 (1stboot.py|391)
Mai 28 11:41:37 [debug] MATCH: @cert_email@ (1stboot.py|392)
Mai 28 11:41:37 [debug] AFTER:  (1stboot.py|396)
Mai 28 11:41:37 [info] Saving backup of file '/tmp/opsiconfd.cert' to '/var/lib/1stboot/backup/tmp/opsiconfd.cert'. (1stboot.py|176)
Mai 28 11:41:37 [warning] Failed to backup '/tmp/opsiconfd.cert', file does not exist! (1stboot.py|181)
Mai 28 11:41:37 [info] Installing file '/var/lib/1stboot/configed/tmp/opsiconfd.cert' => '/tmp/opsiconfd.cert'. (1stboot.py|163)
Mai 28 11:41:37 [info] Copying from /var/lib/1stboot/configed/tmp/opsiconfd.cert to /tmp/opsiconfd.cert (Posix.py|347)
Mai 28 11:41:37 [info] Copy done! (Posix.py|381)
Mai 28 11:41:37 [debug] Executing: bash -c '/etc/init.d/opsiconfd stop
rm /etc/opsi/opsiconfd.pem
cat /tmp/opsiconfd.cert | openssl req -new -x509 -keyout /etc/opsi/opsiconfd.pem -out /etc/opsi/opsiconfd.pem -days 365 -nodes 1>/dev/null 2>/dev/null
chown opsiconfd:opsiadmin /etc/opsi/opsiconfd.pem || true
chmod 640 /etc/opsi/opsiconfd.pem
/etc/init.d/opsiconfd start' (1stboot.py|410)
Mai 28 11:41:37 [debug]  ->>> Stopping opsi config service...   (not running). (Posix.py|155)
Mai 28 11:41:49 [debug]  ->>> Starting opsi config service............   (failed). (Posix.py|155)
Mai 28 11:41:49 [debug] Exit code: 256 (Posix.py|198)
Mai 28 11:41:53 [critical] Traceback: (Logger.py|647)
Mai 28 11:41:53 [critical]      line 461 in '<module>' in file '/usr/local/bin/1stboot.py' (Logger.py|647)
Mai 28 11:41:53 [critical]      line 410 in 'main' in file '/usr/local/bin/1stboot.py' (Logger.py|647)
Mai 28 11:41:53 [critical]      line 202 in 'execute' in file '/var/lib/python-support/python2.5/OPSI/System/Posix.py' (Logger.py|647)
Mai 28 11:41:53 [critical]      ==>>> Command 'bash -c '/etc/init.d/opsiconfd stop
rm /etc/opsi/opsiconfd.pem
cat /tmp/opsiconfd.cert | openssl req -new -x509 -keyout /etc/opsi/opsiconfd.pem -out /etc/opsi/opsiconfd.pem -days 365 -nodes 1>/dev/null 2>/dev/null
chown opsiconfd:opsiadmin /etc/opsi/opsiconfd.pem || true
chmod 640 /etc/opsi/opsiconfd.pem
/etc/init.d/opsiconfd start'' failed (256): Stopping opsi config service...   (not running).
Starting opsi config service............   (failed).
 (1stboot.py|481)
Ich habs auch nochmal drangehängt.

Gruß Jonas
J.K.
Beiträge: 19
Registriert: 02 Jul 2008, 11:17

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von J.K. »

Hallo,

ich habe mal den opis-depotserver entfernt und dann versucht neu draufzuspielen, leider mit folgendem Ergebnis.

Code: Alles auswählen

Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut...
Lese Status-Informationen ein...
opsi-depotserver ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0B Plattenplatz zusätzlich benutzt.
Richte opsi-depotserver ein (3.3-10) ...

System information
  -> IP-Address: 10.0.2.15
  -> Broadcast: 10.0.2.255
  -> Netmask: 255.255.255.0
  -> Subnet: 10.0.2.0
  -> Gateway: 10.0.2.2
  -> Hostname: opsi
  -> Domain: jowe.local
  -> Fqdn: opsi.jowe.local
  -> Windomain: opsi

Setting permissions...

Configuring samba...
  -> Testing if share [opt_pcbin] already exists
      * share exists
  -> Testing if share [opsi_config] already exists
      * share exists
  -> Testing if share [opsi_workbench] already exists
      * share exists

Configuring dhcpd...
        * Saving current dhcpd.conf to dhcpd.conf.2009-06-02_10:11
        * Patching dhcpd.conf

               use-host-decl-names already enabled

               Subnet 10.0.2.0/255.255.255.0 found
                  configuring group
                     next-server already set
                     filename already set

Traceback:
     line 1434 in '<module>' in file '/usr/bin/opsi-admin'
     line 433 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'vmax004.uib.local': File '/var/lib/opsi/config/depots/vmax004.uib.local/depot.ini' not found
ERROR: Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'vmax004.uib.local': File '/var/lib/opsi/config/depots/vmax004.uib.local/depot.ini' not found
Traceback:
     line 1434 in '<module>' in file '/usr/bin/opsi-admin'
     line 433 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'vmax004.uib.local': File '/var/lib/opsi/config/depots/vmax004.uib.local/depot.ini' not found
ERROR: Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'vmax004.uib.local': File '/var/lib/opsi/config/depots/vmax004.uib.local/depot.ini' not found
Traceback:
     line 1434 in '<module>' in file '/usr/bin/opsi-admin'
     line 433 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method setNetworkConfig jowe.local': 'str' object has no attribute 'items'
ERROR: Failed to execute 'method setNetworkConfig jowe.local': 'str' object has no attribute 'items'
dpkg: Fehler beim Bearbeiten von opsi-depotserver (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 opsi-depotserver
Gruß Jonas
Benutzeravatar
j.schneider
uib-Team
Beiträge: 2045
Registriert: 29 Mai 2008, 15:14

Re: 1stboot.py läuft nicht fehlerfrei durch

Beitrag von j.schneider »

Hallo Jonas,

eine einfache Deinstallation reicht nicht aus, du musst die Pakete purgen (Konfig entfernen).

Code: Alles auswählen

apt-get remove --purge opsi-depotserver python-opsi
apt-get install opsi-depotserver
Gruß
Jan


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten