Seite 1 von 1
Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 10:18
von ErzBengel
Ich bekomm seit dem letzem Serverupdate von OSPI 3.4 Fehlermeldungen den Zeichensatz betreffend.
Bei installation eines Clients finde ich jene Fehlermeldung im Log:
Code: Alles auswählen
[4] [Sep 23 10:16:09] Sending hardware information to service (setup.py|19)
[6] [Sep 23 10:16:09] Executing jsonrpc method 'setHardwareInformation' (JSONRPC.py|225)
[6] [Sep 23 10:16:09] Options: {'params': ('ws1808.pa.peugeot.at', {u'AUDIO_CONTROLLER': [{u'vendorId': '8086', u'vendor': u'Intel Corporation', u'name': u'82
[6] [Sep 23 10:16:09] Using method POST (JSONRPC.py|284)
[1] [Sep 23 10:16:10] Traceback: (Logger.py|646)
[1] [Sep 23 10:16:10] line 655 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|646)
[1] [Sep 23 10:16:10] line 20 in '<module>' in file '/mnt/opsi/install/winxppro/setup.py' (Logger.py|646)
[1] [Sep 23 10:16:10] line 1 in 'setHardwareInformation' in file '<string>' (Logger.py|646)
[1] [Sep 23 10:16:10] line 262 in '_jsonRPC' in file '/var/lib/python-support/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|646)
[1] [Sep 23 10:16:10] ==>>> 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128) (master.py|671)
ausserdem zeigt der opsi config editor weder umlaute an noch nimmt der server sie an (fehlermeldung ähnlich der oberen).
Als Backend verwenden wir MySQL, als OS ein Debian 5
Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 10:21
von j.schneider
Welche Version von hwaudit wird verwendet?
Bitte updaten auf:
http://download.uib.de/opsi3.4/produkte ... 0.1-1.opsi
Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 10:33
von ErzBengel
Wir haben hwaudit gar nicht im Einsatz. Das kommt während des Win XP Pro Setup Skript.
Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 10:40
von j.schneider
Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 10:41
von ErzBengel
Code: Alles auswählen
srvopsi34:~/opsi# dpkg -l | grep opsi
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcre, fifo and max-bl
ii opsi-configed 1.4.22-1 OPSI config editor
ii opsi-depotserver 3.4-1 server fuer das Softwareverteilungssystem OPSI
ii opsi-linux-bootimage 20100901-1 Linux-Bootimage fuer das Softwareverteilungssystem OPSI
ii opsi-utils 3.4-4 OPSI utils
ii opsiconfd 2.0.0.25-1 OPSI configuration service
ii opsipxeconfd 0.3.8-1 OPSI PXE configuration daemon
ii python-opsi 3.4.0.14-1 OPSI python library
Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 11:29
von j.schneider
Könnten wir die komplette bootimage-Log bekommen?
Gerne auch per Mail an j.schneider (at) uib.de
Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 12:15
von ErzBengel
Ergänzung: Aktuell wird mir der Rechner installiert - nach dem ich mal testweise auf die 4.0er-Client-CD gewechselt habe.
Ob es nun daran liegt, das es die neue CD ist, das ich alle USB Devices abgesteckt habe oder ein WS-ID vergeben habe, die noch nicht am Server bekannt war kann ich nicht sagen.
Hab noch folgendes im opsiconfg.log gefunden:
Code: Alles auswählen
[4] [Sep 23 10:05:31] Application 'unknown' on client '10.1.100.21' did not send cookie (opsiconfd|279)
[4] [Sep 23 10:05:31] New session created (opsiconfd|977)
[2] [Sep 23 10:05:31] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: '/etc/opsi/modules' (BackendManager.py|1211)
[4] [Sep 23 10:05:31] Authorization request from opsi@10.1.100.21 (opsiconfd|380)
[2] [Sep 23 10:05:32] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: '/etc/opsi/modules' (BackendManager.py|1211)
[4] [Sep 23 10:05:32] BackendManager created. (opsiconfd|417)
[4] [Sep 23 10:05:32] Application 'unknown' on client '10.1.100.21' did not send cookie (opsiconfd|279)
[4] [Sep 23 10:05:32] New session created (opsiconfd|977)
[2] [Sep 23 10:05:32] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: '/etc/opsi/modules' (BackendManager.py|1211)
[4] [Sep 23 10:05:32] Authorization request from ws1808.pa.peugeot.at@10.1.100.21 (opsiconfd|380)
[3] [Sep 23 10:05:32] Failed to resolve hostname 'ws1808.pa.peugeot.at': (-5, 'No address associated with hostname') (opsiconfd|397)
[4] [Sep 23 10:05:32] Host login attempt with username 'ws1808.pa.peugeot.at' from ip '10.1.100.21', but name resolves to '[]', ip verification is disabled (access granted) (opsiconfd|410)
[2] [Sep 23 10:05:32] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: '/etc/opsi/modules' (BackendManager.py|1211)
[4] [Sep 23 10:05:32] BackendManager created. (opsiconfd|417)
[2] [Sep 23 10:05:33] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: '/etc/opsi/modules' (BackendManager.py|1211)
[4] [Sep 23 10:05:36] Creating unix socket '/var/run/opsipxeconfd/opsipxeconfd.socket' (OpsiPXEConfd.py|170)
[4] [Sep 23 10:05:45] Hardware config with config_id 46 vanished (table HARDWARE_CONFIG_NETWORK_CONTROLLER), updating audit_state (MySQL.py|1057)
[1] [Sep 23 10:05:46] Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.5/site-packages/twisted/python/threadpool.py", line 161, in _worker
context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/internet/threads.py", line 24, in _putResultInDeferred
result = f(*args, **kwargs)
File "/usr/sbin/opsiconfd", line 554, in _realRpc
self.result['result'] = eval( "bm.%s(*params)" % method )
File "<string>", line 1, in <module>
File "/etc/opsi/backendManager.d/50_interface.conf", line 493, in setHardwareInformation
return self._execMethod(self.hwinventBackend, 'setHardwareInformation', hostId, info)
File "/var/lib/python-support/python2.5/OPSI/Backend/BackendManager.py", line 501, in _execMethod
res = eval( "instance.%s%s" % (method, params) )
File "<string>", line 1, in <module>
File "/var/lib/python-support/python2.5/OPSI/Backend/MySQL.py", line 994, in setHardwareInformation
query += " `%s` = '%s' AND" % (k, v.replace("\\", "\\\\").replace("'", "\\\'"))
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128)
(opsiconfd|642)
[2] [Sep 23 10:05:46] Failed to process rpc: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128) (opsiconfd|646)
[4] [Sep 23 10:05:47] Creating unix socket '/var/run/opsipxeconfd/opsipxeconfd.socket' (OpsiPXEConfd.py|170)
Übrig bleibt jetzt vorerst mal das nicht Verwenden von Umlauten im Opsi Config Editor
Code: Alles auswählen
Thu Sep 23 12:12:14 CEST 2010 -- Response 500 Internal Server Error {"error": "'ascii' codec can't encode character u'\\xe4' in position 1: ordinal not in range(128)", "id": 1, "result": null}
bzw:

Re: Fehlermeldungen nach Update Server
Verfasst: 23 Sep 2010, 15:59
von j.schneider
Hallo,
die Log-Datei stammt von einem Bootimage mit der Version 20091028.
Auf dem Server scheint aber die 20100901-1 installiert zu sein.
Wird eine Boot-CD verwendet?
Bitte ein neueres Bootimage verwenden...
Gruß,
Jan Schneider