Seite 1 von 1

[SOLVED] p:\hwaudit\hwaudit.opsiscript not found File Err. No. 2

Verfasst: 20 Okt 2021, 13:35
von stephanf
Hi,

Ich habe OPSI 4.2 auf RHEL 8.4 installiert und habe Probleme beim Versuch, die Standardprodukte auf einem Client zu installieren.
Ich habe das gleiche versucht, was auf der UIB-VM funktionierte und "hwaudit" zugewiesen.
Der Agent wird gestartet, sendet aber nur Protokolldateien und installiert nichts.
Der Fehler, den ich bekomme, ist folgender:

"p:\hwaudit\hwaudit.opsiscript not found File Err. No. 2"

Im opsiconfd.log steht folgendes:

"failed to update action processor: [WinError 2] Das System kann die angegebene Datei nicht finden: 'p:\\opsi-winst\\\\files\\\\opsi-winst\\winst32.exe' (EventProcessing.py:528) Traceback (most recent call last): File "opsiclientd\EventProcessing.py", line 466, in UpdateActionProcessor

Hat jemand eine Idee, was den Fehler auslösen könnte? Mich irritieren vor allem die \\\\. Nach meinem Verständnis müsste hier jeweils \\ stehen, nicht \\\\

Ich vergleiche gerade die Ergebnisse der Suche in den Shares
hwaudit in UIB VM: 1 folder + 3 Files sichtbar
hwaudit in RHEL 8: 1 folder sichtbar, keine files zu erkennen

in beiden Fällen liegen aber 1 folder und 3 files, in hwaudit. Offenbar werden hier die files ausgeblendet. die Rechte auf hwaudit sind jedoch identisch gesetzt. "drwxrws---"

Vergleicht man die folder jeweils auf dem Server selbst, sind auf beiden alle Daten vorhanden. :?:

Re: p:\hwaudit\hwaudit.opsiscript not found File Err. No. 2

Verfasst: 20 Okt 2021, 18:54
von SisterOfMercy
Can you mount the share successfully from another computer?
For testing you can stop the firewalld service and set selinux to permissive. (not to disabled!)

Re: p:\hwaudit\hwaudit.opsiscript not found File Err. No. 2

Verfasst: 21 Okt 2021, 10:00
von stephanf
SisterOfMercy hat geschrieben: 20 Okt 2021, 18:54 Can you mount the share successfully from another computer?
For testing you can stop the firewalld service and set selinux to permissive. (not to disabled!)
Hi SisterOfMercy,

I can mount the shares on each system, but it always shows incomplete data. As if there was a setting which hides files and only shows the folders.
When opening a ssh session to the OPSI and check the folders, I can see everything. So nothing is really missing.
Only the view in SMB share on windows looks empty.

I opened the ports on firewall which are named in the "opsi getting started". Hm, selinux? I'll check this, did not start it by myself, but might be it's standard with RHEL 8 also.

Re: p:\hwaudit\hwaudit.opsiscript not found File Err. No. 2

Verfasst: 21 Okt 2021, 12:04
von stephanf
Hi SisterOfMercy,

thanks for the support, now it's working properly.
Each file is shown, deployment is working. *thumbs up*