ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Antworten
valim
Beiträge: 9
Registriert: 11 Okt 2008, 10:21

ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von valim »

nächste frage:

habe jetzt ein Debian etch System und dadrauf opsi laufen. Habe es alles nach dem Handbuch installiert, doch gab es leider bei der installation ein Fehler, den ich nicht verstehen kann. Ich poste mal die ausgabe von "apt-get install opsi-depotserver":

Code: Alles auswählen

opsi:/home/opsi/sernet# apt-get install opsi-depotserver
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  dhcp3-server duplicity libmysqlclient15off librsync1 mysql-common openssl
  opsi-linux-bootimage opsi-utils opsiconfd opsipxeconfd python-crypto
  python-gnupginterface python-json python-ldap python-mysqldb python-opsi
  python-pam python-pyopenssl python-twisted-bin python-twisted-core
  python-twisted-web2 python-zopeinterface sudo
Vorgeschlagene Pakete:
  ca-certificates python-ldap-doc python-egenix-mxdatetime mysql-server-5.0
  mysql-server slapd pyopenssl-doc python-tk python-gtk2 python-glade2
  python-qt3 python-wxgtk2.6 python-profiler
Empfohlene Pakete:
  python-serial
Die folgenden NEUEN Pakete werden installiert:
  dhcp3-server duplicity libmysqlclient15off librsync1 mysql-common openssl
  opsi-depotserver opsi-linux-bootimage opsi-utils opsiconfd opsipxeconfd
  python-crypto python-gnupginterface python-json python-ldap python-mysqldb
  python-opsi python-pam python-pyopenssl python-twisted-bin
  python-twisted-core python-twisted-web2 python-zopeinterface sudo
0 aktualisiert, 24 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
Es müssen noch 68,4MB von 68,5MB Archiven geholt werden.
Nach dem Auspacken werden 81,8MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]?
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
  python-opsi opsiconfd opsi-linux-bootimage opsi-utils opsipxeconfd
  opsi-depotserver
Diese Pakete ohne Überprüfung installieren [j/N]? j
Hole:1 http://download.uib.de etch/opsi3.3 python-opsi 3.3.0.24-1 [154kB]
Hole:2 http://ftp.informatik.rwth-aachen.de etch/main dhcp3-server 3.0.4-13 [292kB]
Hole:3 http://download.uib.de etch/opsi3.3 opsiconfd 2.0.0.8-1 [27,5kB]
Hole:4 http://download.uib.de etch/opsi3.3 opsi-linux-bootimage 20080826-1 [63,3MB]
Hole:5 http://ftp.informatik.rwth-aachen.de etch/main librsync1 0.9.7-1 [36,4kB]
Hole:6 http://ftp.informatik.rwth-aachen.de etch/main python-gnupginterface 0.3.2-9 [20,3kB]
Hole:7 http://ftp.informatik.rwth-aachen.de etch/main duplicity 0.4.2-10.1 [101kB]
Hole:8 http://ftp.informatik.rwth-aachen.de etch/main mysql-common 5.0.32-7etch6 [54,2kB]
Hole:9 http://ftp.informatik.rwth-aachen.de etch/main libmysqlclient15off 5.0.32-7etch6 [1792kB]
Hole:10 http://ftp.informatik.rwth-aachen.de etch/main openssl 0.9.8c-4etch3 [1001kB]
Hole:11 http://ftp.informatik.rwth-aachen.de etch/main python-crypto 2.0.1+dfsg1-1.2 [241kB]
Hole:12 http://ftp.informatik.rwth-aachen.de etch/main python-json 3.4-2 [10,6kB]
Hole:13 http://ftp.informatik.rwth-aachen.de etch/main python-ldap 2.2.0-3 [88,1kB]
Hole:14 http://ftp.informatik.rwth-aachen.de etch/main python-mysqldb 1.2.1-p2-4 [80,0kB]
Hole:15 http://ftp.informatik.rwth-aachen.de etch/main python-pam 0.4.2-10.4 [13,0kB]
Hole:16 http://ftp.informatik.rwth-aachen.de etch/main python-pyopenssl 0.6-2.3 [74,3kB]
Hole:17 http://ftp.informatik.rwth-aachen.de etch/main python-twisted-bin 2.4.0-3 [17,3kB]
Hole:18 http://ftp.informatik.rwth-aachen.de etch/main python-zopeinterface 3.3.0-6 [133kB]
Hole:19 http://ftp.informatik.rwth-aachen.de etch/main python-twisted-core 2.4.0-3 [676kB]
Hole:20 http://ftp.informatik.rwth-aachen.de etch/main python-twisted-web2 0.2.0-1.1 [211kB]
Hole:21 http://download.uib.de etch/opsi3.3 opsi-utils 3.3.0.10-1 [55,5kB]
Hole:22 http://download.uib.de etch/opsi3.3 opsipxeconfd 0.3.4-1 [11,1kB]
Hole:23 http://download.uib.de etch/opsi3.3 opsi-depotserver 3.3-9 [7974B]
Es wurden 68,4MB in 1m49s geholt (627kB/s)
Vorkonfiguration der Pakete ...
OK
Wähle vormals abgewähltes Paket dhcp3-server.
(Lese Datenbank ... 21276 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke dhcp3-server (aus .../dhcp3-server_3.0.4-13_i386.deb) ...
Wähle vormals abgewähltes Paket librsync1.
Entpacke librsync1 (aus .../librsync1_0.9.7-1_i386.deb) ...
Wähle vormals abgewähltes Paket python-gnupginterface.
Entpacke python-gnupginterface (aus .../python-gnupginterface_0.3.2-9_all.deb) ...
Wähle vormals abgewähltes Paket duplicity.
Entpacke duplicity (aus .../duplicity_0.4.2-10.1_i386.deb) ...
Wähle vormals abgewähltes Paket mysql-common.
Entpacke mysql-common (aus .../mysql-common_5.0.32-7etch6_all.deb) ...
Wähle vormals abgewähltes Paket libmysqlclient15off.
Entpacke libmysqlclient15off (aus .../libmysqlclient15off_5.0.32-7etch6_i386.deb) ...
Wähle vormals abgewähltes Paket openssl.
Entpacke openssl (aus .../openssl_0.9.8c-4etch3_i386.deb) ...
Creating directory /etc/ssl
Wähle vormals abgewähltes Paket python-crypto.
Entpacke python-crypto (aus .../python-crypto_2.0.1+dfsg1-1.2_i386.deb) ...
Wähle vormals abgewähltes Paket python-json.
Entpacke python-json (aus .../python-json_3.4-2_all.deb) ...
Wähle vormals abgewähltes Paket python-ldap.
Entpacke python-ldap (aus .../python-ldap_2.2.0-3_i386.deb) ...
Wähle vormals abgewähltes Paket python-mysqldb.
Entpacke python-mysqldb (aus .../python-mysqldb_1.2.1-p2-4_i386.deb) ...
Wähle vormals abgewähltes Paket python-pam.
Entpacke python-pam (aus .../python-pam_0.4.2-10.4_i386.deb) ...
Wähle vormals abgewähltes Paket python-pyopenssl.
Entpacke python-pyopenssl (aus .../python-pyopenssl_0.6-2.3_i386.deb) ...
Wähle vormals abgewähltes Paket python-opsi.
Entpacke python-opsi (aus .../python-opsi_3.3.0.24-1_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-bin.
Entpacke python-twisted-bin (aus .../python-twisted-bin_2.4.0-3_i386.deb) ...
Wähle vormals abgewähltes Paket python-zopeinterface.
Entpacke python-zopeinterface (aus .../python-zopeinterface_3.3.0-6_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-core.
Entpacke python-twisted-core (aus .../python-twisted-core_2.4.0-3_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-web2.
Entpacke python-twisted-web2 (aus .../python-twisted-web2_0.2.0-1.1_all.deb) ...
Wähle vormals abgewähltes Paket opsiconfd.
Entpacke opsiconfd (aus .../opsiconfd_2.0.0.8-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-linux-bootimage.
Entpacke opsi-linux-bootimage (aus .../opsi-linux-bootimage_20080826-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-utils.
Entpacke opsi-utils (aus .../opsi-utils_3.3.0.10-1_all.deb) ...
Wähle vormals abgewähltes Paket opsipxeconfd.
Entpacke opsipxeconfd (aus .../opsipxeconfd_0.3.4-1_all.deb) ...
Wähle vormals abgewähltes Paket sudo.
Entpacke sudo (aus .../sudo/sudo_1.6.8p12-4_i386.deb) ...
Wähle vormals abgewähltes Paket opsi-depotserver.
Entpacke opsi-depotserver (aus .../opsi-depotserver_3.3-9_all.deb) ...

Adding system users and groups...
  -> Adding group pcpatch
  -> Adding user pcpatch
  -> Adding user opsiconfd
Writing depot.ini
Richte dhcp3-server ein (3.0.4-13) ...
Generating /etc/default/dhcp3-server...
Starting DHCP server: dhcpd3 failed to start - check syslog for diagnostics.
invoke-rc.d: initscript dhcp3-server, action "start" failed.

Richte librsync1 ein (0.9.7-1) ...

Richte python-gnupginterface ein (0.3.2-9) ...

Richte duplicity ein (0.4.2-10.1) ...

Richte mysql-common ein (5.0.32-7etch6) ...
Richte libmysqlclient15off ein (5.0.32-7etch6) ...

Richte openssl ein (0.9.8c-4etch3) ...

Richte python-crypto ein (2.0.1+dfsg1-1.2) ...

Richte python-json ein (3.4-2) ...

Richte python-ldap ein (2.2.0-3) ...

Richte python-mysqldb ein (1.2.1-p2-4) ...

Richte python-pam ein (0.4.2-10.4) ...
Richte python-pyopenssl ein (0.6-2.3) ...

Richte python-opsi ein (3.3.0.24-1) ...

Richte python-twisted-bin ein (2.4.0-3) ...
Richte python-zopeinterface ein (3.3.0-6) ...

Richte python-twisted-core ein (2.4.0-3) ...

Richte python-twisted-web2 ein (0.2.0-1.1) ...

Richte opsiconfd ein (2.0.0.8-1) ...
OK
Generating a 1024 bit RSA private key
...++++++
..++++++
writing new private key to '/etc/opsi/opsiconfd.pem'
-----
1024 semi-random bytes loaded
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
........................++*++*++*++*++*++*
subject= /C=DE/ST=NRW/L=DN/O=TEST/OU=Admin/CN=VM/emailAddress=vm@test.com
notBefore=Oct 11 23:03:55 2008 GMT
notAfter=Jul  8 23:03:55 2011 GMT
SHA1 Fingerprint=38:17:3B:61:9D:FD:2E:16:EB:2A:19:C0:60:3D:B0:E0:B8:49:DC:E9
Starting opsi config service....   (done).

Richte opsi-linux-bootimage ein (20080826-1) ...

Richte opsi-utils ein (3.3.0.10-1) ...
Richte opsipxeconfd ein (0.3.4-1) ...
Starting opsi pxe configuration service..[1] [Oct 12 01:03:58] Traceback: (Logger.py|591)
[1] [Oct 12 01:03:58]      line 790 in '?' in file '/usr/sbin/opsipxeconfd' (Logger.py|591)
[1] [Oct 12 01:03:58]      line 761 in 'main' in file '/usr/sbin/opsipxeconfd' (Logger.py|591)
[1] [Oct 12 01:03:58]      line 52 in '__init__' in file '/usr/sbin/opsipxeconfd' (Logger.py|591)
[1] [Oct 12 01:03:58]      ==>>> Failed to get my own fully qualified domainname (opsipxeconfd|799)
ERROR: Failed to get my own fully qualified domainname
..........   (failed).
invoke-rc.d: initscript opsipxeconfd, action "start" failed.

Richte sudo ein (1.6.8p12-4) ...
No /etc/sudoers found... creating one for you.

Richte opsi-depotserver ein (3.3-9) ...

System information
  -> IP-Address: 127.0.1.1
  -> Broadcast: 127.0.31.255
  -> Netmask: 255.255.225.0
  -> Subnet: 127.0.1.0
  -> Gateway: 192.168.2.1
  -> Hostname: opsi
  -> Domain:
  -> Fqdn: opsi
  -> Windomain: Arbeitsgruppe

The hostname opsi returned by 'hostname --fqdn' is not a fully qualified domain name
Opsi needs a fully qualified domain name in the form of <hostname>.<domain>.<tld>
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
opsi:/home/opsi/sernet#                                 
Den Fehler habe ich ignoriert und einfach den nächsten Punkt gemacht "apt-get install opsi-configed":
(mit diesem Befehl scheint der tatsächlich den oberen Befehl zu wiederholen)

Hier die Ausgabe:

Code: Alles auswählen

opsi:/home/opsi# apt-get install opsi-configed
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
opsi-configed ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Richte opsi-depotserver ein (3.3-9) ...

System information
  -> IP-Address: 127.0.1.1
  -> Broadcast: 127.0.31.255
  -> Netmask: 255.255.225.0
  -> Subnet: 127.0.1.0
  -> Gateway: 192.168.2.1
  -> Hostname: opsi
  -> Domain: opsi
  -> Fqdn: opsi.opsi
  -> Windomain: Arbeitsplatz

The hostname opsi.opsi returned by 'hostname --fqdn' is not a fully qualified domain name
Opsi needs a fully qualified domain name in the form of <hostname>.<domain>.<tld>
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
opsi:/home/opsi#
Soweit dazu. Jetzt habe ich ein Fehler in der Installation. Ich denke daraus entsteht vielleicht der Fehler, den ich hier gelöst bekommen möchte ;-)

Un zwar, wenn ich .opsi dateien installieren will (mit: opsi-package-manager -i *.opsi ), bekomme ich den Fehler: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file .

Ich kann also keine pakete installieren.

Habe mal versucht in meinem Browser "https://<opsidepotserver>:4447/configed" einzugeben, doch da kommt nur (nachdem ich das Zertifikat bestätigt habe) nur "The resource /configed cannot be found.". Hängt das mit den nicht installierten *.opsi-Paketen zusammen?

Ach ja: DHCP wird von extern genutzt, DNS-Server ist nicht verfügbar, opsi-Server läuft in einer VM.

Über eine hilfreiche Antwort würde ich mich freuen!

LG,
vm
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1802
Registriert: 29 Mai 2008, 15:14

Re: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von j.schneider »

Hallo,

das Problem liegt hier:
valim hat geschrieben:

Code: Alles auswählen

The hostname opsi returned by 'hostname --fqdn' is not a fully qualified domain name
Opsi needs a fully qualified domain name in the form of <hostname>.<domain>.<tld>
Bitte der Maschine einen Fully Quailified Domain Name zuweisen.
In der /etc/hosts findet sich wahrscheinlich ein Eintrag in der Form:

Code: Alles auswählen

xxx.xxx.xxx.xxx   opsi.opsi  opsi
Diese Zeile ändern in:

Code: Alles auswählen

xxx.xxx.xxx.xxx   opsi.opsi.local  opsi
Der Aufruf

Code: Alles auswählen

hostname -f
sollte danach einen Fully Qualified Domain Name zurückliefern, der 2 Punkte enthält.
Mit diesen Voraussetzungen sollte die Installation fehlerlos durchlaufen.

Code: Alles auswählen

apt-get install opsi-depotserver opsi-configed
Gruß
Jan Schneider
valim
Beiträge: 9
Registriert: 11 Okt 2008, 10:21

Re: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von valim »

Hallo,

das hat mich schon einen erheblichen Schritt weitergebracht! Danke!

habe jetzt aber bei der installation folgene Fehlermeldung:

Code: Alles auswählen

Richte opsi-depotserver ein (3.3-9) ...

System information
  -> IP-Address: 127.0.1.1
  -> Broadcast: 127.0.31.255
  -> Netmask: 255.255.225.0
  -> Subnet: 127.0.1.0
  -> Gateway: 192.168.2.1
  -> Hostname: opsi
  -> Domain: opsi.local
  -> Fqdn: opsi.opsi.local
  -> Windomain: Arbeitsgruppe

Setting permissions...

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

Configuring dhcpd...
        * Saving current dhcpd.conf to dhcpd.conf.2008-10-12_21:12
        * Patching dhcpd.conf

                  no subnets found, adding subnet

               Subnet 127.0.1.0/255.255.225.0 found
                  no groups found, adding group
                  configuring group
                     next-server set to 127.0.1.1
                     filename set to linux/pxelinux.0

Traceback:
     line 1418 in '?' 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 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
ERROR: Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
Traceback:
     line 1418 in '?' 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 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
ERROR: Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
Traceback:
     line 1418 in '?' in file '/usr/bin/opsi-admin'
     line 433 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method setNetworkConfig opsi.local': 'str' object has no attribute 'items'
ERROR: Failed to execute 'method setNetworkConfig opsi.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
hat es was damit zu tun, das der DHCP Server ein externer ist? Oder liege ich damit völlig falsch?

Habe jetzt auch Probleme mit der installation von den *.opsi-Produkten! Wenn ich die installieren will, bekomme ich folgende Meldung:

Code: Alles auswählen

ERROR: Cannot connect to 'https://opsi.opsi.local:4447/rpc': Requesting 'https://opsi.opsi.local:4447/rpc' failed: (111, 'Verbindungsaufbau abgelehnt')
habe übrigens kein DNS im Netzwerk laufen...

Mein /etc/hosts sieht jetzt so aus:

Code: Alles auswählen

127.0.0.1       localhost
127.0.1.1       opsi.opsi.local opsi

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
gruß,

vm
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1802
Registriert: 29 Mai 2008, 15:14

Re: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von j.schneider »

Hallo,

die folgende Zeile in der /etc/hosts bitte erneut abändern:
127.0.1.1 opsi.opsi.local opsi

Statt 127.0.1.1 die externe IP-Adresse (Interface eth0) verwenden.

Gruß
Jan Schneider
valim
Beiträge: 9
Registriert: 11 Okt 2008, 10:21

Re: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von valim »

hat nix gebracht

die selbe ausgabe.

Versuche es zu hause nochmal, habe hier auf arbeit an anderes netz, habe es natürlich auf die ip aus hier dem netz geändert.

Melde mich dann nochmal, falls es nicht klappt.
valim
Beiträge: 9
Registriert: 11 Okt 2008, 10:21

Re: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von valim »

Hm, tut immer noch nicht, auch hier zu Hause nich.

mein /etc/hists:

Code: Alles auswählen

127.0.0.1       localhost
192.168.2.103   opsi.opsi.local opsi

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Der fehler, den ich ausgegeben bekomme:

Code: Alles auswählen

Richte opsi-depotserver ein (3.3-9) ...

System information
  -> IP-Address: 192.168.2.103
  -> Broadcast: 192.168.2.255
  -> Netmask: 255.255.255.0
  -> Subnet: 192.168.2.0
  -> Gateway: 192.168.2.1
  -> Hostname: opsi
  -> Domain: opsi.local
  -> Fqdn: opsi.opsi.local
  -> Windomain: Arbeitsgruppe

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.2008-10-13_22:35
        * Patching dhcpd.conf

               use-host-decl-names already enabled

               Subnet 127.0.1.0/255.255.225.0 found
                  configuring group
                     next-server already set
                     filename already set

Traceback:
     line 1418 in '?' 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 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
ERROR: Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
Traceback:
     line 1418 in '?' 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 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
ERROR: Failed to execute 'method getNetworkConfig_hash': Failed to get info for depot-id 'opsi.opsi.local': File '/var/lib/opsi/config/depots/opsi.opsi.local/depot.ini' not found
Traceback:
     line 1418 in '?' in file '/usr/bin/opsi-admin'
     line 433 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method setNetworkConfig opsi.local': 'str' object has no attribute 'items'
ERROR: Failed to execute 'method setNetworkConfig opsi.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
E: Sub-process /usr/bin/dpkg returned an error code (1)

valim
Beiträge: 9
Registriert: 11 Okt 2008, 10:21

Re: ERROR: Cannot find opsiHostKey for host 'opsi.opsi' in file

Beitrag von valim »

nach einer erneuten installation des Systems läuft die installation fehlerfrei durch.

Man muss wohn die /etc/hosts vor dem installieren vor "apt-get install opsi-depotserver" und "apt-get install opsi-configed" ändern.

Gruß,
vm
Antworten