zabbix-module-python icon indicating copy to clipboard operation
zabbix-module-python copied to clipboard

Error when importing the ssl library

Open bytedreamer opened this issue 6 years ago • 2 comments

I receive the following error when my python module attempts to import ssl.

zabbix_agentd [1890]: Error: error calling zabbix_module.zbx_module_init zabbix_agentd [1890]: Error: /usr/lib/python3.4/lib-dynload/_ssl.cpython-34m-x86_64-linux-gnu.so: undefined symbol: PyExc_OSError zabbix_agentd [1890]: Error: failed to initialize zabbix_module python module zabbix_agentd [1890]: ERROR: cannot initialize module "libzbxpython3.so" zabbix_agentd [1890]: ERROR: loading modules failed, exiting...

I ran the 'import ssl' from the python command prompt, and there is no error.

bytedreamer avatar Aug 28 '17 15:08 bytedreamer