Seite 1 von 1

[Gelöst] Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 13:34
von Nerospeed
Hallo Leute,

ich habe hier einen OPSI 4 auf einem Debian 6 laufen. Produktiv läuft in der Firma ein OPSI 3.4 den ich aber gerne durch einen neuen OPSI 4 erstzen will.
In meiner Testumgebung herschen die gleichen gegebenheiten wie im Produktiv-Netz.

Ich konnte eine Client schon erfolgreich anlegen und, durch setzen des BS auf setup, auch Installieren. Nachdem ich ein paar Änderungen an der unattand.txt vorgenommen habe und Treiber hogeladen wurden konnte ich keine Installation mehr anstoßen. Es öffnet sich legendlich das "OPSI Boot Menu" und startet dann von der Festplatte. Ich kann die Installation zwar aus dem Boot Menü einleiten, aber auch nach erfolgreicher Installation fehlen bestimmte automatisierte Softwarekomponenten: Die folgende RunOnceEx.cmd sollte nach der BS-Installation ausgeführt werden

Code: Alles auswählen

drwxrws--- 3 opsiconfd pcpatch 4096 19. Jul 16:37 $$
drwxrws--- 3 opsiconfd pcpatch 4096 31. Jul 12:50 $1
drwxrws--- 2 opsiconfd pcpatch 4096 13. Mär 2009  c
-rw-rw---- 1 opsiconfd pcpatch   26 25. Feb 2009  cmdlines.txt
-rw-rw---- 1 opsiconfd pcpatch 1052 31. Jul 11:50 RunOnceEx.cmd
root@lx-opsi1:/opt/pcbin/install/winxppro/custom/$oem$#

Ich habe das loglevel auf 7 gesetzt um die debug Informationen zu bekommen.

Code: Alles auswählen

Aug  8 12:35:09 lx-opsi1 atftpd[14068]: atftpd terminating after 300 seconds
Aug  8 12:35:09 lx-opsi1 atftpd[14068]: Main thread exiting
Aug  8 12:38:39 lx-opsi1 in.tftpd[14254]: connect from 192.168.0.124 (192.168.0.124)
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Advanced Trivial FTP server started (0.7)
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   started by inetd
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   logging level: 7
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   directory: /tftpboot/
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   user: nobody.nogroup
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   log file: syslog
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   server timeout: 300
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   tftp retry timeout: 5
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   maximum number of thread: 100
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   option timeout:   enabled
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   option tzise:     enabled
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   option blksize:   enabled
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   maximum blocksize: 0
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:   option multicast: enabled
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:      address range: 239.239.239.0-255
Aug  8 12:38:39 lx-opsi1 atftpd[14254]:      port range:    1758
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:60643
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.0 to 192.168.0.124:2070
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: tsize option -> 15710
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Aborting transfer
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:37776
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.0 to 192.168.0.124:2071
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: blksize option -> 1456
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: End of transfer
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:50514
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/44454c4c-4200-1031-8035-b1c04f32354a to 192.168.0.124:57089
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/44454c4c-4200-1031-8035-b1c04f32354a not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:51437
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/01-78-2b-cb-84-09-7e to 192.168.0.124:57090
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/01-78-2b-cb-84-09-7e not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:55060
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0A8007C to 192.168.0.124:57091
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0A8007C not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:58577
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0A8007 to 192.168.0.124:57092
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0A8007 not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:60893
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0A800 to 192.168.0.124:57093
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0A800 not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:40774
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0A80 to 192.168.0.124:57094
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0A80 not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:44921
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0A8 to 192.168.0.124:57095
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0A8 not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:35654
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0A to 192.168.0.124:57096
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0A not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:59720
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C0 to 192.168.0.124:57097
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C0 not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:38591
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/C to 192.168.0.124:57098
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: File /tftpboot/linux/pxelinux.cfg/C not found
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:59639
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/default to 192.168.0.124:57099
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: tsize option -> 613
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: blksize option -> 1408
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: End of transfer
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:40311
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/menu.c32 to 192.168.0.124:57100
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: tsize option -> 52272
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: blksize option -> 1408
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: End of transfer
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Creating new socket: 192.168.0.14:59675
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Serving linux/pxelinux.cfg/default to 192.168.0.124:57101
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: tsize option -> 613
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: blksize option -> 1408
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: End of transfer
Aug  8 12:38:39 lx-opsi1 atftpd[14254]: Server thread exiting
und ein Auszug aus dem Verzeichnis linux/pxelinux.cfg/

Code: Alles auswählen

lrwxrwxrwx 1 root      pcpatch  12 19. Jul 16:05 default -> default.menu
-rw-rw-r-- 1 opsiconfd pcpatch 613  1. Mär 15:26 default.menu
-rw-rw-r-- 1 opsiconfd pcpatch  35  1. Mär 15:26 default.nomenu
-rw-rw-r-- 1 opsiconfd pcpatch 130  1. Mär 15:26 install
-rw-rw-r-- 1 opsiconfd pcpatch  54 16. Aug 2007  memtest86
root@lx-opsi1:/tftpboot/linux/pxelinux.cfg#
eine Datei mit der MAC-Adresse als name gibt es garnicht.

Danke für die Hilfe

Gruß Nero

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 14:12
von tobias
Anpassungen an der unattended.xml sind immer kritisch da muss man genau testen ob alles danach auch noch so funktioniert wie es soll.

Das die Datei fehlt ist normal ;) die verschwindet sofort nach dem sie aufgerufen wurde
du müsstest sie sehen wenn du ein netbook produkt auf setup gesetzt hast dann wird die erzeugt.

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 14:22
von TheAngryCube
Bei mir kommt es öfter vor das der opsipxeconfd die Arbeit einstellt und dann keine Dateien in pxelinux.cfg erstellt werden.

Ein

Code: Alles auswählen

/etc/init.d/opsipxeconfd restart
hilft bei mir in der Regel

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 14:23
von Nerospeed
Hi @Tobias
ist die txt für Windows XP :)

Gruß

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 14:24
von Nerospeed
TheAngryCube hat geschrieben:Bei mir kommt es öfter vor das der opsipxeconfd die Arbeit einstellt und dann keine Dateien in pxelinux.cfg erstellt werden.

Ein

Code: Alles auswählen

/etc/init.d/opsipxeconfd restart
hilft bei mir in der Regel
Mhh ok da bekomme ich folgenden fehler

Code: Alles auswählen

root@lx-opsi1:/etc/init.d# opsipxeconfd restart
Traceback:
     line 886 in '<module>' in file '/usr/bin/opsipxeconfd'
     line 690 in '__init__' in file '/usr/bin/opsipxeconfd'
     line 616 in 'sendCommand' in file '/usr/bin/opsipxeconfd'
     line 613 in 'createUnixSocket' in file '/usr/bin/opsipxeconfd'
     ==>>> Failed to connect to socket '/var/run/opsipxeconfd/opsipxeconfd.socket': [Errno 2] No such file or directory
ERROR: Failed to connect to socket '/var/run/opsipxeconfd/opsipxeconfd.socket': [Errno 2] No such file or directory
root@lx-opsi1:/etc/init.d#

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 14:54
von TheAngryCube
probier's mal mit

Code: Alles auswählen

/etc/init.d/opsipxeconfd stop
/etc/init.d/opsipxeconfd start

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 14:56
von TheAngryCube
Moment, Du musst auch das Init-Skript ausführen.
Alkso entweder genauso eingeben wie ich's geschrieben habe oder falls Du im Verzeichnis /etc/init.d bist. dann ./opsipxeconfd restart

Re: Client startet keine BS-Installation

Verfasst: 08 Aug 2012, 15:04
von Nerospeed
TheAngryCube hat geschrieben:Moment, Du musst auch das Init-Skript ausführen.
Alkso entweder genauso eingeben wie ich's geschrieben habe oder falls Du im Verzeichnis /etc/init.d bist. dann ./opsipxeconfd restart
Hatte ich und bekam den oben genannten fehler.
Dann habe ich versucht den Prozess mit opsiconfd -l6 direkt zustarten und bekam den folgenden fehler

Code: Alles auswählen

root@lx-opsi1:/etc/init.d# opsiconfd -l6
[1] [Aug 08 14:55:41]
==================================================================
=             opsi configuration service starting                =
==================================================================
 (Logger.py|831)
[6] [Aug 08 14:55:41] Creating pid file '/var/run/opsiconfd/opsiconfd.pid' (opsiconfd.py|596)
[6] [Aug 08 14:55:41] Executing: /bin/pidof -x opsiconfd (Posix.py|660)
[6] [Aug 08 14:55:41] Using encoding 'UTF-8' (Posix.py|691)
[2] [Aug 08 14:55:41] Traceback: (Logger.py|742)
[2] [Aug 08 14:55:41]      line 782 in 'main' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Aug 08 14:55:41]      line 509 in '__init__' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Aug 08 14:55:41]      line 90 in 'run' in file '/usr/lib/pymodules/python2.6/OPSI/Application.py' (Logger.py|742)
[2] [Aug 08 14:55:41]      line 524 in 'setup' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Aug 08 14:55:41]      line 613 in 'createPidFile' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Aug 08 14:55:41]      ==>>> Another opsiconfd process is running (pid: 2564), stop process first or change pidfile. (opsiconfd.py|791)
ERROR: Another opsiconfd process is running (pid: 2564), stop process first or change pidfile.
Also habe ich den Prozess gekillt und wie du geschrieben hast wieder gestartet, resultat er läd wieder die BS Dateien.

Danke
Gruß Nero