Fehler beim Setup
Fehler beim Setup
bekommen wir die folgenden Meldungen:
[2] [Okt 10 07:28:02] Traceback: (Logger.py|742)
[2] [Okt 10 07:28:02] line 3299 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Okt 10 07:28:02] line 3251 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Okt 10 07:28:02] line 2607 in 'initializeBackends' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Okt 10 07:28:02] line 200 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 304 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 355 in '__loadBackends' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 326 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 395 in 'connect' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 611 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 123 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Okt 10 07:28:02] line 135 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Okt 10 07:28:02] ==>>> gaierror(-3, 'Tempor\xc3\xa4rer Fehler bei der Namensaufl\xc3\xb6sung') (opsi-setup|3307)
Traceback (most recent call last):
File "/usr/bin/opsi-setup", line 3308, in <module>
print >> sys.stderr, u"\nERROR: %s\n" % exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)
Hat jemand eine Idee, was wir ändern müssen?
Re: Fehler beim Setup
was sagt den:
Code: Alles auswählen
getent hosts $(hostname -f)
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: Fehler beim Setup
habe geraden die OPSI VM heruntergeladen, gestartet und bin die Einrichtung laut Handbuch durchgegangen aber bekomme denselben Fehler wie mkugler.
Code: Alles auswählen
[2] [Dez 16 15:34:22] Traceback: (Logger.py|742)
[2] [Dez 16 15:34:22] line 3299 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Dez 16 15:34:22] line 3251 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Dez 16 15:34:22] line 2607 in 'initializeBackends' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Dez 16 15:34:22] line 200 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 304 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 355 in '__loadBackends' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 326 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 395 in 'connect' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 611 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 123 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Dez 16 15:34:22] line 135 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Dez 16 15:34:22] ==>>> gaierror(-3, 'Tempor\xc3\xa4rer Fehler bei der Namensaufl\xc3\xb6sung') (opsi-setup|3307)
Traceback (most recent call last):
File "/usr/bin/opsi-setup", line 3308, in <module>
print >> sys.stderr, u"\nERROR: %s\n" % exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)
Code: Alles auswählen
getent hosts $(hostname -f)
<IP-Number> <full qualified hostname> <hostname>
Code: Alles auswählen
# -*- coding: utf-8 -*-
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
# = backend dispatch configuration =
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#
# This file configures which methods are dispatched to which backends.
# Entries has to follow the form:
# <regular expression to match method name(s)> : <comma separated list of backend name(s)>
#
# Backend names have to match a backend configuraton file basename <backend name>.conf beneath /etc/opsi/backends.
# For every method executed on backend dispatcher the first matching regular expression will be decisive.
#
# Typical configurations:
# file, opsipxeconfd and dhcpd backend:
# backend_.* : file, opsipxeconfd, dhcpd
# host_.* : file, opsipxeconfd, dhcpd
# productOnClient_.* : file, opsipxeconfd
# configState_.* : file, opsipxeconfd
# .* : file
#
# jsonrpc, opsipxeconfd and dhcpd backend:
# backend_.* : jsonrpc, opsipxeconfd, dhcpd
# .* : jsonrpc
#
# ldap as main backend, mysql as hw/sw invent and license management backend, opsipxeconfd and dhcpd backend:
# backend_.* : ldap, mysql, opsipxeconfd, dhcpd
# host_.* : ldap, opsipxeconfd, dhcpd
# productOnClient_.* : ldap, opsipxeconfd
# configState_.* : ldap, opsipxeconfd
# license.* : mysql
# softwareLicense.* : mysql
# audit.* : mysql
# .* : ldap
#
backend_.* : jsonrpc, opsipxeconfd
.* : jsonrpc
Re: Fehler beim Setup
schau mal was in deiner Datei:
/etc/opsi/backends/jsonrpc.conf
Der Server bei address muss auflösbar sein. Ich vermute, dass dort dein Problem liegt.
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: Fehler beim Setup
in meiner jsonrpc.conf sind keine Einträge gesetzt worden.
Wie kann ich diese setzen lassen? Denn als Passwort kann ich nicht einfach irgendetwas reinschreiben.
Code: Alles auswählen
# -*- coding: utf-8 -*-
module = 'JSONRPC'
config = {
"address": u"",
"username": u"",
"password": u"",
"deflate": True
}
Re: Fehler beim Setup
In der jsonrpc.conf wurde alles eingetragen. Vielen Dank für deine Bemühungen ueluekmen.
Re: Fehler beim Setup
für den Fall das das noch mal auftreten sollte kannst du einfach das Depot neu registrieren:
Code: Alles auswählen
opsi-setup --register-depot
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