Depot hinzufügen [ascii fehler]
Depot hinzufügen [ascii fehler]
ich spiele derzeit ein wenig mit opsi rum und habe festgestellt, das wenn ich ein zweites Depot hinzufügen will, ich den Fehler: ==>>> 'ascii' codec can't decode byte 0xab in position 2: ordinal not in range(128) (opsi-admin|1526)
bekomme.
Wenn ich auf der Console :
opsi-admin -d task setPcpatchPassword "8KfvTQoegrm2"
ausführe, oder
opsi-admin -d task setPcpatchPassword "222"
oder
opsi-admin -d task setPcpatchPassword 222
erhalte ich immer den Fehler:
root@wami-edv:/etc/opsi# opsi-admin -d task setPcpatchPassword "8KfvTQoegrm2"
[2] Traceback: (Logger.py|742)
[2] line 1516 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 214 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 140 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] line 224 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] line 275 in '__loadBackends' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] line 326 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 415 in 'connect' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 603 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 123 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 134 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|742)
[2] ==>>> 'ascii' codec can't decode byte 0xab in position 2: ordinal not in range(128) (opsi-admin|1526)
kann mir jemand helfen?
Re: Depot hinzufügen [ascii fehler]
kann das Problem nicht nachvollziehen.
Ist der Server auf den aktuellen Paketen ?
Ausgabe von:
dpkg -l | grep opsi
gruss
d.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
Re: Depot hinzufügen [ascii fehler]
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-depotserver 4.0.1.3-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20110720-1 Linux-Bootimage fuer das Softwareverteilungssystem OPSI
ii opsi-utils 4.0.1.8-1 opsi utils
ii opsiconfd 4.0.1.5-1 opsi configuration service
ii opsipxeconfd 4.0.1-1 opsi pxe configuration daemon
ii python-opsi 4.0.1.16-1 opsi python library
Re: Depot hinzufügen [ascii fehler]
sind beide Depots auf dem selben Paketstand ?
gruss
d.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
Re: Depot hinzufügen [ascii fehler]

Re: Depot hinzufügen [ascii fehler]
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcr
ii opsi-configed 4.0.1.9-1 OPSI config editor
ii opsi-depotserver 4.0.1.1-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20110419-1 Linux-Bootimage fuer das Softwareverteilungs
ii opsi-utils 4.0.1.1-1 opsi utils
ii opsiconfd 4.0.1-8 opsi configuration service
ii opsipxeconfd 4.0-1 opsi pxe configuration daemon
ii python-opsi 4.0.1.8-1 opsi python library
woops, da sind versionsunterschiede drin. anscheinend war mein apt mirror nicht aktuell.
ich teste es morgen mit aktuellen paketen.
Re: Depot hinzufügen [ascii fehler]
root@wami-edv:/usr# dpkg -l | grep opsi
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.1.9-1 OPSI config editor
ii opsi-depotserver 4.0.1.3-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20110720-1 Linux-Bootimage fuer das Softwareverteilungssystem OPSI
ii opsi-utils 4.0.1.8-1 opsi utils
ii opsiconfd 4.0.1.5-1 opsi configuration service
ii opsipxeconfd 4.0.1-1 opsi pxe configuration daemon
ii python-opsi 4.0.1.16-1 opsi python library
root@itsrv:/etc/opsi# dpkg -l | grep opsi
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcr
ii opsi-configed 4.0.1.9-1 OPSI config editor
ii opsi-depotserver 4.0.1.3-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20110720-1 Linux-Bootimage fuer das Softwareverteilungs
ii opsi-utils 4.0.1.8-1 opsi utils
ii opsiconfd 4.0.1.5-1 opsi configuration service
ii opsipxeconfd 4.0.1-1 opsi pxe configuration daemon
ii python-opsi 4.0.1.16-1 opsi python library
ich stelle gerade fest das ich opsi-package-updater ebenfalls crashed.
Code: Alles auswählen
Starting new HTTPS connection (0) to xxxxxx.xxxxxx.xxxxxx:4447
Connection established to: xxxxxx.xxxxxx.xxxxxx
Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert'
Traceback:
line 108 in 'process' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py'
line 635 in '_request' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py'
line 402 in 'urlopen' in file '/usr/lib/pymodules/python2.7/OPSI/Util/HTTP.py'
line 955 in 'request' in file '/usr/lib/python2.7/httplib.py'
line 989 in '_send_request' in file '/usr/lib/python2.7/httplib.py'
line 951 in 'endheaders' in file '/usr/lib/python2.7/httplib.py'
line 809 in '_send_output' in file '/usr/lib/python2.7/httplib.py'
==>>> Failed to process method 'getPossibleMethods_listOfHashes': 'ascii' codec can't decode byte 0xab in position 2: ordinal not in range(128)
Traceback:
line 1052 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1045 in 'main' in file '/usr/bin/opsi-product-updater'
line 157 in '__init__' in file '/usr/bin/opsi-product-updater'
line 361 in 'getConfigBackend' in file '/usr/bin/opsi-product-updater'
line 140 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py'
line 224 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py'
line 275 in '__loadBackends' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py'
line 326 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py'
line 415 in 'connect' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py'
line 603 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py'
line 123 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py'
line 134 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py'
==>>> 'ascii' codec can't decode byte 0xab in position 2: ordinal not in range(128)
ERROR: 'ascii' codec can't decode byte 0xab in position 2: ordinal not in range(128)
Re: Depot hinzufügen [ascii fehler]
Möglich ist viel - hast Du da einen konkreten Verdacht ?Kann es sein das ich ein "schlechtes" Zeichen im ssl zertifikat des masterdepot's habe?
d.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.schneider
- uib-Team
- Beiträge: 2049
- Registriert: 29 Mai 2008, 15:14
Re: Depot hinzufügen [ascii fehler]
Wahrscheinlich wird im HTTP-Header ein Sonderzeichen übertragen.
Bitte auf dem Depotserver folgendes ausführen und die Ausgabe posten:
Code: Alles auswählen
opsi-admin -l9 -d method backend_getInterface
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