Seite 1 von 1

Depot-Server Probleme

Verfasst: 15 Feb 2011, 15:44
von altmann
Hallo, wir haben bei uns in der Organisation 2 Standorte mit 2 unterschiedlichen Netzen:

141.51.138.x
141.41.84.x

Frage: Braucht man für jedes Netz einen eigenen Depotserver auf dem Server wo Opsi liegt?

Mein Problem besteht darin, das ich an dem Standort, an welchem das Rechnernetz nicht mit dem des Depotservers übereinstimmt, der Opsi-Client-Agent keine Verbindung zum Depot-Server aufbauen kann.

Der Depotserver hat folgende Konfiguration:

Code: Alles auswählen

[
          {
          "masterDepotId" : null,
          "ident" : "opsi.wi-kassel.de",
          "networkAddress" : "141.51.138.0/255.255.255.0",
          "description" : "",
          "inventoryNumber" : "",
          "ipAddress" : "141.51.138.164",
          "repositoryRemoteUrl" : "webdavs://opsi.wi-kassel.de:4447/repository",
          "depotLocalUrl" : "file:///opt/pcbin/install",
          "isMasterDepot" : true,
          "notes" : "",
          "hardwareAddress" : "00:0c:29:c1:a3:b7",
          "maxBandwidth" : 0,
          "repositoryLocalUrl" : "file:///var/lib/opsi/repository",
          "opsiHostKey" : "3c35271f1042c4acd1fa213bbc18b8e3",
          "type" : "OpsiConfigserver",
          "id" : "opsi.wi-kassel.de",
          "depotWebdavUrl" : "webdavs://opsi.wi-kassel.de:4447/depot",
          "depotRemoteUrl" : "smb://opsi/opt_pcbin/install"
          }
]

mit angegebener Netzwerkadresse/Subnetmask "networkAddress" : "141.51.138.0/255.255.255.0"

Ich habe nun den Opsi-Client-Agent auf einem Client / Windows 7 Professional installiert, der sich in dem anderen Netz 141.51.84.x befindet. Hierbei kam es zu einem Verbindungsfehler mit dem Depotserver.
Anbei die opsiconfd.log

Code: Alles auswählen

[5] [Jan 31 21:05:11] [ event processing gui_startup  ] Starting notification server on port 44001   (Opsiclientd.pyo|564)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] cannot send notification 'subjectsChanged', no client connected   (Message.pyo|557)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Initializing event generator '<GUIStartupEventGenerator wait_for_gui>'   (Events.pyo|397)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Activating event generator '<GUIStartupEventGenerator wait_for_gui>'   (Events.pyo|405)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Getting next event...   (Events.pyo|407)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Searching pids of process name LogonUI.exe (session id: None)   (Windows.pyo|814)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Found process logonui.exe with matching name (pid 864, session 1)   (Windows.pyo|836)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Firing event '<ocdlib.Events.GUIStartupEvent object at 0x01CA62F0>'   (Events.pyo|365)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Event info:   (Events.pyo|366)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Starting FireEventThread for listeners: [<ocdlib.Opsiclientd.WaitForGUI object at 0x01C3FB10>]   (Events.pyo|389)
[6] [Jan 31 21:05:11] [ opsiclientd                   ] Notification server starting   (Message.pyo|603)
[5] [Jan 31 21:05:11] [ event processing gui_startup  ] Notification server started   (Opsiclientd.pyo|580)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] Action processor name 'opsi-winst', version '4.10.8.7'   (Opsiclientd.pyo|867)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] cannot send notification 'messageChanged', no client connected   (Message.pyo|557)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] cannot send notification 'messageChanged', no client connected   (Message.pyo|557)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] cannot send notification 'messageChanged', no client connected   (Message.pyo|557)
[5] [Jan 31 21:05:11] [ opsiclientd                   ] Block login now set to 'True'   (Opsiclientd.pyo|102)
[5] [Jan 31 21:05:11] [ event processing gui_startup  ] Starting notifier application in session '1'   (Opsiclientd.pyo|841)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] Running command C:\Program Files\opsi.org\opsi-client-agent\\notifier.exe -p 44001 -s notifier\\action.ini in session '1' on desktop 'winlogon'   (Opsiclientd.pyo|817)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] Searching pids of process name winlogon.exe (session id: 1)   (Windows.pyo|814)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] Found process winlogon.exe with matching name (pid 452, session 1)   (Windows.pyo|836)
[5] [Jan 31 21:05:11] [ event processing gui_startup  ] Executing: 'C:\Program Files\opsi.org\opsi-client-agent\\notifier.exe -p 44001 -s notifier\\action.ini' in session '1' on desktop 'winsta0\winlogon'   (Windows.pyo|985)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] Process startet, pid: 360   (Windows.pyo|987)
[6] [Jan 31 21:05:11] [ event processing gui_startup  ] Session id set to 1   (Opsiclientd.pyo|543)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Event generator '<GUIStartupEventGenerator wait_for_gui>' now deactivated after 1 event occurrences   (Events.pyo|412)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Event generator '<GUIStartupEventGenerator wait_for_gui>' exiting    (Events.pyo|423)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] Calling processEvent on listener <ocdlib.Opsiclientd.WaitForGUI object at 0x01C3FB10>   (Events.pyo|384)
[6] [Jan 31 21:05:11] [ event generator wait_for_gui  ] GUI started   (Opsiclientd.pyo|149)
[5] [Jan 31 21:05:11] [ opsiclientd                   ] Done waiting for GUI   (Opsiclientd.pyo|260)
[6] [Jan 31 21:05:12] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:12] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:12] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:12] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:14] [ event processing gui_startup  ] cannot send notification 'messageChanged', no client connected   (Message.pyo|557)
[6] [Jan 31 21:05:14] [ event processing gui_startup  ] User is allowed to cancel connection after 30 seconds   (Opsiclientd.pyo|609)
[6] [Jan 31 21:05:14] [ event processing gui_startup  ] Starting ServiceConnectionThread, timeout is 30 seconds   (Opsiclientd.pyo|614)
[5] [Jan 31 21:05:14] [ service connection            ] Connecting to config server 'https://141.51.138.164:4447/rpc' #1   (OpsiService.pyo|82)
[6] [Jan 31 21:05:14] [ service connection            ] cannot send notification 'messageChanged', no client connected   (Message.pyo|557)
[6] [Jan 31 21:05:14] [ opsiclientd                   ] Starting new HTTPS connection (0) to 141.51.138.164:4447   (HTTP.pyo|408)
[6] [Jan 31 21:05:15] [ event processing gui_startup  ] cannot send notification 'messageChanged', no client connected   (Message.pyo|557)
[6] [Jan 31 21:05:15] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:15] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:15] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:15] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:15] [ control server                ] client connection made   (Message.pyo|459)
[6] [Jan 31 21:05:15] [ control server                ] sending notification 'subjectsChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:16] [ opsiclientd                   ] Connection established to: 141.51.138.164   (HTTP.pyo|411)
[6] [Jan 31 21:05:16] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:17] [ service connection            ] Disabling mysql backend and license management module: no customer in modules file   (JSONRPC.pyo|474)
[6] [Jan 31 21:05:17] [ service connection            ] <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x01CB1620>: Connected to service   (JSONRPC.pyo|399)
[6] [Jan 31 21:05:17] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:17] [ service connection            ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:17] [ service connection            ] Connected to config server 'https://141.51.138.164:4447/rpc'   (OpsiService.pyo|94)
[6] [Jan 31 21:05:18] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:18] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:18] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:18] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:18] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:18] [ event processing gui_startup  ] sending notification 'subjectsChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:18] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:18] [ event processing gui_startup  ] Updating config file: 'C:\Program Files\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf'   (Config.pyo|274)
[5] [Jan 31 21:05:18] [ event processing gui_startup  ] No need to write config file 'C:\Program Files\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf', config file is up to date   (Config.pyo|306)
[5] [Jan 31 21:05:18] [ event processing gui_startup  ] Getting config from service   (Opsiclientd.pyo|714)
[6] [Jan 31 21:05:18] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId license-management.use, values [False]   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId clientconfig.configserver.url, values [u'https://141.51.138.164:4447/rpc']   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Setting config value config_service.url   (Config.pyo|155)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId opsi-linux-bootimage.append, values []   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId product_sort_algorithm, values [u'algorithm1']   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId clientconfig.windows.domain, values [u'WORKGROUP']   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId clientconfig.depot.dynamic, values [False]   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId clientconfig.depot.drive, values [u'p:']   (Opsiclientd.pyo|752)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Setting config value depot_server.drive   (Config.pyo|155)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config state from service: configId clientconfig.depot.id, values [u'opsi.wi-kassel.de']   (Opsiclientd.pyo|752)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] Got config from service   (Opsiclientd.pyo|771)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] Updating config file: 'C:\Program Files\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf'   (Config.pyo|274)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] No need to write config file 'C:\Program Files\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf', config file is up to date   (Config.pyo|306)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ]    [ 1] product swaudit:             setup   (Opsiclientd.pyo|1079)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ]    [ 2] product notepadpp:           setup   (Opsiclientd.pyo|1079)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ]    [ 3] product hwaudit:             setup   (Opsiclientd.pyo|1079)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] Start processing action requests   (Opsiclientd.pyo|1086)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] Selecting depot   (Config.pyo|314)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] Selected depot is: <OpsiConfigserver id 'opsi.wi-kassel.de'>   (Config.pyo|431)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Setting config value depot_server.depot_id   (Config.pyo|155)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] Setting config value depot_server.url   (Config.pyo|155)
[5] [Jan 31 21:05:19] [ event processing gui_startup  ] Getting TrustedInstaller service configuration   (Opsiclientd.pyo|1159)
[6] [Jan 31 21:05:19] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:20] [ event processing gui_startup  ] Updating action processor   (Opsiclientd.pyo|901)
[6] [Jan 31 21:05:20] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:20] [ event processing gui_startup  ] Mounting depot share smb://opsi/opt_pcbin/install   (Opsiclientd.pyo|879)
[6] [Jan 31 21:05:20] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:20] [ event processing gui_startup  ] Mounting '\\opsi\opt_pcbin' to 'p:'   (Windows.pyo|437)
[6] [Jan 31 21:05:21] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:21] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:21] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:21] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:24] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:24] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:24] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:24] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:27] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:27] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:27] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:27] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:30] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:30] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:30] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:30] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[3] [Jan 31 21:05:32] [ event processing gui_startup  ] Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')   (Windows.pyo|450)
[3] [Jan 31 21:05:32] [ event processing gui_startup  ] Failed to update action processor: Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')   (Opsiclientd.pyo|975)
[5] [Jan 31 21:05:32] [ event processing gui_startup  ] Starting action processor in session '1' on desktop 'winlogon'   (Opsiclientd.pyo|1240)
[6] [Jan 31 21:05:32] [ event processing gui_startup  ] Running command C:\Program Files\opsi.org\opsi-client-agent\action_processor_starter.exe "hiwi-pc.wi-kassel.de" "*** confidential ***" "4441" "c:\\tmp\\opsiclientd.log" "6" "smb://opsi/opt_pcbin/install" "p:" "pcpatch" "*** confidential ***" "1" "winlogon" "\"C:\Program Files\opsi.org\opsi-client-agent\\opsi-winst\\winst32.exe\" /opsiservice \"https://141.51.138.164:4447/rpc\" /clientid hiwi-pc.wi-kassel.de /username hiwi-pc.wi-kassel.de /password *** confidential ***" 10800 "" "" in session '1' on desktop 'winlogon'   (Opsiclientd.pyo|817)
[6] [Jan 31 21:05:32] [ event processing gui_startup  ] Searching pids of process name winlogon.exe (session id: 1)   (Windows.pyo|814)
[6] [Jan 31 21:05:32] [ event processing gui_startup  ] Found process winlogon.exe with matching name (pid 452, session 1)   (Windows.pyo|836)
[5] [Jan 31 21:05:32] [ event processing gui_startup  ] Executing: 'C:\Program Files\opsi.org\opsi-client-agent\action_processor_starter.exe "hiwi-pc.wi-kassel.de" "*** confidential ***" "4441" "c:\\tmp\\opsiclientd.log" "6" "smb://opsi/opt_pcbin/install" "p:" "pcpatch" "*** confidential ***" "1" "winlogon" "\"C:\Program Files\opsi.org\opsi-client-agent\\opsi-winst\\winst32.exe\" /opsiservice \"https://141.51.138.164:4447/rpc\" /clientid hiwi-pc.wi-kassel.de /username hiwi-pc.wi-kassel.de /password *** confidential ***" 10800 "" ""' in session '1' on desktop 'winsta0\winlogon'   (Windows.pyo|985)
[6] [Jan 31 21:05:32] [ event processing gui_startup  ] Process startet, pid: 2208   (Windows.pyo|987)
[6] [Jan 31 21:05:32] [ event processing gui_startup  ] Waiting for process ending: 2208 (timeout: 0 seconds)   (Windows.pyo|990)
[6] [Jan 31 21:05:33] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:33] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:33] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:33] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:34] [ action_processor_starter.exe  ] Starting new HTTPS connection (0) to localhost:4441   (HTTP.pyo|408)
[6] [Jan 31 21:05:35] [ action_processor_starter.exe  ] Connection established to: localhost   (HTTP.pyo|411)
[6] [Jan 31 21:05:35] [ control server                ] Worker <ocdlib.ControlServer.ControlServerJsonRpcWorker instance at 0x01DC23A0> started processing   (ControlServer.pyo|371)
[5] [Jan 31 21:05:35] [ control server                ] Authorization request from hiwi-pc.wi-kassel.de@127.0.0.1   (ControlServer.pyo|320)
[5] [Jan 31 21:05:35] [ json rpc                      ] -----> Executing: backend_getInterface()   (JsonRpc.pyo|96)
[6] [Jan 31 21:05:35] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:35] [ action_processor_starter.exe  ] <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x00FD7378>: Connected to service   (JSONRPC.pyo|399)
[6] [Jan 31 21:05:35] [ action_processor_starter.exe  ] Impersonating network account 'pcpatch'   (action_processor_starter.py|94)
[5] [Jan 31 21:05:35] [ action_processor_starter.exe  ] Mounting depot share smb://opsi/opt_pcbin/install   (action_processor_starter.py|99)
[6] [Jan 31 21:05:35] [ control server                ] Worker <ocdlib.ControlServer.ControlServerJsonRpcWorker instance at 0x01DC2260> started processing   (ControlServer.pyo|371)
[5] [Jan 31 21:05:35] [ control server                ] Authorization request from hiwi-pc.wi-kassel.de@127.0.0.1   (ControlServer.pyo|320)
[5] [Jan 31 21:05:35] [ json rpc                      ] -----> Executing: setStatusMessage(u'1', u'Verbinde mit Depot-Freigabe smb://opsi/opt_pcbin/install')   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:35] [ opsiclientd                   ] rpc setStatusMessage: Setting status message to 'Verbinde mit Depot-Freigabe smb://opsi/opt_pcbin/install'   (ControlServer.pyo|738)
[6] [Jan 31 21:05:35] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:35] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[5] [Jan 31 21:05:35] [ action_processor_starter.exe  ] Mounting '\\opsi\opt_pcbin' to 'p:'   (Windows.pyo|437)
[6] [Jan 31 21:05:36] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:36] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:36] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:36] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:39] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:39] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:39] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:39] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:42] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:42] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:42] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:42] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[3] [Jan 31 21:05:43] [ action_processor_starter.exe  ] Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')   (Windows.pyo|450)
[2] [Jan 31 21:05:43] [ action_processor_starter.exe  ] Traceback:   (Logger.pyo|710)
[2] [Jan 31 21:05:43] [ action_processor_starter.exe  ]      line 105 in '<module>' in file 'action_processor_starter.py'   (Logger.pyo|710)
[2] [Jan 31 21:05:43] [ action_processor_starter.exe  ]      line 451 in 'mount' in file 'OPSI\System\Windows.pyo'   (Logger.pyo|710)
[2] [Jan 31 21:05:43] [ action_processor_starter.exe  ]      ==>>> Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')   (action_processor_starter.py|117)
[6] [Jan 31 21:05:43] [ control server                ] Worker <ocdlib.ControlServer.ControlServerJsonRpcWorker instance at 0x01DC2FA8> started processing   (ControlServer.pyo|371)
[5] [Jan 31 21:05:43] [ control server                ] Authorization request from hiwi-pc.wi-kassel.de@127.0.0.1   (ControlServer.pyo|320)
[5] [Jan 31 21:05:43] [ json rpc                      ] -----> Executing: setStatusMessage(u'1', u"Failed to process action requests: Failed to mount '\\\\opsi\\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')")   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:43] [ opsiclientd                   ] rpc setStatusMessage: Setting status message to 'Failed to process action requests: Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')'   (ControlServer.pyo|738)
[6] [Jan 31 21:05:43] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:43] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[3] [Jan 31 21:05:43] [ action_processor_starter.exe  ] Failed to process action requests: Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')   (action_processor_starter.py|124)
[6] [Jan 31 21:05:43] [ control server                ] Worker <ocdlib.ControlServer.ControlServerJsonRpcWorker instance at 0x01DC43C8> started processing   (ControlServer.pyo|371)
[5] [Jan 31 21:05:43] [ control server                ] Authorization request from hiwi-pc.wi-kassel.de@127.0.0.1   (ControlServer.pyo|320)
[5] [Jan 31 21:05:43] [ json rpc                      ] -----> Executing: backend_exit()   (JsonRpc.pyo|96)
[6] [Jan 31 21:05:43] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[5] [Jan 31 21:05:43] [ event processing gui_startup  ] Process 2208 ended with exit code 0   (Windows.pyo|1000)
[6] [Jan 31 21:05:43] [ event processing gui_startup  ] Session id set to 1   (Opsiclientd.pyo|543)
[6] [Jan 31 21:05:43] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:45] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:45] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:45] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:45] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
[6] [Jan 31 21:05:46] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:46] [ event processing gui_startup  ] Writing log to service   (Opsiclientd.pyo|780)
[6] [Jan 31 21:05:46] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:46] [ opsiclientd                   ] rebootRequested: 0   (Windows.pyo|326)
[6] [Jan 31 21:05:46] [ opsiclientd                   ] shutdownRequested: 0   (Windows.pyo|340)
[6] [Jan 31 21:05:46] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[5] [Jan 31 21:05:46] [ opsiclientd                   ] Block login now set to 'False'   (Opsiclientd.pyo|102)
[6] [Jan 31 21:05:46] [ opsiclientd                   ] Terminating block login notifier app (pid 1940)   (Opsiclientd.pyo|129)
[6] [Jan 31 21:05:46] [ event processing gui_startup  ] sending notification 'messageChanged' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:46] [ event processing gui_startup  ] Stopping notification server   (Opsiclientd.pyo|1510)
[6] [Jan 31 21:05:46] [ event processing gui_startup  ] sending notification 'endConnection' to clients   (Message.pyo|559)
[6] [Jan 31 21:05:48] [ control server                ] client connection lost   (Message.pyo|464)
[5] [Jan 31 21:05:48] [ event processing gui_startup  ] ============= EventProcessingThread for event '<ocdlib.Events.GUIStartupEvent object at 0x01C3FD50>' ended =============   (Opsiclientd.pyo|1520)
[5] [Jan 31 21:05:48] [ opsiclientd                   ] Done processing event '<ocdlib.Events.GUIStartupEvent object at 0x01C3FD50>'   (Opsiclientd.pyo|350)
[6] [Jan 31 21:05:48] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [Jan 31 21:05:48] [ json rpc                      ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|96)
[5] [Jan 31 21:05:48] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'False'   (ControlPipe.pyo|428)
[6] [Jan 31 21:05:48] [ json rpc                      ] Got result   (JsonRpc.pyo|124)
mit dem Log "[3] [Jan 31 21:05:43] [ action_processor_starter.exe ] Failed to process action requests: Failed to mount '\\opsi\opt_pcbin': (53, 'WNetAddConnection2', 'Der Netzwerkpfad wurde nicht gefunden.')"

Liegt es evtl. an dem mehrfach vorhandenen "getBlockLogin" = True?

Ich habe nun versucht einen neuen Depot-Server mit opsi-setup --register-depot anzulegen. Dabei habe ich mir irgendwie den Zugriff auf den Depotserver zerschossen. Zum einen konnte ich danach opsi-setup --register-depot nur noch bis zur ersten Maske aufrufen, zum anderen war das Webinterface in einer Endlosschleife. Ich schätze das lag an einer falschen Eingabe des Config-Servers in der ersten Maske beim ersten Mal, in dem ich 'localhost' eingetragen habe. In /etc/opsi/backendManager/dispatch.conf standen danach folgende Einträge:

Code: Alles auswählen

backend_.* : jsonrpc, opsipxeconfd, dhcpd
.*         : jsonrpc
Also - ich danach die Datei wieder folgendermaßen abgeändert:

Code: Alles auswählen

       backend_.*         : file, opsipxeconfd, dhcpd
       host_.*               : file, opsipxeconfd, dhcpd
       productOnClient_.* : file, opsipxeconfd
       configState_.*     : file, opsipxeconfd
       .*                 : file
und nach opsi-getting-started folgende Befehle durchgeführt:

opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart

Jetzt scheint das Webinterface wieder zu laufen. Das Problem mit dem Zugriff auf den Depotserver bleibt allerdings bestehen.
Gibt es eine Anleitung wie man da vorgehen kann. Hab bislang nur http://download.uib.de/opsi4.0/doc/opsi ... v40-de.pdf gefunden, und das hilft nur begrenzt.

Die letzte Idee, die mir dazu jetzt nur noch einfällt ist an den Depoteigenschaften ohne Anleitung rumzudoktoren mittels

Code: Alles auswählen

opsi-admin -d method host_getObjects [] '{"id":"opsi.wi-kassel.de"}' \
> /tmp/depot_config.json
opsi-admin -d method host_createObjects < /tmp/depot_config.json
Allerdings habe ich keine Ahnung, was ich da ändern soll.

Für Hilfe wäre ich sehr dankbar

Re: Depot-Server Probleme

Verfasst: 21 Feb 2011, 13:07
von d.oertel
Hi,

Möglicherweise ein Netzwerk / Netbios problem
kann \\opsi\opt_pcbin von Hand gemountet werden ?

Wir empfehlen einen Support und Pflegevertrag:
http://uib.de/www/service_support/support/index.html

gruss
d.oertel

Re: Depot-Server Probleme

Verfasst: 27 Feb 2011, 13:02
von altmann
Hallo, konnte das Problem jetzt lösen. Evtl. auch ganz interessant für alle die den Share mounten können, aber keinen Zugriff auf den Depot-Server beim Neustart bekommen:

Nachdem ich im Windows-Client unter den erweiterten TCP/IP-Einstellungen im Reiter des Windows Internet Naming Services/WINS im Feld WINS-Adressen die IP von unserem Opsi-Server eingetragen habe, hat er nun den Depot-Server nach dem Neustart gefunden.