Seite 1 von 2
[Solved]global name PROTOCOL_TLS is not defined
Verfasst: 10 Jan 2017, 14:30
von rmtevesjr
I encounter this error when i tried to send a test message to a client from configed " global name PROTOCOL_TLS is not defined". Anyone encounter this?
Re: global name PROTOCOL_TLS is not defined
Verfasst: 11 Jan 2017, 10:14
von n.wenselowski
Hi,
please make sure that you are running the latest localboot version of Configed and then try again.
Does the error still persist?
Kind regards
Niko
Re: global name PROTOCOL_TLS is not defined
Verfasst: 16 Jan 2017, 05:57
von rmtevesjr
Hi Niko, Thanks for the reply. The error still persist. Do I just need to run this aptitude install opsi-configed ? Thanks again.
Re: global name PROTOCOL_TLS is not defined
Verfasst: 16 Jan 2017, 06:02
von rmtevesjr
Re: global name PROTOCOL_TLS is not defined
Verfasst: 16 Jan 2017, 11:03
von ngbr
Hi rmtevesjr,
yes pls install the opsi-package you mentioned onto a client (that's what is meant by 'localboot' installation) .
in order to install the configed package onto a client without using a graphical interface (i.e. from CLI), use:
Code: Alles auswählen
opsi-admin -d method setProductActionRequest[WithDependencies] opsi-configed <client-fqdn> setup
followed by an on-demand push
Code: Alles auswählen
opsi-admin -d method hostControl_fireEvent on_demand <client-fqdn>
Re: global name PROTOCOL_TLS is not defined
Verfasst: 17 Jan 2017, 15:20
von n.wenselowski
Hi,
please do as suggested by ngbr. If the problem persists it is important to use what you do when the error comes up so we can narrow it done easily.
With kind regards
Niko
Re: global name PROTOCOL_TLS is not defined
Verfasst: 27 Jan 2017, 10:45
von rmtevesjr
I encountered the error both in GUI and in command line. Any suggestion?
[2] File "/usr/bin/opsi-admin", line 279, in main
sessionId=sessionId
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 362, in __init__
self.connect()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 485, in connect
self._interface = self._jsonRPC(u'getPossibleMethods_listOfHashes')
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 679, in _jsonRPC
return jsonrpc.execute()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 148, in execute
return self.waitForResult()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 148, in waitForResult
raise self.error # pylint: disable=raising-bad-type
(Logger.py|753)
[2] ==>>> global name 'PROTOCOL_TLS' is not defined (opsi-admin|1682)
[3] Error during execution: global name 'PROTOCOL_TLS' is not defined (opsi-admin|1683)
Thanks.
Re: global name PROTOCOL_TLS is not defined
Verfasst: 27 Jan 2017, 11:38
von n.wenselowski
Hi,
I think this may come from OpenSSL or one of its bindings.
What command are you running?
On what OS?
Please try to update openssl and relevant packages on your server and then restart opsiconfd.
Does the error persist?
Kind regards
Niko
Re: global name PROTOCOL_TLS is not defined
Verfasst: 28 Jan 2017, 06:31
von rmtevesjr
I ran opsi-admin from command line and if I push a software to a client from OPSI Configed. I will try it and will let you know of the result. Thank you
Re: global name PROTOCOL_TLS is not defined
Verfasst: 03 Feb 2017, 06:47
von rmtevesjr
I still encounter the error - The version of openssl we have is 1.0.1t-1+deb8u6. The error was encountered also when installing a product using "opsi-packagemanager -i packagename.opsi" command.