Failed to process method 'backend_getInterface'

agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,

after power up my computer with opsi-client , i have a message :
==>>> Failed to process method 'backend_getInterface': error(10013, 'An attempt was made to access a socket in a way forbidden by the unassigned access rights to it') (JSONRPC.pyo|112)
[3] [Feb 07 13:58:44] [ event processing gui_startup ] Failed to connect to config service 'https://10.1.0.2:4447/rpc': timed out after 30 seconds (OpsiService.pyo|106).
Thank you for help.

Agnieszka
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Failed to process method 'backend_getInterface'

Beitrag von d.oertel »

Hi,

please tell us what the coresponding log of the opsiconfd says
(configed - select client - tab 'log files' - sub tab opsiconfd)

which version of opsi-client-agent and opsi server packages ?

regards

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


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,
It was clientconfd log
opsi-client-agent 4.0.1-25
opsi server 4.0.1

I tried execute command "opsi-setup --register-depot" and now i have a problem with opsi-setup:
[2] [Feb 08 10:56:02] Traceback: (Logger.py|742)
[2] [Feb 08 10:56:02] line 3122 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 10:56:02] line 3104 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 10:56:02] line 2685 in 'editConfigDefaults' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 10:56:02] line 190 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 286 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 337 in '__loadBackends' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 326 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 395 in 'connect' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 612 in '_jsonRPC' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 123 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 10:56:02] line 135 in 'waitForResult' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Feb 08 10:56:02] ==>>> [Errno 111] Connection refused (opsi-setup|3130)

regards,
agnieszka
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Failed to process method 'backend_getInterface'

Beitrag von d.oertel »

Hi,
after power up my computer with opsi-client , i have a message :
==>>> Failed to process method 'backend_getInterface': error(10013, 'An attempt was made to access a socket in a way forbidden by the unassigned access rights to it') (JSONRPC.pyo|112)
[3] [Feb 07 13:58:44] [ event processing gui_startup ] Failed to connect to config service 'https://10.1.0.2:4447/rpc': timed out after 30 seconds (OpsiService.pyo|106).
This is a message from the client while connecting to the servers deamon opsiconfd. This deamon also writes a log. There perhaps we could see what is the problem. You find this log at the configed (as mentioned above) or at the server at /var/log/opsi/opsiconfd/<ip number of the client>.log

What is your linux distribution ?
Pleas give the output of something like:
dpkg -l | grep osi

Did you ever tried:

Code: Alles auswählen

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

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


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,
This is a message from the client while connecting to the servers deamon opsiconfd. This deamon also writes a log. There perhaps we could see what is the problem. You find this log at the configed (as mentioned above) or at the server at /var/log/opsi/opsiconfd/<ip number of the client>.log"
[4] [Feb 07 14:47:31] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:47:31] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did not send cookie (workers.py|161)
[2] [Feb 07 14:47:31] Traceback: (Logger.py|742)
[2] [Feb 07 14:47:31] line 282 in '_errback' in file '/usr/lib/pymodules/python2.6/OPSI/Service/Worker.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 441 in '_runCallbacks' in file '/usr/lib/python2.6/dist-packages/twisted/internet/defer.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 168 in '_getSession' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 386 in '_getSession' in file '/usr/lib/pymodules/python2.6/OPSI/Service/Worker.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 409 in '_getSessionId' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 164 in '_getSessionId' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] ==>>> Opsi authentication error: Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did neither supply session id nor password (Worker.py|289)
[4] [Feb 07 14:47:41] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:47:41] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '[4] [Feb 07 14:47:31] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:47:31] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did not send cookie (workers.py|161)
[2] [Feb 07 14:47:31] Traceback: (Logger.py|742)
[2] [Feb 07 14:47:31] line 282 in '_errback' in file '/usr/lib/pymodules/python2.6/OPSI/Service/Worker.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 441 in '_runCallbacks' in file '/usr/lib/python2.6/dist-packages/twisted/internet/defer.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 168 in '_getSession' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 386 in '_getSession' in file '/usr/lib/pymodules/python2.6/OPSI/Service/Worker.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 409 in '_getSessionId' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 164 in '_getSessionId' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] ==>>> Opsi authentication error: Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did neither supply session id nor password (Worker.py|289)
[4] [Feb 07 14:47:41] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:47:41] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '[4] [Feb 07 14:47:31] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:47:31] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did not send cookie (workers.py|161)
[2] [Feb 07 14:47:31] Traceback: (Logger.py|742)
[2] [Feb 07 14:47:31] line 282 in '_errback' in file '/usr/lib/pymodules/python2.6/OPSI/Service/Worker.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 441 in '_runCallbacks' in file '/usr/lib/python2.6/dist-packages/twisted/internet/defer.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 168 in '_getSession' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 386 in '_getSession' in file '/usr/lib/pymodules/python2.6/OPSI/Service/Worker.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 409 in '_getSessionId' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] line 164 in '_getSessionId' in file '/usr/lib/pymodules/python2.6/opsiconfd/workers.py' (Logger.py|742)
[2] [Feb 07 14:47:31] ==>>> Opsi authentication error: Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did neither supply session id nor password (Worker.py|289)
[4] [Feb 07 14:47:41] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:47:41] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' did not send cookie (workers.py|161)
[5] [Feb 07 14:47:41] New session created (session.py|74)
[5] [Feb 07 14:47:41] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 14:47:41] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:12] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:22] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:33] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:51:20] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:51:20] New session created (session.py|74)
[5] [Feb 07 14:51:20] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: DURDfBrbKZrEokJpGemduHGhrRE9FxLv (Worker.py|393)
[5] [Feb 07 14:51:20] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 14:51:21] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 15:17:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 15:17:54] New session created (session.py|74)
[5] [Feb 07 15:17:54] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: zF6zqbg3CfIgJr6ic2VUIUNCgKBv20Ki (Worker.py|393)
[5] [Feb 07 15:17:54] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 15:17:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 15:29:52] New session created (session.py|74)
[5] [Feb 07 15:29:52] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: IrG2IfKkZHhGOUDNgzLxiZ2DJe9jwttV (Worker.py|393)
[5] [Feb 07 15:29:52] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)' did not send cookie (workers.py|161)
[5] [Feb 07 14:47:41] New session created (session.py|74)
[5] [Feb 07 14:47:41] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 14:47:41] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:12] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:22] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:33] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:51:20] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:51:20] New session created (session.py|74)
[5] [Feb 07 14:51:20] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: DURDfBrbKZrEokJpGemduHGhrRE9FxLv (Worker.py|393)
[5] [Feb 07 14:51:20] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 14:51:21] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 15:17:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 15:17:54] New session created (session.py|74)
[5] [Feb 07 15:17:54] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: zF6zqbg3CfIgJr6ic2VUIUNCgKBv20Ki (Worker.py|393)
[5] [Feb 07 15:17:54] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 15:17:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 15:29:52] New session created (session.py|74)
[5] [Feb 07 15:29:52] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: IrG2IfKkZHhGOUDNgzLxiZ2DJe9jwttV (Worker.py|393)
[5] [Feb 07 15:29:52] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)' did not send cookie (workers.py|161)
[5] [Feb 07 14:47:41] New session created (session.py|74)
[5] [Feb 07 14:47:41] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 14:47:41] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:12] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:22] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:48:33] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 14:51:20] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 14:51:20] New session created (session.py|74)
[5] [Feb 07 14:51:20] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: DURDfBrbKZrEokJpGemduHGhrRE9FxLv (Worker.py|393)
[5] [Feb 07 14:51:20] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 14:51:21] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Feb 07 15:17:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 15:17:54] New session created (session.py|74)
[5] [Feb 07 15:17:54] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: zF6zqbg3CfIgJr6ic2VUIUNCgKBv20Ki (Worker.py|393)
[5] [Feb 07 15:17:54] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)
[4] [Feb 07 15:17:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Feb 07 15:29:52] New session created (session.py|74)
[5] [Feb 07 15:29:52] Application 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1' on client '10.1.0.2' supplied non existing session id: IrG2IfKkZHhGOUDNgzLxiZ2DJe9jwttV (Worker.py|393)
[5] [Feb 07 15:29:52] Authorization request from admin@10.1.0.2 (application: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) (workers.py|188)


Linux distribution :
Debian (opsi-setup|121)
Debian GNU/Linux 6.0.4 (squeeze) (opsi-setup|122)
package :
ii opsi-atftpd 0.7.dfsg-1.7 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.1.17-2 OPSI config editor
ii opsi-depotserver 4.0.1.11-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20110926-1 opsi linux bootimage
ii opsi-utils 4.0.1.15-1 opsi utils
ii opsiconfd 4.0.1.9-4 opsi configuration service
ii opsipxeconfd 4.0.1.5-1 opsi pxe configuration daemon
ii python-opsi 4.0.1.36-1 opsi python library

I tried
root@opsi:~# opsi-setup --init-current-config
[2] [Feb 08 16:23:31] Traceback: (Logger.py|742)
[2] [Feb 08 16:23:31] line 3122 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 16:23:31] line 3077 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 16:23:31] line 2452 in 'initializeBackends' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 16:23:31] line 190 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 286 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 337 in '__loadBackends' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 326 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 395 in 'connect' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 612 in '_jsonRPC' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 123 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 08 16:23:31] line 135 in 'waitForResult' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [Feb 08 16:23:31] ==>>> [Errno 111] Connection refused (opsi-setup|3130)

ERROR: [Errno 111] Connection refused


regards,
agnieszka
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Failed to process method 'backend_getInterface'

Beitrag von wolfbardo »

agnieszka hat geschrieben: I tried execute command "opsi-setup --register-depot" and now i have a problem with opsi-setup:
[2] [Feb 08 10:56:02] Traceback: (Logger.py|742)
....
[2] [Feb 08 10:56:02] ==>>> [Errno 111] Connection refused (opsi-setup|3130)
Check on the configserver why

Code: Alles auswählen

opsi-setup --register-depot
fails

regards,
Bardo Wolf


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


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

this is message :
Failed to connect to config server 'opsi.kbw.gov.pl' as user x 'admin': [Errno 111] Connection refused
then
[2] [Feb 08 17:51:19] Traceback: (Logger.py|742)
[2] [Feb 08 17:51:19] line 3122 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 17:51:19] line 3100 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 17:51:19] line 2211 in 'registerDepot' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Feb 08 17:51:19] ==>>> Canceled (opsi-setup|3130)
I don't know why, because username and password is correct :(
I have a question, perhaps exist different username and password(default) ?
Do i should rebuilt/reinstall opsi-server packages ?
regards,
Agnieszka
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Failed to process method 'backend_getInterface'

Beitrag von wolfbardo »

agnieszka hat geschrieben: Do i should rebuilt/reinstall opsi-server packages ?
regards,
Agnieszka
No.

- Please post/check your dispatch.conf at the configserver

Perhaps you have to carefully increase the loglevel
for a very shorttime on the configserver in /etc/opsi/opsiconfd.conf
and have a look at the logs in

/var/log/opsi/opsiconfd

regards
Bardo Wolf


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


Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Failed to process method 'backend_getInterface'

Beitrag von wolfbardo »

Supplement:
agnieszka hat geschrieben: [2] [Feb 08 17:51:19] ==>>> Canceled (opsi-setup|3130)
Why do you cancel registering the depot? Maybe there is something wrong with your putty-Session?

Regards,
Bardo Wolf


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


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,

I canceled task because i retrieve info: Failed to connect to config server 'opsi.kbw.gov.pl' as user |│ 'admin': [Errno 111] Connection refused

regards,
Agnieszka
Antworten