Installation Problem: ERROR: Bad fqdn: '<PC-Name>' [gelöst]]
Verfasst: 31 Mai 2013, 11:52
Hallo an alle,
Ich habe folgendes Problem. Ich versuche schon seit zwei Tagen OPSI auf einem Ubuntu 13.04 zum Laufen zu bekommen. Das Problem liegt meiner Meinung nach daran, dass die /etc/hosts nicht richtig angepasst ist. Zur Zeit sieht es so aus, dass sie folgendes enthält:
Daraufhin gibt getent hosts $(hostname -f) folgendes zurück:
Bei der Installation von opsi-depotserver meldet dann das Paket opsi-linux-bootimage diese:
PS: Ich habe auch schon versucht, OPSI mit dem VMwarePlayer zu starten. Dort habe ich jedoch keine Netzwerkverbindung...
Ich hoffe, dass ich alle relevanten Daten geliefert habe und würde mich über eure Hilfe freuen
Danke im Voraus
Gruß fairsein
Ich habe folgendes Problem. Ich versuche schon seit zwei Tagen OPSI auf einem Ubuntu 13.04 zum Laufen zu bekommen. Das Problem liegt meiner Meinung nach daran, dass die /etc/hosts nicht richtig angepasst ist. Zur Zeit sieht es so aus, dass sie folgendes enthält:
Code: Alles auswählen
# 127.0.0.1 localhost
# 127.0.0.1 <PC-Name>
10.1.4.135 test.uib.local
# 10.1.4.135 <PC-Name>
# 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
Code: Alles auswählen
hostname: System error
10.1.3.137 test.uib.local
127.0.0.1 ip6-localhost ip6-loopback
Code: Alles auswählen
[2] Traceback: (Logger.py|742)
[2] line 1571 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 219 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 200 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] line 304 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] line 355 in '__loadBackends' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] line 61 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/File.py' (Logger.py|742)
[2] line 473 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|742)
[2] line 733 in 'getfqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Util/__init__.py' (Logger.py|742)
[2] line 215 in 'forceFqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Types.py' (Logger.py|742)
[2] ==>>> Bad fqdn: '<PC-Name>' (opsi-admin|1581)
opsi-depotserver (4.0.3.2-1) wird eingerichtet ...
[4] [May 30 09:20:13] Bad fqdn: '<PC-Name>' (opsi-setup|584)
[2] [May 30 09:20:13] Traceback: (Logger.py|742)
[2] [May 30 09:20:13] line 3299 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:13] line 3287 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:13] line 596 in 'update' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:13] line 2704 in 'initializeConfigs' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:13] line 200 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [May 30 09:20:13] line 304 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [May 30 09:20:13] line 355 in '__loadBackends' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [May 30 09:20:13] line 61 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/File.py' (Logger.py|742)
[2] [May 30 09:20:13] line 473 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [May 30 09:20:13] line 733 in 'getfqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Util/__init__.py' (Logger.py|742)
[2] [May 30 09:20:13] line 215 in 'forceFqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Types.py' (Logger.py|742)
[2] [May 30 09:20:13] ==>>> Bad fqdn: '<PC-Name>' (opsi-setup|3307)
ERROR: Bad fqdn: '<PC-Name>'
[5] [May 30 09:20:14] Setting rights (opsi-setup|425)
[5] [May 30 09:20:14] Getting current system config (opsi-setup|79)
[2] [May 30 09:20:14] Traceback: (Logger.py|742)
[2] [May 30 09:20:14] line 3299 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:14] line 3248 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:14] line 438 in 'setRights' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:14] line 85 in 'getSysConfig' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:14] line 733 in 'getfqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Util/__init__.py' (Logger.py|742)
[2] [May 30 09:20:14] line 215 in 'forceFqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Types.py' (Logger.py|742)
[2] [May 30 09:20:14] ==>>> Bad fqdn: '<PC-Name>' (opsi-setup|3307)
ERROR: Bad fqdn: '<PC-Name>'
[5] [May 30 09:20:15] Setting rights (opsi-setup|425)
[5] [May 30 09:20:15] Getting current system config (opsi-setup|79)
[2] [May 30 09:20:15] Traceback: (Logger.py|742)
[2] [May 30 09:20:15] line 3299 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:15] line 3248 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:15] line 438 in 'setRights' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:15] line 85 in 'getSysConfig' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [May 30 09:20:15] line 733 in 'getfqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Util/__init__.py' (Logger.py|742)
[2] [May 30 09:20:15] line 215 in 'forceFqdn' in file '/usr/lib/pymodules/python2.7/OPSI/Types.py' (Logger.py|742)
[2] [May 30 09:20:15] ==>>> Bad fqdn: '<PC-Name>' (opsi-setup|3307)
ERROR: Bad fqdn: '<PC-Name>'
Ich hoffe, dass ich alle relevanten Daten geliefert habe und würde mich über eure Hilfe freuen
Danke im Voraus
Gruß fairsein