Seite 1 von 2

linux-opsi-client auf Rocky 8.6

Verfasst: 14 Sep 2022, 06:37
von alnas
Hallo,
ich habe Linux-opsi-Client auf Rocky Linux 8.6 installiert, die Installation lief ohne Probleme.
Das Client kann den Server nicht kontaktieren und der Server erreicht das Client nicht.
wenn ich versuche eine Aktion von Server zu starten, kommt die Meldung:
ssl.ssleoferror eof occurred in violation of protocol _ssl.c 997
Ich habe dazu ein Screenshot eingefügt
opsi-linux-client-agent 4.2.0.28-1
Firewall Port 44441 ist frei .

für jede Hilfe oder Hinweise bin ich sehr dankbar.

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 14 Sep 2022, 07:24
von j.schneider
Hallo!

Läuft der opsiclientd?

Code: Alles auswählen

systemctl status opsiclientd.service
Was steht in der /var/log/opsi-client-agent/opsiclientd.log ?

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 14 Sep 2022, 07:39
von alnas
Hallo,
ja, opsiclientd.service läuft.
in der Datei /var/log/opsi-client-agent/opsiclientd.log (auf der Client-Seite) steht viel.
Ich konnte nicht wirklich was finden, was ich als Fehler betrachten kann.
Wenn das weiterhelft, kann ich die Datei als Anhang einfügen.

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 14 Sep 2022, 13:29
von alnas
Hallo,
es werden bei Service Status folgende Fehler angezeigt:
opsiclientd[1416]:
opsiclientd[1416]: File "twisted/internet/posixbase.py", line 303, in _disconnectSelectable
opsiclientd[1416]:
opsiclientd[1416]: File "twisted/internet/tcp.py", line 326, in connectionLost
opsiclientd[1416]:
opsiclientd[1416]: File "twisted/protocols/tls.py", line 394, in connectionLost
opsiclientd[1416]:
opsiclientd[1416]: File "twisted/protocols/policies.py", line 105, in __getattr__
opsiclientd[1416]:
opsiclientd[1416]: builtins.AttributeError: 'NoneType' object has no attribute '_tlsConnection'

ein Screenshot ist anbei

Viele Grüße

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 15 Sep 2022, 11:16
von n.doerrer
Hallo,

bitte schicken Sie uns die Dateien /var/log/opsi-client-agent/opsiclientd.log und /var/log/opsi-script/opsi-client-agent.log an info@uib.de zu.
Wir versuchen, Ihre Situation zu reproduzieren.

Falls der opsiclientd nicht so weit kommt, dass er logs schreiben kann, dann bitte auch den output von

Code: Alles auswählen

sudo opsiclientd -l 7

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 15 Sep 2022, 14:38
von m.radtke
Hi

ist SELinux aktiv auf dem Client?

Habe es intern mal ausprobiert auf einem frisch per opsi installiertem Rocky 8.6. Ein on_demand Event ist durch gegangen.

Gruß
Mathias

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 15 Sep 2022, 14:56
von alnas
Hallo,
Danke, das wars.
Selinux deaktiviert und es hat funktioniert.

Vielen Dank && VG
Wael

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 15 Sep 2022, 15:17
von n.doerrer
Es scheint zu reichen, selinux auf "permissive" zu stellen (

Code: Alles auswählen

setenforce 1
). Wir werden sehen, ob wir das noch verbessern können.

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 15 Sep 2022, 16:57
von SisterOfMercy
"twisted/internet/posixbase.py"

So this is not a 4.2 installation?

With regards to selinux: set it to permissive, do not disable it.

Re: linux-opsi-client auf Rocky 8.6

Verfasst: 16 Sep 2022, 06:58
von j.schneider
SisterOfMercy hat geschrieben: 15 Sep 2022, 16:57 "twisted/internet/posixbase.py"

So this is not a 4.2 installation?
We are still using twisted in opsiclientd 4.2.