ich habe die Netzwerkkonfiguration ändern und den DHCP von 192.168.0.10 auf den opsi-Server (192.168.0.3) verlegen müssen. Habe auf dem opsi-Server den named (bind) gestartet, dennoch gibt es ein Problem bei der Neuinstallation eines Clients mit Windows.
Der Client pxe't bekommt eine IP und den nextserver, startet von PXE das linux bekommt die Anweisung Windows XP zu installieren, bricht dann aber ab, weil der Client behauptet, den opsi-server mit dem Namen "minhas-tirith" nicht zu finden:
Code: Alles auswählen
[6] [Jul 26 12:20:36] Mounting 'smb://minhas-tirith/opt_pcbin/install' to '/mnt/opsi' (Repository.py|1143)
[7] [Jul 26 12:20:36] Command 'mount' found at: '/bin/mount' (Posix.py|640)
[6] [Jul 26 12:20:36] Executing: /bin/mount -t cifs -o "iocharset=utf8,domain=minhas-tirith,credentials=/tmp/.cifs-credentials.minhas-tirith" //minhas-tirith/opt_pcbin /mnt/opsi (Posix.py|660)
[6] [Jul 26 12:20:36] Using encoding 'UTF-8' (Posix.py|691)
[7] [Jul 26 12:20:37] >>> mount error: could not resolve address for minhas-tirith: Name or service not known (Posix.py|741)
[7] [Jul 26 12:20:37] >>> No ip address specified and hostname not found (Posix.py|741)
[7] [Jul 26 12:20:37] Exit code: 1 (Posix.py|748)
[3] [Jul 26 12:20:37] Failed to mount '//minhas-tirith/opt_pcbin': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=minhas-tirith,credentials=/tmp/.cifs-credentials.minhas-tirith" //minhas-tirith/opt_pcbin /mnt/opsi' failed (1):
mount error: could not resolve address for minhas-tirith: Name or service not known
No ip address specified and hostname not found (Posix.py|919)
[2] [Jul 26 12:20:38] Traceback: (Logger.py|742)
[2] [Jul 26 12:20:38] line 1290 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|742)
[2] [Jul 26 12:20:38] line 70 in 'getRepository' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|742)
[2] [Jul 26 12:20:38] line 1129 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|742)
[2] [Jul 26 12:20:38] line 1159 in '_mount' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|742)
[2] [Jul 26 12:20:38] ==>>> Failed to mount '//minhas-tirith/opt_pcbin': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=minhas-tirith,credentials=/tmp/.cifs-credentials.minhas-tirith" //minhas-tirith/opt_pcbin /mnt/opsi' failed (1):
mount error: could not resolve address for minhas-tirith: Name or service not known
No ip address specified and hostname not found (master.py|1435)

Mach ich aber vom opsi-Backupserver den Aufruf
Code: Alles auswählen
/bin/mount -t cifs -o "iocharset=utf8,domain=minhas-tirith //minhas-tirith/opt_pcbin /mnt/opsi
bekomme ich den richtigen Inhalt von /mnt/opsi angezeigt:
ein nslookup schießt jedoch ins Leere:minhas-tirith-bk:/ # ls /mnt/opsi
install
Was hab ich denn da nun wieder kaputtgemacht? Könnte mir bitte mal jemand das Brett vor dem Kopf wegnehmen?nslookup minhas-tirith
;; Got SERVFAIL reply from 192.168.0.3, trying next server
Gruß
Thomas_H