Ich habe das mal usgeführt und versuche mal den wichtigsten teil rauszusuchen, um nicht das anze log hier posten zu müssen. Ich glaube der Fehler liegt in folgender sektion:
Code: Alles auswählen
[7] [Jun 13 11:06:22] Parsing ini file '/var/lib/opsi/config/depots/opsi.hl.local.ini' (__init__.py|518)
[7] [Jun 13 11:06:22] Trying to lock file '/var/lib/opsi/config/depots/opsi.hl.local.ini' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/var/lib/opsi/config/depots/opsi.hl.local.ini' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Finished reading file after 0.041 seconds (__init__.py|595)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'depotId' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'depotId' (Backend.py|280)
[7] [Jun 13 11:06:22] Testing match of filter ['7zip-v500'] of attribute 'productId' with value u'7zip-v500' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'7zip-v500' matched filter ['7zip-v500'], attribute 'productId' (Backend.py|280)
[6] [Jun 13 11:06:22] Starting task queue "Uninstall of package(s) 7zip-v500 on depot u'opsi.hl.local'" (opsi-package-manager|1405)
[7] [Jun 13 11:06:22] TaskQueue 'Uninstall of package(s) 7zip-v500 on depot u'opsi.hl.local'' started (opsi-package-manager|631)
[7] [Jun 13 11:06:22] Starting task 'Uninstall of package u'7zip-v500' on depot u'opsi.hl.local'' (opsi-package-manager|639)
[7] [Jun 13 11:06:22] Task start() (opsi-package-manager|90)
[5] [Jun 13 11:06:22] Uninstalling package u'7zip-v500' on depot u'opsi.hl.local' (opsi-package-manager|1415)
[7] [Jun 13 11:06:22] ExtendedBackend <BackendManager()>: executing 'host_getObjects' on backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)> (Backend.py|486)
[7] [Jun 13 11:06:22] ExtendedBackend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)>: executing 'host_getObjects' on backend <BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)> (Backend.py|486)
[7] [Jun 13 11:06:22] Dispatching method 'host_getObjects' to backends: [u'file', u'opsipxeconfd', u'dhcpd'] (BackendManager.py|482)
[7] [Jun 13 11:06:22] Getting hosts ... (File.py|1253)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'id' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'id' (Backend.py|280)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'id' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'id' (Backend.py|280)
[7] [Jun 13 11:06:22] Parsing ini file '/var/lib/opsi/config/depots/opsi.hl.local.ini' (__init__.py|518)
[7] [Jun 13 11:06:22] Trying to lock file '/var/lib/opsi/config/depots/opsi.hl.local.ini' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/var/lib/opsi/config/depots/opsi.hl.local.ini' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Finished reading file after 0.043 seconds (__init__.py|595)
[7] [Jun 13 11:06:22] Trying to lock file '/etc/opsi/pckeys' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/etc/opsi/pckeys' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Trying to lock file '/etc/opsi/pckeys' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/etc/opsi/pckeys' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'id' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'id' (Backend.py|280)
[7] [Jun 13 11:06:22] Testing match of filter 'OpsiDepotserver' of attribute 'type' with value u'OpsiDepotserver' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'OpsiDepotserver' matched filter 'OpsiDepotserver', attribute 'type' (Backend.py|280)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'id' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'id' (Backend.py|280)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'id' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'id' (Backend.py|280)
[7] [Jun 13 11:06:22] Parsing ini file '/var/lib/opsi/config/depots/opsi.hl.local.ini' (__init__.py|518)
[7] [Jun 13 11:06:22] Trying to lock file '/var/lib/opsi/config/depots/opsi.hl.local.ini' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/var/lib/opsi/config/depots/opsi.hl.local.ini' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Finished reading file after 0.038 seconds (__init__.py|595)
[7] [Jun 13 11:06:22] Trying to lock file '/etc/opsi/pckeys' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/etc/opsi/pckeys' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Trying to lock file '/etc/opsi/pckeys' (0/2000) (__init__.py|216)
[7] [Jun 13 11:06:22] File '/etc/opsi/pckeys' locked after 0 millis (__init__.py|237)
[7] [Jun 13 11:06:22] Testing match of filter u'opsi.hl.local' of attribute 'id' with value u'opsi.hl.local' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'opsi.hl.local' matched filter u'opsi.hl.local', attribute 'id' (Backend.py|280)
[7] [Jun 13 11:06:22] Testing match of filter 'OpsiDepotserver' of attribute 'type' with value u'OpsiConfigserver' (Backend.py|231)
[7] [Jun 13 11:06:22] Value u'OpsiConfigserver' matched filter 'OpsiDepotserver', attribute 'type' (Backend.py|280)
[6] [Jun 13 11:06:22] Using u'webdavs://opsi.hl.local/repository' as repository url (opsi-package-manager|1419)
[7] [Jun 13 11:06:22] Starting new HTTPS connection (1) to opsi.hl.local:443 (HTTP.py|649)
[7] [Jun 13 11:06:22] Connection established to: opsi.hl.local (HTTP.py|651)
[7] [Jun 13 11:06:22] Traceback: (Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/dist-packages/OPSI/Util/HTTP.py", line 529, in urlopen
conn.request(method, url, body=body, headers=headers)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 1270, in connect
HTTPConnection.connect(self)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/httplib.py", line 836, in connect
self.timeout, self.source_address)
(Logger.py|757)
[7] [Jun 13 11:06:22] File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
(Logger.py|757)
[7] [Jun 13 11:06:22] ==>>> [Errno 111] Connection refused (HTTP.py|573)
[7] [Jun 13 11:06:22] Request to host u'opsi.hl.local' failed, retry: True, firstTryTime: 1560416782.15, now: 1560416782.15, retryTime: 5, connectTimeout: 30, socketTimeout: 0 (error(111, 'Connection refused')) (HTTP.py|577)
[7] [Jun 13 11:06:22] Request to u'opsi.hl.local' failed: [Errno 111] Connection refused (HTTP.py|595)
[7] [Jun 13 11:06:22] Waiting before retry... (HTTP.py|596)
Danach wird der Verbindungsaufbau noch ein paar mal wiederholt, bevor mit ERRNO 111 abgebrochen wird.
Was mich verwundert ist, dass oft ein u vor den ' steht. z.B. bei
Code: Alles auswählen
Value u'OpsiConfigserver' matched filter 'OpsiDepotserver', attribute 'type' (Backend.py|280)