Wir haben einen opsi-Server von der opsiserver-CD installiert.
Wir haben für den PXE-boot den opsi-Server auf unserem DHCP-Server (192.168.0.1) in die dnsmasq.conf eingetragen.
Wir haben als Domain uib.local (und diesen Punkt nicht recht verstanden) belassen.
Wir haben ... usw.
Code: Alles auswählen
dpkg -l | grep opsi
ii opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcr
ii opsi-configed 1.3.3-2 OPSI config editor
ii opsi-depotserver 3.3-10 server fuer das Softwareverteilungssystem OP
ii opsi-linux-bootimage 20090304-1 Linux-Bootimage fuer das Softwareverteilungs
ii opsi-utils 3.3.1.1-1 OPSI utils
ii opsiconfd 2.0.0.16-1 OPSI configuration service
ii opsipxeconfd 0.3.6-1 OPSI PXE configuration daemon
ii python-opsi 3.3.1.5-1 OPSI python library
Beim Installieren des preloginloaders über die service_setup.cmd auf einem Lenovo R60 mit Windows XP (192.168.0.207 via DHCP)
müssen wir über das Dialogfenster den Benutzer root samt Passwort eingeben, die Installation schließt scheinbar erfolgreich ab.
In der Clientverwaltungsoberfläche wird der Rechner auch korrekt gelistet.
Nach dem Reboot kommt dann allerdings die Meldung Socketfehler 10061 Verbindung abgelehnt.
Da wir nach einiger Herumgrübelei nicht recht weiterkamen, haben wir beschlossen, einfach mal per apt-get ein Update auf 3.3.1 zu machen.
Das Problem besteht aber weiterhin.
In der /var/log/opsi/opsiconfd/192.168.0.207.log findet sich Folgendes:
Code: Alles auswählen
[4] [May 11 19:45:04] Client '192.168.0.207' did not send cookie (opsiconfd|257)
[4] [May 11 19:45:04] New session created (opsiconfd|940)
[4] [May 11 19:45:04] Authorization request from none@192.168.0.207 (opsiconfd|350)
[2] [May 11 19:45:06] Forbidden: PAM authentication failed for user 'none': ('Authentication failure', 7) (opsiconfd|413)
[1] [May 11 19:45:06] Traceback (most recent call last):
File "/usr/sbin/opsiconfd", line 118, in http_GET
return worker.process()
File "/usr/sbin/opsiconfd", line 200, in process
self.deferred.callback(None)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 294, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/sbin/opsiconfd", line 385, in _authenticate
configFile = backendManagerConf )
File "/var/lib/python-support/python2.4/OPSI/Backend/BackendManager.py", line 167, in __init__
self._authenticate(self.__username, self.__password)
File "/var/lib/python-support/python2.4/OPSI/Backend/BackendManager.py", line 284, in _authenticate
return self._pamAuthenticate(user, password)
File "/var/lib/python-support/python2.4/OPSI/Backend/BackendManager.py", line 378, in _pamAuthenticate
raise BackendAuthenticationError("PAM authentication failed for user '%s': %s" % (user, e))
OPSI.Backend.Backend.BackendAuthenticationError: PAM authentication failed for user 'none': ('Authentication failure', 7)
(opsiconfd|611)
[2] [May 11 19:45:06] Failed to process rpc: PAM authentication failed for user 'none': ('Authentication failure', 7) (opsiconfd|615)
[4] [May 11 19:47:53] Client '192.168.0.207' did not send cookie (opsiconfd|257)
[4] [May 11 19:47:53] New session created (opsiconfd|940)
[4] [May 11 19:47:53] Authorization request from root@192.168.0.207 (opsiconfd|350)
[2] [May 11 19:47:55] Forbidden: PAM authentication failed for user 'root': ('Authentication failure', 7) (opsiconfd|413)
[1] [May 11 19:47:55] Traceback (most recent call last):
File "/usr/sbin/opsiconfd", line 118, in http_GET
return worker.process()
File "/usr/sbin/opsiconfd", line 200, in process
self.deferred.callback(None)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 294, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/sbin/opsiconfd", line 385, in _authenticate
configFile = backendManagerConf )
File "/var/lib/python-support/python2.4/OPSI/Backend/BackendManager.py", line 167, in __init__
self._authenticate(self.__username, self.__password)
File "/var/lib/python-support/python2.4/OPSI/Backend/BackendManager.py", line 284, in _authenticate
return self._pamAuthenticate(user, password)
File "/var/lib/python-support/python2.4/OPSI/Backend/BackendManager.py", line 378, in _pamAuthenticate
raise BackendAuthenticationError("PAM authentication failed for user '%s': %s" % (user, e))
OPSI.Backend.Backend.BackendAuthenticationError: PAM authentication failed for user 'root': ('Authentication failure', 7)
(opsiconfd|611)
[2] [May 11 19:47:55] Failed to process rpc: PAM authentication failed for user 'root': ('Authentication failure', 7) (opsiconfd|615)
[4] [May 11 19:48:04] Client '192.168.0.207' did not send cookie (opsiconfd|257)
[4] [May 11 19:48:04] New session created (opsiconfd|940)
[4] [May 11 19:48:04] Authorization request from root@192.168.0.207 (opsiconfd|350)
[4] [May 11 19:48:04] BackendManager created. (opsiconfd|387)
[3] [May 11 19:48:07] No hardware info for host 'testname.uib.local' found: [Errno 2] No such file or directory: '/var/lib/opsi/audit/testname.uib.local.hw' (File31.py|791)
[2] [May 11 19:48:07] Failed to delete hardware information for host 'testname.uib.local': [Errno 2] No such file or directory: '/var/lib/opsi/audit/testname.uib.local.hw' (File31.py|848)
[3] [May 11 19:48:07] No software info for host 'testname.uib.local' found: [Errno 2] No such file or directory: '/var/lib/opsi/audit/testname.uib.local.sw' (File31.py|735)
[2] [May 11 19:48:07] Failed to delete software information for host 'testname.uib.local': [Errno 2] No such file or directory: '/var/lib/opsi/audit/testname.uib.local.sw' (File31.py|779)
~
Code: Alles auswählen
May 11 19:45:04 max opsiconfd: (pam_unix) authentication failure; logname= uid=993 euid=993 tty=/dev/null ruser= rhost=
May 11 19:47:53 max opsiconfd: (pam_unix) authentication failure; logname= uid=993 euid=993 tty=/dev/null ruser= rhost= user=root
Wäre super, wenn Ihr uns auf die Sprünge helfen könntet, warum denn die Authentifizierung nicht klappt.
Im voraus vielen Dank!