opsi-package-manager: failed to connect

Antworten
Benutzeravatar
Putenschnitzel
Beiträge: 2
Registriert: 07 Sep 2009, 09:28

opsi-package-manager: failed to connect

Beitrag von Putenschnitzel »

Hallo,

ich versuche gerade die Opsi VM-Maschine zu starten, scheitere jedoch beim installieren der Opsi-Pakete mit der Fehlermeldung "failed to connect"
im Package Manager.

Code: Alles auswählen

opsi:/home/opsiproducts# opsi-package-manager -i -v *.opsi
Failed to read opsi modules file '/etc/opsi/modules': Signature not found
Installing package 'hwaudit_1.2.1-2.opsi' on depot 'opsi.kirsch.group-net.de'
Installing package 'hwaudit_1.2.1-2.opsi' on depot 'opsi.kirsch.group-net.de'
Extracting partial archive content to: '/tmp/unpack.hwaudit.TUU3T'
Extracting archive '/home/opsiproducts/hwaudit_1.2.1-2.opsi', format: cpio
Extracting archive '/tmp/unpack.hwaudit.TUU3T/OPSI.cpio.gz', format: cpio.gz
Trying to read control file '/tmp/unpack.hwaudit.TUU3T/control'
Failed to read opsi modules file '/etc/opsi/modules': Signature not found
Failed to connect to 'https://opsi.kirsch.group-net.de:4447/rpc': (111, 'Verbindungsaufbau abgelehnt')
Traceback:
     line 1380 in '<module>' in file '/usr/bin/opsi-package-manager'
     line 1241 in 'main' in file '/usr/bin/opsi-package-manager'
     line 964 in 'installPackage' in file '/usr/bin/opsi-package-manager'
     line 643 in 'getDepotConnection' in file '/usr/bin/opsi-package-manager'
     line 145 in '__init__' in file '/var/lib/python-support/python2.5/OPSI/Backend/JSONRPC.py'
     line 188 in '_connect' in file '/var/lib/python-support/python2.5/OPSI/Backend/JSONRPC.py'
     ==>>> Failed to connect to 'https://opsi.kirsch.group-net.de:4447/rpc': (111, 'Verbindungsaufbau abgelehnt')
ERROR: Failed to connect to 'https://opsi.kirsch.group-net.de:4447/rpc': (111, 'Verbindungsaufbau abgelehnt')
Ich denke es liegt am nicht startbaren opsiconfd, hier das Log dazu

Code: Alles auswählen

[2] [Sep 07 09:40:00] Failed to read opsi modules file '/etc/opsi/modules': Signature not found (BackendManager.py|1211)
[4] [Sep 07 09:40:00] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd|1216)
[2] [Sep 07 09:40:00] Failed to read opsi modules file '/etc/opsi/modules': Signature not found (BackendManager.py|1211)
[4] [Sep 07 09:40:00] Added webdav content 'opsi-depot' which points to directory '/opt/pcbin/install' (opsiconfd|1243)
[4] [Sep 07 09:40:00] Added static content 'configed' which points to directory '/usr/lib/configed' (opsiconfd|1238)
[2] [Sep 07 09:40:00] Failed to read opsi modules file '/etc/opsi/modules': Signature not found (BackendManager.py|1211)
[1] [Sep 07 09:40:00] Traceback: (Logger.py|648)
[1] [Sep 07 09:40:00]      line 1500 in '<module>' in file '/usr/sbin/opsiconfd' (Logger.py|648)
[1] [Sep 07 09:40:00]      line 1445 in 'main' in file '/usr/sbin/opsiconfd' (Logger.py|648)
[1] [Sep 07 09:40:00]      line 1248 in 'createRoot' in file '/usr/sbin/opsiconfd' (Logger.py|648)
[1] [Sep 07 09:40:00]      line 671 in 'getDepot_hash' in file '/etc/opsi/backendManager.d/50_interface.conf' (Logger.py|648)
[1] [Sep 07 09:40:00]      line 501 in '_execMethod' in file '/var/lib/python-support/python2.5/OPSI/Backend/BackendManager.py' (Logger.py|648)
[1] [Sep 07 09:40:00]      line 1 in '<module>' in file '<string>' (Logger.py|648)
[1] [Sep 07 09:40:00]      line 1182 in 'getDepot_hash' in file '/var/lib/python-support/python2.5/OPSI/Backend/File31.py' (Logger.py|648)
[1] [Sep 07 09:40:00]      ==>>> Failed to get info for depot-id 'opsi.kirsch.group-net.de': No section: 'depotshare' (opsiconfd|1516)
[2] [Sep 07 09:40:00] ERROR: (opsiconfd|1517)
[2] [Sep 07 09:40:00]   (opsiconfd|1517)
[2] [Sep 07 09:40:00] Failed to get info for depot-id 'opsi.kirsch.group-net.de': No section: 'depotshare' (opsiconfd|1517)
[2] [Sep 07 09:40:00]
Hat irgendjemand eine Idee in welcher Richtung ich nach dem Fehler suchen sollte?
Man wird nicht dadurch besser, das man andere schlecht macht.
webi
Beiträge: 97
Registriert: 13 Aug 2009, 11:49

Re: opsi-package-manager: failed to connect

Beitrag von webi »

Updates schon gemacht?
Benutzeravatar
j.schneider
uib-Team
Beiträge: 2045
Registriert: 29 Mai 2008, 15:14

Re: opsi-package-manager: failed to connect

Beitrag von j.schneider »

Hallo,

dafür schein ein Fehler beim Einrichten der VM verantwortlich zu sein.
Das Problem sollte mit fogenden Befehlen behoben werden können:

Code: Alles auswählen

>/etc/opsi/passwd
rm /var/lib/opsi/config/depots/*/depot.ini
apt-get install --reinstall opsi-depotserver
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
Gruß
Jan Schneider


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


Benutzeravatar
Putenschnitzel
Beiträge: 2
Registriert: 07 Sep 2009, 09:28

Re: opsi-package-manager: failed to connect

Beitrag von Putenschnitzel »

Das reinstall hat das Problem gelöst.

Vielen Dank!
Man wird nicht dadurch besser, das man andere schlecht macht.
Antworten