Code: Alles auswählen
/etc/opsi/backendManager/dispatch.conf
Gruss
Bardo Wolf
Code: Alles auswählen
/etc/opsi/backendManager/dispatch.conf
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
"Leider" kann ich keinen Unterschied zu vor dem Update feststellen. Aus meiner Sicht ist die Konfig so in Ordnung?!# -*- 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
#
# ldap as main backend, mysql as hw/sw invent and license management backend, opsipxeconfd and dhcpd backend:
# backend_.* : ldap, mysql, opsipxeconfd, dhcpd
# host_.* : ldap, opsipxeconfd, dhcpd
# productOnClient_.* : ldap, opsipxeconfd
# configState_.* : ldap, opsipxeconfd
# license.* : mysql
# softwareLicense.* : mysql
# audit.* : mysql
# .* : ldap
#
backend_.* : file, mysql, opsipxeconfd
host_.* : file, mysql, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : file
Bitte mal aus dieser Zeile mysql entfernen und den üblichen dreiklang beim Ändern der dispatch.conf ausführenNils hat geschrieben: host_.* : file, mysql, opsipxeconfd
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
Viele Grüße[1] [Oct 15 14:30:49]
==================================================================
= opsi configuration service starting =
================================================================== (Logger.py|848)
[5] [Oct 15 14:30:51] Starting opsiconfd main thread (opsiconfd.py|451)
[5] [Oct 15 14:30:51] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|428)
[4] [Oct 15 14:30:51] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|416)
[5] [Oct 15 14:30:51] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|486)
[5] [Oct 15 14:30:51] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|287)
[5] [Oct 15 14:30:51] Running on depot server 'opsisrv02.YYY.de', exporting repository directory (opsiconfd.py|304)
[5] [Oct 15 14:30:51] Running on depot server 'opsisrv02.YYY.de', exporting depot directory (opsiconfd.py|317)
[5] [Oct 15 14:30:51] Added webdav content 'repository' which points to directory '/var/lib/opsi/repository' () (opsiconfd.py|350)
[5] [Oct 15 14:30:51] Added webdav content 'depot' which points to directory '/var/lib/opsi/depot' () (opsiconfd.py|350)
[5] [Oct 15 14:30:51] Added webdav content 'configed' which points to directory '/usr/lib/configed' (u'noauth',) (opsiconfd.py|350)
[2] [Oct 15 14:30:51] Traceback: (Logger.py|758)
[2] [Oct 15 14:30:51] line 461 in 'run' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|758)
[2] [Oct 15 14:30:51] line 357 in '_startListening' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|758)
[2] [Oct 15 14:30:51] line 387 in '_startListeningHTTPS' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|758)
[2] [Oct 15 14:30:51] line 469 in 'listenSSL' in file '/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py' (Logger.py|758)
[2] [Oct 15 14:30:51] line 436 in 'listenTCP' in file '/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py' (Logger.py|758)
[2] [Oct 15 14:30:51] line 622 in 'startListening' in file '/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py' (Logger.py|758)
[2] [Oct 15 14:30:51] ==>>> Couldn't listen on any:4447: [Errno 98] Address already in use. (opsiconfd.py|473)
[5] [Oct 15 14:30:51] Stopping opsiconfd main thread (opsiconfd.py|177)
[5] [Oct 15 14:30:51] Deleting all sessions (Session.py|218)
[5] [Oct 15 14:30:51] Opsiconfd main thread exiting... (opsiconfd.py|476)
Code: Alles auswählen
opsi-admin -d method host_getHashes '[]' '{"type":"OpsiDepotserver"}'
--init-current-config
Initialisiert die eingestellte Backendkonfiguration. Sollte nach jeder Änderung an der
/etc/opsi/backendManager/dispatch.conf
aufgerufen werden.
Code: Alles auswählen
import OPSI