swaudit erzeugt Fehler
swaudit erzeugt Fehler
wenn wir auf einige Clients swaudit laufen lassen, erhalten wir folgenden Fehler.
[5] [2021-01-31 17:38:19.628] [swaudit] Execution of: opsiservicecall_auditSoftwareOnClient_setObsolete
[5] [2021-01-31 17:38:19.628] [swaudit]
[6] [2021-01-31 17:38:19.628] [swaudit] "method": "auditSoftwareOnClient_setObsolete"
[6] [2021-01-31 17:38:19.750] [swaudit] JSON Bench for auditSoftwareOnClient_setObsolete "params":["mlr181w.ilr.ing.dom.tu-dresden.de"],"i Start: 17:38:19:628 Time: 00:00:00:122
[6] [2021-01-31 17:38:19.750] [swaudit] JSON result:
[6] [2021-01-31 17:38:19.750] [swaudit] If
[6] [2021-01-31 17:38:19.750] [swaudit] errorsOccuredSinceMark > 0 <<< result false
[6] [2021-01-31 17:38:19.750] [swaudit] Then
[6] [2021-01-31 17:38:19.751] [swaudit] EndIf
[5] [2021-01-31 17:38:19.767] [swaudit] Execution of: opsiservicecall_auditSoftware_createObjects
[5] [2021-01-31 17:38:19.767] [swaudit]
[6] [2021-01-31 17:38:19.772] [swaudit] "method": "auditSoftware_createObjects"
[3] [2021-01-31 17:39:49.901] [swaudit] HTTPSender Post failed
[3] [2021-01-31 17:39:49.901] [swaudit] HTTPSender result: 0 msg:
[6] [2021-01-31 17:39:49.901] [swaudit] Retry with communicationmode: 1
[6] [2021-01-31 17:39:51.215] [swaudit] Retry with communicationmode: 2
[3] [2021-01-31 17:41:21.351] [swaudit] HTTPSender Post failed
[3] [2021-01-31 17:41:21.351] [swaudit] HTTPSender result: 0 msg:
[3] [2021-01-31 17:41:21.351] [swaudit] Error:
[6] [2021-01-31 17:41:21.378] [swaudit] If
[6] [2021-01-31 17:41:21.378] [swaudit] errorsOccuredSinceMark > 0 <<< result true
[6] [2021-01-31 17:41:21.378] [swaudit] Then
[2] [2021-01-31 17:41:21.525] [swaudit] Error level set to fatal
[6] [2021-01-31 17:41:21.525] [swaudit] Process aborted
[1] [2021-01-31 17:41:21.525] [swaudit] ___________________
[1] [2021-01-31 17:41:21.525] [swaudit] script finished: failed
[1] [2021-01-31 17:41:21.525] [swaudit] 5 errors
[1] [2021-01-31 17:41:21.525] [swaudit] 0 warnings
[1] [2021-01-31 17:41:21.525] [swaudit]
[1] [2021-01-31 17:41:21.525] [swaudit] installed product: swaudit Version: 4.1.0.4-1
Was können wir dagegen tun?
Viele Grüße
Andreas
Re: swaudit erzeugt Fehler
wie löst ihr denn das Event aus? Ist das ein "on_demand" oder beim Rechner Start?
Scheinbar gibt es ein Problem in der Kommunikation vom Client zum OPSI-Server...
Beste Grüße
Thomas
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: swaudit erzeugt Fehler
Viele Grüße
Andreas
Re: swaudit erzeugt Fehler
Was sagt
Code: Alles auswählen
opsi-package-manager -l opsi-winst
Code: Alles auswählen
/etc/opsi/backendManager/dispatch.conf
Gruss
Bardo Wolf
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: swaudit erzeugt Fehler
Hier die beiden Infos vom OPSI-Server.
Code: Alles auswählen
opsi-package-manager -l opsi-winst
--------------------------------------
- ilropsi.ilrw.ing.dom.tu-dresden.de -
--------------------------------------
Product ID Version Name
====================================================================================================================================================================================================================================
opsi-winst 4.12.4.12-1 winst
Code: Alles auswählen
more /etc/opsi/backendManager/dispatch.conf
# -*- coding: utf-8 -*-
# = = = = = = = = = = = = = = = = = = = = = = =
# = backend dispatch configuration =
# = = = = = = = = = = = = = = = = = = = = = = =
#
# This file configures which methods are dispatched to which backends.
# Entries has to follow the form:
# <regular expression to match method name(s)> : <comma separated list of backend name(s)>
#
# Backend names have to match a backend configuraton file basename <backend name>.conf beneath /etc/opsi/backends.
# For every method executed on backend dispatcher the first matching regular expression will be decisive.
#
# Typical configurations:
# file, opsipxeconfd and dhcpd backend:
# backend_.* : file, opsipxeconfd, dhcpd
# host_.* : file, opsipxeconfd, dhcpd
# productOnClient_.* : file, opsipxeconfd
# configState_.* : file, opsipxeconfd
# .* : file
#
# jsonrpc, opsipxeconfd and dhcpd backend:
# backend_.* : jsonrpc, opsipxeconfd, dhcpd
# .* : jsonrpc
#
# file as main backend, mysql as hw/sw invent and license management backend, opsipxeconfd and dhcpd backend:
# backend_.* : file, mysql, opsipxeconfd, dhcpd
# host_.* : file, opsipxeconfd, dhcpd
# productOnClient_.* : file, opsipxeconfd
# configState_.* : file, opsipxeconfd
# license.* : mysql
# softwareLicense.* : mysql
# audit.* : mysql
# .* : file
#
backend_.* : file, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: swaudit erzeugt Fehler
I think your backend configuration is incorrect. Install mysql or mariadb in a recent version (follow the getting started manual, there is some mention of the strict mode for older versions).AndiMb83 hat geschrieben:Code: Alles auswählen
more /etc/opsi/backendManager/dispatch.conf # -*- coding: utf-8 -*- # = = = = = = = = = = = = = = = = = = = = = = = # = backend dispatch configuration = # = = = = = = = = = = = = = = = = = = = = = = = # # This file configures which methods are dispatched to which backends. # Entries has to follow the form: # <regular expression to match method name(s)> : <comma separated list of backend name(s)> # # Backend names have to match a backend configuraton file basename <backend name>.conf beneath /etc/opsi/backends. # For every method executed on backend dispatcher the first matching regular expression will be decisive. # # Typical configurations: # file, opsipxeconfd and dhcpd backend: # backend_.* : file, opsipxeconfd, dhcpd # host_.* : file, opsipxeconfd, dhcpd # productOnClient_.* : file, opsipxeconfd # configState_.* : file, opsipxeconfd # .* : file # # jsonrpc, opsipxeconfd and dhcpd backend: # backend_.* : jsonrpc, opsipxeconfd, dhcpd # .* : jsonrpc # # file as main backend, mysql as hw/sw invent and license management backend, opsipxeconfd and dhcpd backend: # backend_.* : file, mysql, opsipxeconfd, dhcpd # host_.* : file, opsipxeconfd, dhcpd # productOnClient_.* : file, opsipxeconfd # configState_.* : file, opsipxeconfd # license.* : mysql # softwareLicense.* : mysql # audit.* : mysql # .* : file # backend_.* : file, opsipxeconfd host_.* : file, opsipxeconfd productOnClient_.* : file, opsipxeconfd configState_.* : file, opsipxeconfd .* : file
There is no backend for audit data, so that won't work.
This will also work when you have no mysql module activated:
Code: Alles auswählen
backend_.* : file, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : file
Re: swaudit erzeugt Fehler
super, vielen lieben Dank! Das war das Problem. So richtig kann ich mir die Ursache aber nicht erklären.
Viele Grüße
Andreas