Opsi authentication error: Forbidden: Backend authentication

Antworten
syseca
Beiträge: 18
Registriert: 12 Okt 2010, 13:33

Opsi authentication error: Forbidden: Backend authentication

Beitrag von syseca »

Hallo zusammen

Leider quält mich mal wieder ein Problem. Windows wird korrekt auf dem Client aufgesetzt, im opsi configuration editor steht nach wie vor der Stand: unknown und Report: running ( ).
Das Log vom Client habe ich mal angehängt.

Code: Alles auswählen

[5] [May 05 12:42:58] [ event processing gui_startup  ] ============= EventProcessingThread for occurrcence of event 'gui_startup' started =============   (EventProcessing.pyo|1047)
[5] [May 05 12:42:58] [ event processing gui_startup  ] Starting notification server on port 44003   (EventProcessing.pyo|193)
[5] [May 05 12:42:58] [ opsiclientd                   ] Done waiting for GUI   (Opsiclientd.pyo|313)
[6] [May 05 12:42:58] [ opsiclientd                   ] Notification server starting   (Message.pyo|610)
[5] [May 05 12:42:59] [ event processing gui_startup  ] Notification server started   (EventProcessing.pyo|220)
[6] [May 05 12:42:59] [ event processing gui_startup  ] Action processor name 'opsi-winst', version '4.10.8.12'   (EventProcessing.pyo|348)
[5] [May 05 12:42:59] [ opsiclientd                   ] Block login now set to 'True'   (Opsiclientd.pyo|111)
[5] [May 05 12:42:59] [ event processing gui_startup  ] Starting notifier application in session '1'   (EventProcessing.pyo|320)
[6] [May 05 12:42:59] [ opsiclientd                   ] Searching pids of process name winlogon.exe (session id: 1)   (Windows.pyo|1139)
[6] [May 05 12:42:59] [ opsiclientd                   ] Found process winlogon.exe with matching name (pid 476, session 1)   (Windows.pyo|1161)
[5] [May 05 12:42:59] [ opsiclientd                   ] Executing: 'C:\Program Files (x86)\opsi.org\opsi-client-agent\\opsiclientd_rpc.exe "servername.domain.local" "*** confidential ***" "4441" "setCurrentActiveDesktopName("1", System.getActiveDesktopName())"' in session '1' on desktop 'winsta0\winlogon'   (Windows.pyo|1311)
[6] [May 05 12:43:00] [ opsiclientd                   ] Process startet, pid: 2288   (Windows.pyo|1314)
[6] [May 05 12:43:00] [ opsiclientd                   ] Waiting for process ending: 2288 (timeout: 60 seconds)   (Windows.pyo|1317)
[6] [May 05 12:43:00] [ control server                ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x01E64580> started processing   (Worker.pyo|244)
[5] [May 05 12:43:00] [ control server                ] New session created   (Session.pyo|179)
[5] [May 05 12:43:00] [ control server                ] Authorization request from servername.domain.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.1)   (ControlServer.pyo|141)
[5] [May 05 12:43:00] [ opsiclientd                   ] -----> Executing: backend_getInterface()   (JsonRpc.pyo|123)
[6] [May 05 12:43:01] [ opsiclientd                   ] Got result   (JsonRpc.pyo|131)
[6] [May 05 12:43:01] [ control server                ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x01E64260> started processing   (Worker.pyo|244)
[6] [May 05 12:43:01] [ control server                ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.1'   (Worker.pyo|391)
[5] [May 05 12:43:01] [ control server                ] Authorization request from servername.domain.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.1)   (ControlServer.pyo|141)
[5] [May 05 12:43:01] [ opsiclientd                   ] -----> Executing: setCurrentActiveDesktopName(1, u'Winlogon')   (JsonRpc.pyo|123)
[5] [May 05 12:43:01] [ opsiclientd                   ] rpc setCurrentActiveDesktopName: current active desktop name for session 1 set to 'Winlogon'   (ControlServer.pyo|487)
[6] [May 05 12:43:01] [ opsiclientd                   ] Got result   (JsonRpc.pyo|131)
[6] [May 05 12:43:01] [ control server                ] Worker <ocdlib.ControlServer.WorkerOpsiclientdJsonRpc instance at 0x01E6C328> started processing   (Worker.pyo|244)
[6] [May 05 12:43:01] [ control server                ] Reusing session for client '127.0.0.1', application 'opsi jsonrpc module version 4.0.1'   (Worker.pyo|391)
[5] [May 05 12:43:01] [ control server                ] Authorization request from servername.domain.local@127.0.0.1 (application: opsi jsonrpc module version 4.0.1)   (ControlServer.pyo|141)
[5] [May 05 12:43:01] [ opsiclientd                   ] -----> Executing: backend_exit()   (JsonRpc.pyo|123)
[6] [May 05 12:43:01] [ opsiclientd                   ] Got result   (JsonRpc.pyo|131)
[5] [May 05 12:43:01] [ opsiclientd                   ] Process 2288 ended with exit code 0   (Windows.pyo|1327)
[6] [May 05 12:43:01] [ event processing gui_startup  ] Running command C:\Program Files (x86)\opsi.org\opsi-client-agent\\notifier.exe -p 44003 -i event -s notifier\\event.ini in session '1' on desktop 'Winlogon'   (EventProcessing.pyo|296)
[6] [May 05 12:43:01] [ event processing gui_startup  ] Searching pids of process name winlogon.exe (session id: 1)   (Windows.pyo|1139)
[6] [May 05 12:43:01] [ event processing gui_startup  ] Found process winlogon.exe with matching name (pid 476, session 1)   (Windows.pyo|1161)
[5] [May 05 12:43:01] [ event processing gui_startup  ] Executing: 'C:\Program Files (x86)\opsi.org\opsi-client-agent\\notifier.exe -p 44003 -i event -s notifier\\event.ini' in session '1' on desktop 'winsta0\Winlogon'   (Windows.pyo|1311)
[6] [May 05 12:43:01] [ event processing gui_startup  ] Process startet, pid: 2352   (Windows.pyo|1314)
[6] [May 05 12:43:01] [ event processing gui_startup  ] Session id set to 1   (EventProcessing.pyo|172)
[6] [May 05 12:43:02] [ opsiclientd                   ] client connection made   (Message.pyo|459)
[6] [May 05 12:43:03] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [May 05 12:43:03] [ control pipe                  ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|123)
[5] [May 05 12:43:03] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [May 05 12:43:03] [ control pipe                  ] Got result   (JsonRpc.pyo|131)
[6] [May 05 12:43:04] [ event processing gui_startup  ] User is allowed to cancel connection after 30 seconds   (EventProcessing.pyo|130)
[6] [May 05 12:43:04] [ event processing gui_startup  ] Starting ServiceConnectionThread, timeout is 30 seconds   (OpsiService.pyo|163)
[5] [May 05 12:43:04] [ service connection            ] Connecting to config server 'https://10.130.101.198:4447/rpc' #1   (OpsiService.pyo|295)
[2] [May 05 12:43:05] [ opsiclientd                   ] Traceback:   (Logger.pyo|721)
[2] [May 05 12:43:05] [ opsiclientd                   ]      line 94 in 'processResult' in file 'OPSI\Backend\JSONRPC.pyo'   (Logger.pyo|721)
[2] [May 05 12:43:05] [ opsiclientd                   ]      ==>>> Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: OpsiHostKey authentication failed for host 'servername.domain.local': wrong key (error on server)   (JSONRPC.pyo|98)
[3] [May 05 12:43:05] [ service connection            ] Failed to connect to config server 'https://10.130.101.198:4447/rpc': Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: OpsiHostKey authentication failed for host 'servername.domain.local': wrong key (error on server)   (OpsiService.pyo|325)
[5] [May 05 12:43:05] [ service connection            ] Connect failed with username 'servername.domain.local', got fqdn 'i02918.sibach.local' from os, trying fqdn   (OpsiService.pyo|334)
[6] [May 05 12:43:06] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [May 05 12:43:06] [ control pipe                  ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|123)
[5] [May 05 12:43:06] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'True'   (ControlPipe.pyo|428)
[6] [May 05 12:43:06] [ control pipe                  ] Got result   (JsonRpc.pyo|131)
[5] [May 05 12:43:08] [ service connection            ] Connecting to config server 'https://10.130.101.198:4447/rpc' #2   (OpsiService.pyo|295)
[2] [May 05 12:43:08] [ opsiclientd                   ] Traceback:   (Logger.pyo|721)
[2] [May 05 12:43:08] [ opsiclientd                   ]      line 94 in 'processResult' in file 'OPSI\Backend\JSONRPC.pyo'   (Logger.pyo|721)
[2] [May 05 12:43:08] [ opsiclientd                   ]      ==>>> Opsi authentication error: Forbidden: Backend authentication error: Host 'i02918.sibach.local' not found in backend <OPSI.Backend.BackendManager.BackendManager instance at 0xa05ffec> (error on server)   (JSONRPC.pyo|98)
[3] [May 05 12:43:08] [ service connection            ] Failed to connect to config server 'https://10.130.101.198:4447/rpc': Opsi authentication error: Forbidden: Backend authentication error: Host 'i02918.sibach.local' not found in backend <OPSI.Backend.BackendManager.BackendManager instance at 0xa05ffec> (error on server)   (OpsiService.pyo|325)
[3] [May 05 12:43:08] [ event processing gui_startup  ] Failed to connect to config service 'https://10.130.101.198:4447/rpc': Opsi authentication error: Forbidden: Backend authentication error: Host 'i02918.sibach.local' not found in backend <OPSI.Backend.BackendManager.BackendManager instance at 0xa05ffec> (error on server)   (OpsiService.pyo|111)
[5] [May 05 12:43:08] [ event processing gui_startup  ] Writing log to service   (EventProcessing.pyo|255)
[4] [May 05 12:43:08] [ event processing gui_startup  ] Cannot write log to service: not connected   (EventProcessing.pyo|258)
[6] [May 05 12:43:08] [ opsiclientd                   ] shutdownRequested: 0   (Windows.pyo|340)
[4] [May 05 12:43:08] [ opsiclientd                   ] Failed to get rebootRequested from registry: [Error 2] Impossibile trovare il file specificato   (Windows.pyo|325)
[6] [May 05 12:43:08] [ opsiclientd                   ] rebootRequested: 0   (Windows.pyo|326)
[5] [May 05 12:43:08] [ opsiclientd                   ] Block login now set to 'False'   (Opsiclientd.pyo|111)
[6] [May 05 12:43:08] [ opsiclientd                   ] Terminating block login notifier app (pid 1660)   (Opsiclientd.pyo|148)
[6] [May 05 12:43:08] [ event processing gui_startup  ] Stopping notification server   (EventProcessing.pyo|233)
[6] [May 05 12:43:09] [ control pipe                  ] Creating pipe \\.\pipe\opsiclientd   (ControlPipe.pyo|253)
[5] [May 05 12:43:09] [ control pipe                  ] -----> Executing: getBlockLogin()   (JsonRpc.pyo|123)
[5] [May 05 12:43:09] [ opsiclientd                   ] rpc getBlockLogin: blockLogin is 'False'   (ControlPipe.pyo|428)
[6] [May 05 12:43:09] [ control pipe                  ] Got result   (JsonRpc.pyo|131)
[6] [May 05 12:43:09] [ opsiclientd                   ] client connection lost   (Message.pyo|464)
[6] [May 05 12:43:10] [ event processing gui_startup  ] Notification server stopped   (Message.pyo|651)
[3] [May 05 12:43:10] [ event processing gui_startup  ] Failed to process event <ocdlib.Events.GUIStartupEvent object at 0x01E40D70>: Failed to connect to config service 'https://10.130.101.198:4447/rpc': Opsi authentication error: Forbidden: Backend authentication error: Host 'i02918.sibach.local' not found in backend <OPSI.Backend.BackendManager.BackendManager instance at 0xa05ffec> (error on server)   (EventProcessing.pyo|1188)
[2] [May 05 12:43:10] [ event processing gui_startup  ] Traceback:   (Logger.pyo|721)
[2] [May 05 12:43:10] [ event processing gui_startup  ]      line 1130 in 'run' in file 'ocdlib\EventProcessing.pyo'   (Logger.pyo|721)
[2] [May 05 12:43:10] [ event processing gui_startup  ]      line 189 in 'connectConfigService' in file 'ocdlib\OpsiService.pyo'   (Logger.pyo|721)
[2] [May 05 12:43:10] [ event processing gui_startup  ]      line 166 in 'connectionFailed' in file 'ocdlib\EventProcessing.pyo'   (Logger.pyo|721)
[2] [May 05 12:43:10] [ event processing gui_startup  ]      line 112 in 'connectionFailed' in file 'ocdlib\OpsiService.pyo'   (Logger.pyo|721)
[2] [May 05 12:43:10] [ event processing gui_startup  ]      ==>>> Failed to connect to config service 'https://10.130.101.198:4447/rpc': Opsi authentication error: Forbidden: Backend authentication error: Host 'i02918.sibach.local' not found in backend <OPSI.Backend.BackendManager.BackendManager instance at 0xa05ffec> (error on server)   (EventProcessing.pyo|1189)
[5] [May 05 12:43:10] [ opsiclientd                   ] Block login now set to 'False'   (Opsiclientd.pyo|111)
[5] [May 05 12:43:10] [ event processing gui_startup  ] ============= EventProcessingThread for event 'gui_startup' ended =============   (EventProcessing.pyo|1198)
[5] [May 05 12:43:10] [ opsiclientd                   ] Done processing event '<ocdlib.Events.GUIStartupEvent object at 0x01E40D70>' 
Besten Dank und Gruss
syseca
Beiträge: 18
Registriert: 12 Okt 2010, 13:33

Re: Opsi authentication error: Forbidden: Backend authentica

Beitrag von syseca »

Also das Problem war, dass der Key vom PC unter /etc/opsi/pckeys nicht der selbe wie im c:\programme\opsi.org\preloginloader\opsiclientd\opsiclientd.conf war. Ich habe diesen manuel angepasst und dann klappt es wieder.
Werde den Client trotzdem nochmals löschen neu aufsetzen und schauen obs dann automatisch geht.

Gruss
Antworten