Seite 1 von 1

Installation von mehreren Paketen nach OS Install nicht möglich

Verfasst: 30 Aug 2023, 08:48
von stditservices
Moin,

jetzt das zweite Problem, welches mich seit Tagen verwirrt. Es soll wohl möglich sein, mehrere Pakete zu installieren, nach der Installation des OS auf einem Client. Auf jeden Fall hatte das ein Kollege von mir schonmal in einer anderen Umgebung getestet, mit Erfolg. Jetzt wollte ich das auch bei uns umsetzen, folgende Reihenfolge:

Client in Opsi hinzufügen -> Unter Netboot win11-x64 auf setup setzen -> Unter Localboot diverse Pakete auf setup setzen (Genauer: 7zip, agent_cloud_x64-trend-micro, chrome, opci-client-agent, opsi-script, swaudit, windomain, shutdownwanted) -> Client via PXE Boot starten

Das OS installiert sich, nach der Installation wird auch der opsi-client-agent installiert, danach läuft windomain, danach läuft 7zip, danach versucht trend micro zu laufen, allerdings schlägt das fehl. Dann springt OPSI direkt zu shutdownwanted und der Client fährt runter. Versucht man danach manuell trend micro auf setup zu setzen und das zu installieren, bekommt man folgende Meldung im Anhang.
Darunter nochmal das Log der Installation.

Hat jemand eine Idee, woran das liegen kann?

Mit freundlichen Grüßen

Re: Installation von mehreren Paketen nach OS Install nicht möglich

Verfasst: 30 Aug 2023, 13:22
von SisterOfMercy
And if you only set the trend micro product to setup, and then reboot, what does the logfile show then? Does it install properly?

Re: Installation von mehreren Paketen nach OS Install nicht möglich

Verfasst: 30 Aug 2023, 15:12
von stditservices
I just did that.

The result: Rebooted, nothing happened. Just the same thing as with my own notebook, where the opsi-client-agent is installed. I cannot login from the lockscreen, it just "moves up" as I press Enter, then it stays blurred and switches back to the lockscreen. After a minute or so, I can log in. No Opsi window appears, the package stays at "setup", nothing in the logs.

But what I saw in the logs, is that the last log is from 29.August 2023 16:56:32. Also, the last time Opsi could connect to the client, was at 29.August 16:56. The Notebook is in the same network, was disconnected from LAN but kept the IP Adress, but Opsi doesn't "see it" and thinks, it was last online yesterday. I double checked, and opsi-client-agent is installed on the notebook, but I can't check if it is there fully. It just shows as installed in the program list of Windows.

Then I thought hmm what if the Opsi Server can't for some reason reach the client via hostname and in fact, there was a DNS setting missing in /etc/systemd/resolved.conf. Never thought this would be the answer to all the problems, but in fact opsi couldnt resolve the hostname, although the DNS settings were configed in the main Ethernet settings. I just have to test if the installation now works as intended

Re: Installation von mehreren Paketen nach OS Install nicht möglich

Verfasst: 30 Aug 2023, 16:31
von SisterOfMercy
If you have not disabled the startup event you might want to check why the client can't reach the server.
Do you have the proper ports open on the server? Because now only on_demand seems to work.

Re: Installation von mehreren Paketen nach OS Install nicht möglich

Verfasst: 31 Aug 2023, 08:03
von stditservices
Ich habe ein hwaudit gemacht, danach das Notebook gestartet und das lief normal durch wie es sollte. Scheint also so, als würde alles nun so funktionieren wie es soll, bis auf zwei Softwarepakete die sich nicht installieren lassen. Das wird aber an etwas anderem liegen.

Re: Installation von mehreren Paketen nach OS Install nicht möglich

Verfasst: 01 Sep 2023, 13:30
von n.doerrer
Die Fehlermeldung aus dem opsi-script.log suggeriert, dass die library uib_exitcode.opsiscript nicht gefunden wird (aber von agent_cloud_x64-trend-micro gebraucht wird).
Sind opsi-script und opsi-client-agent denn aktuell?