Inventarisierung mit dem Produkten hwaudit & swaudit
Inventarisierung mit dem Produkten hwaudit & swaudit
wenn ich versuche über den opsi configuration Editor / Produktkonfiguration
z.B. hwaudit oder swaudit an einen ausgewählten Client zu verteilen
bekomme ich immer ein failed (Setup) in Report angezeigt und unter den Logdateien steht folgendes:
bootmode BKSTD
[5] [Okt 30 11:32:15:376] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [Okt 30 11:32:15:376] Resolved sequence of products (30.10.2013 11:32:15):
[5] [Okt 30 11:32:15:376] Product 1 hwaudit : setup
[5] [Okt 30 11:32:15:376] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [Okt 30 11:32:15:667] [hwaudit] JSON service request https://10.0.0.100:4447/rpc getProductProperties_hash
[6] [Okt 30 11:32:15:798] [hwaudit] JSON Bench for getProductProperties_hash "params":["hwaudit","win7.de"],"id": Start: 11:32:15:667 Time: 00:00:00:131
[6] [Okt 30 11:32:15:801] [hwaudit] JSON service request https://10.0.0.100:4447/rpc getProduct_hash
[6] [Okt 30 11:32:15:866] [hwaudit] JSON Bench for getProduct_hash "params":["hwaudit","opsi.domain"],"id": Start: 11:32:15:801 Time: 00:00:00:065
[6] [Okt 30 11:32:15:870] [hwaudit] JSON service request https://10.0.0.100:4447/rpc productOnClient_getObjects
[6] [Okt 30 11:32:15:920] [hwaudit] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"win7.domain"," Start: 11:32:15:870 Time: 00:00:00:050
[5] [Okt 30 11:32:15:926] [hwaudit] scriptname: "hwaudit.ins", special path: "p:\hwaudit\"
[6] [Okt 30 11:32:15:927] [hwaudit] JSON service request https://10.0.0.100:4447/rpc productOnClient_updateObject
[6] [Okt 30 11:32:15:986] [hwaudit] JSON Bench for productOnClient_updateObject "params":[{"clientId":"win7.domain","act Start: 11:32:15:926 Time: 00:00:00:060
[4] [Okt 30 11:32:16:005] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:16:411] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:16:824] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:17:230] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:17:636] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:18:042] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:18:448] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:18:854] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:19:261] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:19:667] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:20:079] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins - giving up
[4] [Okt 30 11:32:20:080] [hwaudit] Script p:\hwaudit\hwaudit.ins not found File Err. No. 5 (Zugriff verweigert<) - retrying
[4] [Okt 30 11:32:21:094] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:21:507] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:21:917] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:22:328] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:22:739] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:23:146] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:23:554] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:23:962] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:24:370] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:24:777] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:25:189] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins - giving up
[4] [Okt 30 11:32:25:190] [hwaudit] Script p:\hwaudit\hwaudit.ins not found File Err. No. 5 (Zugriff verweigert<) - retrying
[4] [Okt 30 11:32:26:203] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:26:615] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:27:023] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:27:436] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:27:845] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:28:256] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:28:662] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:29:070] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:29:477] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:29:885] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins -retrying
[4] [Okt 30 11:32:30:292] [hwaudit] Warning: file not found :p:\hwaudit\hwaudit.ins - giving up
[3] [Okt 30 11:32:30:298] [hwaudit] Script p:\hwaudit\hwaudit.ins not found File Err. No. 5 (Zugriff verweigert<) - giving up
[5] [Okt 30 11:32:30:298] [hwaudit] Error level set to fatal
[5] [Okt 30 11:32:30:298] [hwaudit] We do not look for a update script, because the setup script is failed
[6] [Okt 30 11:32:30:299] [hwaudit] JSON service request https://10.0.0.100:4447/rpc productOnClient_updateObject
[6] [Okt 30 11:32:30:359] [hwaudit] JSON Bench for productOnClient_updateObject "params":[{"clientId":"Win7.domain.de","act Start: 11:32:30:298 Time: 00:00:00:061
[6] [Okt 30 11:32:30:366] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [Okt 30 11:32:30:366] Variable "RebootRequested" is keeping its value "0"
[6] [Okt 30 11:32:30:366] Variable "LastLogFilename" had value "c:\tmp\opsi-client-agent.log"
[6] [Okt 30 11:32:30:366] Info: "LastLogFilename" changed to "c:\tmp\instlog.txt"
[6] [Okt 30 11:32:30:366] Variable "ContinueLogFile" had value "1"
[6] [Okt 30 11:32:30:366] Info: "ContinueLogFile" changed to "0"
[6] [Okt 30 11:32:30:366] Variable "NumberOfErrors" not found. Code: 2
[6] [Okt 30 11:32:30:379] Key flushed
[6] [Okt 30 11:32:30:379] Key closed
[5] [Okt 30 11:32:30:390] -------- submitted part of log file ends here, see the rest of log file on client ----------
[5] [Okt 30 11:32:30:402] read file created
[5] [Okt 30 11:32:30:402] read file opend
[5] [Okt 30 11:32:30:402] start reading read file ...
[5] [Okt 30 11:32:30:403] start sending read file ...
[6] [Okt 30 11:32:30:458] JSON service request https://10.0.4.102:4447/rpc backend_exit
[6] [Okt 30 11:32:30:516] JSON Bench for backend_exit "params":[],"id":1} Start: 11:32:30:458 Time: 00:00:00:058
[1] [Okt 30 11:32:30:522] ============ opsi-winst Version 4.11.3.6 WIN32 is regularly exiting. Time 2013-10-30 11:32:30 .
freue mich über jede Hilfe
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
meiner ansicht nach ist die nachfolgende fehlermeldung aussagekraeftig:
anscheinend hat der user "pcpatch", welcher vom client fuer den zugriff auf das depot verwendet wird, nicht die notwendigen rechte. ggf. wurde das passwort dieses benutzers nicht an samba weitergegeben? ich wuerde versuchen hier anzusetzen.[3] [Okt 30 11:32:30:298] [hwaudit] Script p:\hwaudit\hwaudit.ins not found File Err. No. 5 (Zugriff verweigert<) - giving up
gruesse
mark
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
probier mal als root auf der Konsole:
Code: Alles auswählen
opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
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
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
vielen dank für die Hilfe, ja das war das Problem

pcpatch hatte meinen ubuntu User nicht drin
und hatte so auch keine Rechte.
User hinzu genommen und schon darf ich alles verteilen

















Re: Inventarisierung mit dem Produkten hwaudit & swaudit
Ich bekomme dieselbe Fehlermeldung (Zugriff verweigert). Ich habe das pcpatch-Passwort mehrfach gesetzt und die obigen vier Befehle ausgeführt, aber es ändert sich nichts. Der User, mit dem ich mich am configed angemeldet habe und die Software verteilen möchte, ist in den Gruppen pcpatch und opsiadmin. Der User pcpatch ist nur in der Gruppe pcpatch. Bloß woher weiß Samba jetzt von ihm? Wenn ich der Doku glaube, wird das Passwort durch "opsi-admin -d task setPcpatchPassword" an Samba durchgereicht, richtig?
Ich nutze Opsi 4.0.4 und Samba 4.1.5.
Es wäre toll, wenn jemand einen Tipp für mich hätte!
Beste Grüße!
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
Mir ist noch was aufgefallen in meinen Installationsnotizen: In der Doku steht noch, dass smbfs installiert sein muss. Das ist deprecated und aus den Debian-Repositories verschwunden. Ich weiß leider nicht, was ich jetzt tun muss, damit meine Installation mit cifs (oder was sonst?) funktioniert. Kann das was mit den Zugriffsproblemen zu tun haben?Ich nutze Opsi 4.0.4 und Samba 4.1.5.
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
Ehhh.. you have samba installed right? That's good enough.silk hat geschrieben:Mir ist noch was aufgefallen in meinen Installationsnotizen: In der Doku steht noch, dass smbfs installiert sein muss. Das ist deprecated und aus den Debian-Repositories verschwunden. Ich weiß leider nicht, was ich jetzt tun muss, damit meine Installation mit cifs (oder was sonst?) funktioniert. Kann das was mit den Zugriffsproblemen zu tun haben?Ich nutze Opsi 4.0.4 und Samba 4.1.5.
Have you tried running this command:
Code: Alles auswählen
opsi-setup --auto-configure-samba
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
Sure. This didn't help. It created the shares, in my Samba's LDAP I can see the users opsiadmin and pcpatch. So the passing through to Samba seems to have worked but something's still wrong with permissions.Ehhh.. you have samba installed right? That's good enough.
Have you tried running this command:Code: Alles auswählen
opsi-setup --auto-configure-samba
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
in der Regel hilft hier ein:silk hat geschrieben:Sure. This didn't help. It created the shares, in my Samba's LDAP I can see the users opsiadmin and pcpatch. So the passing through to Samba seems to have worked but something's still wrong with permissions.Ehhh.. you have samba installed right? That's good enough.
Have you tried running this command:Code: Alles auswählen
opsi-setup --auto-configure-samba
Code: Alles auswählen
opsi-setup --set-rights
Gruß
Niko
Code: Alles auswählen
import OPSI
Re: Inventarisierung mit dem Produkten hwaudit & swaudit
du nutzt samba 4, dass ist momentan dein Problem. Samba 4 funktioniert nicht mehr wie samba 3, zumindest in einigen Teilen nicht. Du musst als erstes dafür sorgen, dass der User nicht mit der Gruppe pcpatch angelegt wird. Opsi unterstützt samba 4 momentan nur zusammen mit UCS, lese dir mal das UCS Kapitel aus dem Getting Started durch. Dort steht, was wir Grundsätzlich ändern mussten, damit samba4 unterstützt wird. Diese Schritte musst du auch einem nicht UCS-System manuell machen.
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