[gelöst]Push-Funktionen [Errno -2] Name or service not known

TheAngryCube
Beiträge: 65
Registriert: 23 Mai 2012, 11:01

[gelöst]Push-Funktionen [Errno -2] Name or service not known

Beitrag von TheAngryCube »

Moin moin,

bekomme bei sämtlichen Push-Funktionen den folgenden Fehler: [Errno -2] Name or service not known

- Clients: WinXP + Win7
- Opsiclientd in den Firewalls eingetragen
- Server kann Clients über DNS auflösen und anpingen
- Settings gem. Handbuch (Namesresolution) angepasst

Die Produktinstallation läuft ohne Probleme.

MfG
Jan


Was war das Problem:
Vermutlich eine Inkompatibilität des AVAHI Deamon mit .local Domains

Lösung:
siehe Post viewtopic.php?f=7&t=3599&p=17771#p17771
Zuletzt geändert von TheAngryCube am 26 Jun 2012, 12:59, insgesamt 1-mal geändert.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von d.oertel »

Hi,

mal auf der Kommandozeile mit opsi-admin mit den hostControl methoden probieren.
Kommt da etwas mehr an Fehlermeldung ?
Wie genau ist die Anpassung an die Nameresolution ?

gruss
d.oertel


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


TheAngryCube
Beiträge: 65
Registriert: 23 Mai 2012, 11:01

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von TheAngryCube »

Hi

Ausgabe von:

Code: Alles auswählen

opsi-admin -d method hostControl_showPopup Test opsi-client.opsitest.local

Code: Alles auswählen

{
"opsi-client.opsitest.local" :
          {
          "result" : null,
          "error" : "[Errno -2] Der Name oder der Dienst ist nicht bekannt"
          }
}

In der opsiconfd.conf wurde "update ip = yes" konfiguriert.
In der hostcontrol.conf wurde "resolveHostAddress": True gesetzt.

Somit sollte doch der Name bei jeder Aktion aufgelöst werden und jedesmal wenn sich der Client meldet die IP geupdatet werden, oder? Somit müsste die ja immer aktuell sein. hab auch noch nichts anderes gesehen...

Grüße
Jan
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von d.oertel »

Hi,

dann erhöhe mal den loglevel:

Code: Alles auswählen

opsi-admin -d -l 7 method hostControl_showPopup Test opsi-client.opsitest.local
gruss
d.oertel


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


TheAngryCube
Beiträge: 65
Registriert: 23 Mai 2012, 11:01

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von TheAngryCube »

Code: Alles auswählen

[7] '.*' matches method 'licenseContract_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licenseOnClient_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licenseOnClient_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licenseOnClient_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licenseOnClient_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licenseOnClient_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licensePool_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licensePool_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licensePool_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licensePool_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'licensePool_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'log_read', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'log_write', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'objectToGroup_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'objectToGroup_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'objectToGroup_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'objectToGroup_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'objectToGroup_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productDependency_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productDependency_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productDependency_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productDependency_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productDependency_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] 'productOnClient_.*' matches method 'productOnClient_deleteObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|368)
[7] 'productOnClient_.*' matches method 'productOnClient_getHashes', dispatching to backends: file, opsipxeconfd (BackendManager.py|368)
[7] 'productOnClient_.*' matches method 'productOnClient_getObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|368)
[7] 'productOnClient_.*' matches method 'productOnClient_insertObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|368)
[7] 'productOnClient_.*' matches method 'productOnClient_updateObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|368)
[7] '.*' matches method 'productOnDepot_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productOnDepot_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productOnDepot_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productOnDepot_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productOnDepot_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productPropertyState_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productPropertyState_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productPropertyState_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productPropertyState_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productPropertyState_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productProperty_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productProperty_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productProperty_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productProperty_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'productProperty_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'product_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'product_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'product_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'product_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'product_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicenseToLicensePool_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicenseToLicensePool_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicenseToLicensePool_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicenseToLicensePool_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicenseToLicensePool_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicense_deleteObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicense_getHashes', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicense_getObjects', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicense_insertObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'softwareLicense_updateObject', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'user_getCredentials', dispatching to backends: file (BackendManager.py|368)
[7] '.*' matches method 'user_setCredentials', dispatching to backends: file (BackendManager.py|368)
[6] * BackendManager is creating ExtendedConfigDataBackend (BackendManager.py|200)
[6] Setting context to backend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|395)
[7] ExtendedConfigDataBackend is creating instance methods (Backend.py|401)
[7] ExtendedConfigDataBackend: overwriting method auditHardwareOnHost_updateObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method backend_exit of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method backend_info of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method configState_getObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method configState_insertObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method configState_updateObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method productOnClient_getObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method productOnClient_insertObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method productOnClient_updateObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method productOnDepot_deleteObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method productOnDepot_insertObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] ExtendedConfigDataBackend: overwriting method productPropertyState_getObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|411)
[7] Dispatching method 'auditHardware_getConfig' to backends: [u'mysql'] (BackendManager.py|383)
[7] Trying to lock file '/etc/opsi/hwaudit/locales/en_US' (0/2000) (__init__.py|190)
[7] File '/etc/opsi/hwaudit/locales/en_US' locked after 0 millis (__init__.py|212)
[7] Found STRUCTURAL hardware class 'COMPUTER_SYSTEM' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'CHASSIS' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'BASE_BOARD' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'BIOS' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'SYSTEM_SLOT' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'PORT_CONNECTOR' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'PROCESSOR' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'MEMORY_BANK' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'MEMORY_MODULE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'CACHE_MEMORY' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'PCI_DEVICE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'NETWORK_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'AUDIO_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'HDAUDIO_DEVICE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'IDE_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'SCSI_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'FLOPPY_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'USB_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class '1394_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'PCMCIA_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'VIDEO_CONTROLLER' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'FLOPPY_DRIVE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'TAPE_DRIVE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'HARDDISK_DRIVE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'DISK_PARTITION' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'OPTICAL_DRIVE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'USB_DEVICE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'MONITOR' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'KEYBOARD' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'POINTING_DEVICE' (Backend.py|1393)
[7] Found STRUCTURAL hardware class 'PRINTER' (Backend.py|1393)
[6] * BackendManager is creating DepotserverBackend (BackendManager.py|205)
[6] Setting context to backend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|395)
[7] DepotserverBackend is creating instance methods (Backend.py|401)
[7] DepotserverBackend: overwriting method backend_exit of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|411)
[7] DepotserverBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|411)
[7] DepotserverBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|411)
[7] DepotserverBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|411)
[7] DepotserverBackend: overwriting method backend_info of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|411)
[7] DepotserverBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|411)
[7] ExtendedBackend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c>: executing 'host_getObjects' on backend '<OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c>' (Backend.py|421)
[7] Dispatching method 'host_getObjects' to backends: [u'file', u'opsipxeconfd'] (BackendManager.py|383)
[7] Getting hosts ... (File.py|1263)
[7] Getting idents for 'OpsiDepotserver' with filter '{'id': u'opsi-server.opsitest.local'}' (File.py|381)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Value 'opsi-server.opsitest.local' matched filter 'opsi-server.opsitest.local', attribute 'id' (Backend.py|242)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Value 'opsi-server.opsitest.local' matched filter 'opsi-server.opsitest.local', attribute 'id' (Backend.py|242)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Value 'opsi-server.opsitest.local' matched filter 'opsi-server.opsitest.local', attribute 'id' (Backend.py|242)
[7] Getting idents for 'OpsiConfigserver' with filter '{'id': u'opsi-server.opsitest.local'}' (File.py|381)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Value 'opsi-server.opsitest.local' matched filter 'opsi-server.opsitest.local', attribute 'id' (Backend.py|242)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Value 'opsi-server.opsitest.local' matched filter 'opsi-server.opsitest.local', attribute 'id' (Backend.py|242)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Value 'opsi-server.opsitest.local' matched filter 'opsi-server.opsitest.local', attribute 'id' (Backend.py|242)
[7] Getting idents for 'OpsiClient' with filter '{'id': u'opsi-server.opsitest.local'}' (File.py|381)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Testing match of filter 'opsi-server.opsitest.local' of attribute 'id' with value 'opsi-winxpclien.opsitest.local' (Backend.py|194)
[7] Now using log-file '/var/log/opsi/package.log' for object 0x96f5f4c (Logger.py|390)
[6] * BackendManager is creating HostControlBackend (BackendManager.py|208)
[6] Setting context to backend <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|395)
[7] HostControlBackend is creating instance methods (Backend.py|401)
[7] HostControlBackend: overwriting method backend_exit of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|411)
[7] HostControlBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|411)
[7] HostControlBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|411)
[7] HostControlBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|411)
[7] HostControlBackend: overwriting method backend_info of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|411)
[7] HostControlBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|411)
[6] * BackendManager is creating BackendExtender (BackendManager.py|219)
[6] Setting context to backend <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|395)
[7] BackendExtender is creating instance methods (Backend.py|401)
[7] BackendExtender: overwriting method backend_exit of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|411)
[7] BackendExtender: overwriting method backend_getInterface of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|411)
[7] BackendExtender: overwriting method backend_getOptions of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|411)
[7] BackendExtender: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|411)
[7] BackendExtender: overwriting method backend_info of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|411)
[7] BackendExtender: overwriting method backend_setOptions of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|411)
[6] Reading config file '/etc/opsi/backendManager/extend.d/10_opsi.conf' (BackendManager.py|477)
[6] Reading config file '/etc/opsi/backendManager/extend.d/20_legacy.conf' (BackendManager.py|477)
[6] Reading config file '/etc/opsi/backendManager/extend.d/70_dynamic_depot.conf' (BackendManager.py|477)
[7] BackendManager is creating instance methods (Backend.py|401)
[7] BackendManager: overwriting method backend_exit of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|411)
[7] BackendManager: overwriting method backend_getInterface of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|411)
[7] BackendManager: overwriting method backend_getOptions of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|411)
[7] BackendManager: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|411)
[7] BackendManager: overwriting method backend_info of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|411)
[7] BackendManager: overwriting method backend_setOptions of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|411)
[6] arg[0]: method (opsi-admin|268)
[6] arg[1]: hostControl_showPopup (opsi-admin|268)
[6] arg[2]: Test (opsi-admin|268)
[6] arg[3]: opsi-client.opsitest.local (opsi-admin|268)
[7] cmdline: 'method hostControl_showPopup Test opsi-client.opsitest.local' (opsi-admin|283)
[6] Execute: method hostControl_showPopup Test opsi-client.opsitest.local (opsi-admin|658)
[7] cmdline: method hostControl_showPopup Test opsi-client.opsitest.local (opsi-admin|649)
[7] cmdline: method hostControl_showPopup Test opsi-client.opsitest.local (opsi-admin|649)
[7] Not a json string 'Test': No JSON object could be decoded (opsi-admin|1083)
[7] Not a json string 'opsi-client.opsitest.local': No JSON object could be decoded (opsi-admin|1083)
[6] Executing:  hostControl_showPopup(u'Test', u'opsi-client.opsitest.local') (opsi-admin|1094)
[7] ExtendedBackend <OPSI.Backend.BackendManager.BackendManager instance at 0x93502ec>: executing 'hostControl_showPopup' on backend '<OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c>' (Backend.py|421)
[7] ExtendedBackend <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c>: executing 'hostControl_showPopup' on backend '<OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c>' (Backend.py|421)
[7] ExtendedBackend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c>: executing 'host_getIdents' on backend '<OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c>' (Backend.py|421)
[7] ExtendedBackend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c>: executing 'host_getObjects' on backend '<OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c>' (Backend.py|421)
[7] Dispatching method 'host_getObjects' to backends: [u'file', u'opsipxeconfd'] (BackendManager.py|383)
[7] Getting hosts ... (File.py|1263)
[7] Getting idents for 'OpsiDepotserver' with filter '{'id': u'opsi-client.opsitest.local'}' (File.py|381)
[7] Testing match of filter 'opsi-client.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Getting idents for 'OpsiConfigserver' with filter '{'id': u'opsi-client.opsitest.local'}' (File.py|381)
[7] Testing match of filter 'opsi-client.opsitest.local' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Getting idents for 'OpsiClient' with filter '{'id': u'opsi-client.opsitest.local'}' (File.py|381)
[7] Testing match of filter 'opsi-client.opsitest.local' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Value 'opsi-client.opsitest.local' matched filter 'opsi-client.opsitest.local', attribute 'id' (Backend.py|242)
[7] Testing match of filter 'opsi-client.opsitest.local' of attribute 'id' with value 'opsi-winxpclien.opsitest.local' (Backend.py|194)
[7] Testing match of filter 'opsi-client.opsitest.local' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Value 'opsi-client.opsitest.local' matched filter 'opsi-client.opsitest.local', attribute 'id' (Backend.py|242)
[7] Testing match of filter 'opsi-client.opsitest.local' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Value 'opsi-client.opsitest.local' matched filter 'opsi-client.opsitest.local', attribute 'id' (Backend.py|242)
[7] ExtendedBackend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c>: executing 'host_getObjects' on backend '<OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c>' (Backend.py|421)
[7] ExtendedBackend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c>: executing 'host_getObjects' on backend '<OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c>' (Backend.py|421)
[7] Dispatching method 'host_getObjects' to backends: [u'file', u'opsipxeconfd'] (BackendManager.py|383)
[7] Getting hosts ... (File.py|1263)
[7] Getting idents for 'OpsiDepotserver' with filter '{'id': [u'opsi-client.opsitest.local']}' (File.py|381)
[7] Testing match of filter '[u'opsi-client.opsitest.local']' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Getting idents for 'OpsiConfigserver' with filter '{'id': [u'opsi-client.opsitest.local']}' (File.py|381)
[7] Testing match of filter '[u'opsi-client.opsitest.local']' of attribute 'id' with value 'opsi-server.opsitest.local' (Backend.py|194)
[7] Getting idents for 'OpsiClient' with filter '{'id': [u'opsi-client.opsitest.local']}' (File.py|381)
[7] Testing match of filter '[u'opsi-client.opsitest.local']' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Value 'opsi-client.opsitest.local' matched filter '[u'opsi-client.opsitest.local']', attribute 'id' (Backend.py|242)
[7] Testing match of filter '[u'opsi-client.opsitest.local']' of attribute 'id' with value 'opsi-winxpclien.opsitest.local' (Backend.py|194)
[7] Testing match of filter '[u'opsi-client.opsitest.local']' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Value 'opsi-client.opsitest.local' matched filter '[u'opsi-client.opsitest.local']', attribute 'id' (Backend.py|242)
[7] Getting config file for 'OpsiClient', '{'id': u'opsi-client.opsitest.local'}', 'ini' (File.py|295)
[7] Parsing ini file '/var/lib/opsi/config/clients/opsi-client.opsitest.local.ini' (__init__.py|489)
[7] Trying to lock file '/var/lib/opsi/config/clients/opsi-client.opsitest.local.ini' (0/2000) (__init__.py|190)
[7] File '/var/lib/opsi/config/clients/opsi-client.opsitest.local.ini' locked after 0 millis (__init__.py|212)
[7] Finished reading file after 0.003 seconds (__init__.py|565)
[7] Getting config file for 'OpsiClient', '{'id': u'opsi-client.opsitest.local'}', 'key' (File.py|295)
[7] Trying to lock file '/etc/opsi/pckeys' (0/2000) (__init__.py|190)
[7] File '/etc/opsi/pckeys' locked after 0 millis (__init__.py|212)
[7] Trying to lock file '/etc/opsi/pckeys' (0/2000) (__init__.py|190)
[7] File '/etc/opsi/pckeys' locked after 0 millis (__init__.py|212)
[7] Testing match of filter '[u'opsi-client.opsitest.local']' of attribute 'id' with value 'opsi-client.opsitest.local' (Backend.py|194)
[7] Value 'opsi-client.opsitest.local' matched filter '[u'opsi-client.opsitest.local']', attribute 'id' (Backend.py|242)
[7] Took 5.016 seconds to process: hostControl_showPopup(u'Test', u'opsi-client.opsitest.local') (opsi-admin|1104)
[7] [{'color': '\x1b[0;32;40m', 'text': u'{ '}, {'color': '\x1b[0;32;40m', 'text': u'"opsi-client.opsitest.local" : '}, {'color': '\x1b[0;32;40m', 'text': u'          { '}, {'color': '\x1b[0;32;40m', 'text': u'          "result" : null,'}, {'color': '\x1b[0;32;40m', 'text': u'          "error" : "[Errno -2] Der Name oder der Dienst ist nicht bekannt"'}, {'color': '\x1b[0;32;40m', 'text': u'          }'}, {'color': '\x1b[0;32;40m', 'text': u'}'}] (opsi-admin|306)
{
"opsi-client.opsitest.local" :
          {
          "result" : null,
          "error" : "[Errno -2] Der Name oder der Dienst ist nicht bekannt"
          }
}
[7] Calling backend_exit() on backend <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fc94c> (Backend.py|443)
[7] Calling backend_exit() on backend <OPSI.Backend.HostControl.HostControlBackend instance at 0x9670a6c> (Backend.py|443)
[7] Calling backend_exit() on backend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x935036c> (Backend.py|443)
[7] Calling backend_exit() on backend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x966c68c> (Backend.py|443)
[7] Calling backend_exit() on backend <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x935032c> (Backend.py|443)
root@opsi-server:/#
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von ueluekmen »

Was sagt denn auf dem opsi-Server in der Konsole:

Code: Alles auswählen

nslookup opsi-client.opsitest.local


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


TheAngryCube
Beiträge: 65
Registriert: 23 Mai 2012, 11:01

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von TheAngryCube »

Wie gesagt, funzt:

root@opsi-server:~# nslookup opsi-client.opsitest.local
Server: 172.16.10.240
Address: 172.16.10.240#53

Name: opsi-client.opsitest.local
Address: 172.16.10.241
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von ueluekmen »

was passiert wenn man per browser (nicht vom client selber) auf die URL:

https://opsi-client.opsitest.local:4441

zugreift? Kommt eine Authentifizierungsmaske?


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


TheAngryCube
Beiträge: 65
Registriert: 23 Mai 2012, 11:01

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von TheAngryCube »

Als erstes kommt die opsiclientd Startseite. Wenn ich dann ein Link auf dieser Seite anklicke kommt ein Authorisierungsfenster
TheAngryCube
Beiträge: 65
Registriert: 23 Mai 2012, 11:01

Re: Push-Funktionen [Errno -2] Name or service not known

Beitrag von TheAngryCube »

Bump
Antworten