Lukas Keresztesi
Beiträge: 19 Registriert: 12 Nov 2024, 15:14
Beitrag
von Lukas Keresztesi » 12 Nov 2024, 15:37
Hallo,
ich habe das Problem das ich trotz winpe und der entpackten hinterlegten iso Datei einen neuen Rechner aufsetzten möchte und dies nicht geht.
Ich habe die Mac-Adresse angegeben und die datei win-x64 auf setup gesetzt. Nun wenn ich denn PC auf Netboot starte passiert jedoch nichts.
Code: Alles auswählen
Failed to connect to opsi service at 'https://localhost:4447': Opsi service connection error: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f72a637ad50>: Failed to establish a new connection: [Errno 111] Connection refused'))
[5] [2024-11-12 10:15:51.793] [Opsipxeconfd start] Running opsipxeconfd setup (setup.py:286)
[5] [2024-11-12 10:15:51.814] [Opsipxeconfd start] Setting up limits (setup.py:258)
[5] [2024-11-12 10:15:55.720] [Opsipxeconfd start] Connecting to opsi service at 'https://localhost:4447' (attempt 1) (setup.py:105)
[4] [2024-11-12 10:15:55.737] [Opsipxeconfd start] Failed to connect to opsi service at 'https://localhost:4447': Opsi service connection error: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffb0733fed0>: Failed to establish a new connection: [Errno 111] Connection refused')), retry in 5 seconds. (setup.py:116)
[5] [2024-11-12 10:16:00.738] [Opsipxeconfd start] Connecting to opsi service at 'https://localhost:4447' (attempt 2) (setup.py:105)
[5] [2024-11-12 10:16:01.400] [Opsipxeconfd start] Configserver id adm-opsi-server.prodesign.local (setup.py:127)
[1] [2024-11-12 10:16:01.522] [Opsipxeconfd start] opsi pxe configuration service starting (opsipxeconfd.py:71)
[5] [2024-11-12 10:16:04.568] [Opsipxeconfd start] Connecting to opsi service at 'https://localhost:4447' (attempt 1) (setup.py:105)
[5] [2024-11-12 10:16:04.889] [Opsipxeconfd ] Starting opsipxeconfd main thread (opsipxeconfd.py:261)
[5] [2024-11-12 10:16:04.891] [ ] Start setting initial boot configurations (util.py:94)
[5] [2024-11-12 10:16:04.892] [Opsipxeconfd ] Creating unix socket /var/run/opsipxeconfd/opsipxeconfd.socket (opsipxeconfd.py:181)
[4] [2024-11-12 10:16:05.114] [ ] Product 'win10' is using obsolete pxe config template 'install-x64', using default. (opsipxeconfd.py:548)
[5] [2024-11-12 10:16:05.259] [PXEConfigWriter] Creating config ['/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c'] and waiting for access (pxeconfigwriter.py:185)
[5] [2024-11-12 10:16:05.259] [ ] PXE boot configuration for host testjakob.prodesign.local is now set at ['/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c'] (opsipxeconfd.py:496)
[5] [2024-11-12 10:16:05.260] [ ] Finished setting initial boot configurations (util.py:126)
[5] [2024-11-12 11:05:34.873] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:232)
[5] [2024-11-12 11:05:37.287] [PXEConfigWriter] Deleting config file '/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c' (pxeconfigwriter.py:220)
[5] [2024-11-12 11:05:37.289] [ ] PXE boot configuration for host 'testjakob.prodesign.local' removed (opsipxeconfd.py:532)
[4] [2024-11-12 11:05:37.470] [ ] Product 'win10' is using obsolete pxe config template 'install-x64', using default. (opsipxeconfd.py:548)
[5] [2024-11-12 11:05:37.640] [PXEConfigWriter] Creating config ['/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c'] and waiting for access (pxeconfigwriter.py:185)
[5] [2024-11-12 11:05:37.640] [ ] PXE boot configuration for host testjakob.prodesign.local is now set at ['/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c'] (opsipxeconfd.py:496)
[5] [2024-11-12 11:05:48.963] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:232)
[5] [2024-11-12 11:05:49.661] [PXEConfigWriter] Deleting config file '/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c' (pxeconfigwriter.py:220)
[5] [2024-11-12 11:05:49.663] [ ] PXE boot configuration for host 'testjakob.prodesign.local' removed (opsipxeconfd.py:532)
[4] [2024-11-12 11:05:49.816] [ ] Product 'win10-x64' is using obsolete pxe config template 'install-x64', using default. (opsipxeconfd.py:548)
[5] [2024-11-12 11:05:49.949] [PXEConfigWriter] Creating config ['/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c'] and waiting for access (pxeconfigwriter.py:185)
[5] [2024-11-12 11:05:49.949] [ ] PXE boot configuration for host testjakob.prodesign.local is now set at ['/tftpboot/opsi/opsi-linux-bootimage/cfg/01-b4-a9-fc-af-12-7c'] (opsipxeconfd.py:496)
Weiß jmd was ich vergessen habe was noch gemacht gehört? Was genaus ist das Problem?
Schöne Grüße
Lukas
m.radtke
Ex-uib-Team
Beiträge: 1767 Registriert: 10 Jun 2015, 12:19
Beitrag
von m.radtke » 12 Nov 2024, 17:14
Hi
Läuft auf dem Verzeichnis ein Anti Viren Programm?
Falls nicht
Was steht in "/var/log/syslog" wenn der Client am TFTP ankommt?
Gruß
Mathias
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt. Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung . Gerne informieren wir Sie zu unserem Angebot.uib GmbH Telefon: +49 6131 27561 0 E-Mail: sales@uib.de
Lukas Keresztesi
Beiträge: 19 Registriert: 12 Nov 2024, 15:14
Beitrag
von Lukas Keresztesi » 13 Nov 2024, 08:26
Hallo Mathias
Auf dem Verzeichnis ist kein Antivierenprogramm, jedoch existiert der /var/log/syslog nicht bei mir.
Habe die fertige VM benutzt jedoch denke ich ich hab noch etwas vergessen?
Schöne Grüße
Lukas
m.radtke
Ex-uib-Team
Beiträge: 1767 Registriert: 10 Jun 2015, 12:19
Beitrag
von m.radtke » 13 Nov 2024, 12:49
Hi
in der VM sollte die Datei /var/log/syslog vorhanden sein.
Eventuell ist sie als adminuser nicht les- bzw einsehbar. Als Benutzer root geht es.
Alternativ kannst du auch
journalctl -u opsi-tftpd-hpa.service -f
aufrufen um zu sehen was an TFTP Andragen ankommt wenn der Client in den Netboot bootet
Gruß
Mathias
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt. Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung . Gerne informieren wir Sie zu unserem Angebot.uib GmbH Telefon: +49 6131 27561 0 E-Mail: sales@uib.de
Lukas Keresztesi
Beiträge: 19 Registriert: 12 Nov 2024, 15:14
Beitrag
von Lukas Keresztesi » 13 Nov 2024, 13:26
Das ist meine Ausgabe bei journalctl -u opsi-tftpd-hpa.service -f
Code: Alles auswählen
Nov 13 13:23:15 adm-opsi-server in.tftpd[26673]: /usr/sbin/in.tftpd: invalid option -- 'e'
Nov 13 13:23:15 adm-opsi-server in.tftpd[26673]: Unknown option: 'e'
Nov 13 13:23:15 adm-opsi-server in.tftpd[26673]: Unknown option: bosity
Nov 13 13:23:15 adm-opsi-server systemd[1]: opsi-tftpd-hpa.service: Control process exited, code=exited, status=64/USAGE
Nov 13 13:23:15 adm-opsi-server systemd[1]: opsi-tftpd-hpa.service: Failed with result 'exit-code'.
Nov 13 13:23:15 adm-opsi-server systemd[1]: Failed to start opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service.
Nov 13 13:23:20 adm-opsi-server systemd[1]: opsi-tftpd-hpa.service: Scheduled restart job, restart counter is at 711.
Nov 13 13:23:20 adm-opsi-server systemd[1]: Stopped opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service.
Nov 13 13:23:20 adm-opsi-server systemd[1]: Starting opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service...
Nov 13 13:23:20 adm-opsi-server systemd[1]: Started opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service.
Lukas Keresztesi
Beiträge: 19 Registriert: 12 Nov 2024, 15:14
Beitrag
von Lukas Keresztesi » 13 Nov 2024, 13:34
Jedoch die syslog Datei ist kommischerweise verschwunden.
Dateianhänge
Unbenannt.PNG (19.2 KiB) 2437 mal betrachtet
m.radtke
Ex-uib-Team
Beiträge: 1767 Registriert: 10 Jun 2015, 12:19
Beitrag
von m.radtke » 13 Nov 2024, 13:39
Hi
Wurde denn zwischen den Post hier im Forum und dem Logoutput ein Client in den Netboot gestartet?
Falls ja: am TFTP kommt zu dem Zeitpunkt keine Anfrage an.
Falls nein: Log starten - Client in den Netboot starten - zusehen und posten.
Gruß
Mathias
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt. Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung . Gerne informieren wir Sie zu unserem Angebot.uib GmbH Telefon: +49 6131 27561 0 E-Mail: sales@uib.de
m.radtke
Ex-uib-Team
Beiträge: 1767 Registriert: 10 Jun 2015, 12:19
Beitrag
von m.radtke » 13 Nov 2024, 15:12
Hi
Nur vom "auf setup setzen" startet nichts.
Du musst den Client in den Netboot versetzen.
Gruß
Mathias
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt. Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung . Gerne informieren wir Sie zu unserem Angebot.uib GmbH Telefon: +49 6131 27561 0 E-Mail: sales@uib.de
Lukas Keresztesi
Beiträge: 19 Registriert: 12 Nov 2024, 15:14
Beitrag
von Lukas Keresztesi » 13 Nov 2024, 15:25
Achso ja der Client ist in den Network Boot versetzt.
Dazu fällt mir auf wenn ich den service neustarte mit einem höheren Loglevel kommt dieser Fehlercode hat das vllt auch eine Bedeutung?
Code: Alles auswählen
root@adm-opsi-server:/etc# sudo systemctl status opsi-tftpd-hpa.service
● opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service
Loaded: loaded (/etc/systemd/system/opsi-tftpd-hpa.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2024-11-13 15:25:15 CET; 3s ago
Process: 16533 ExecStart=/usr/sbin/in.tftpd -verbosity 4 --ipv4 --listen --address :69 --secure --blocksize 1024 /tftpboot/ (code=exited, status=64)
CPU: 52ms
Nov 13 15:25:15 adm-opsi-server systemd[1]: opsi-tftpd-hpa.service: Failed with result 'exit-code'.
Nov 13 15:25:15 adm-opsi-server systemd[1]: Failed to start opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service.