Ncpa agent failing to start on windows server
Posted: Thu Jul 25, 2019 3:07 pm
Hello,
We have a host that has NCPA agent version 2.1.6 which was running fine fewdays back, we added 20 + new services to monitor running processes, suddenly i got UNKNOWN: Execution exceeded timeout threshold of 60s error.
I treied restarting the agent but its stuck in starting, we tried terminating it from task manager and start it again but its still wont
Below are the logs we have
Ncpa listener log
[24996] 2019/07/25 12:43:58.285 starting logging at level ERROR
[24996] 2019/07/25 12:43:58.348 Python exception encountered:
[24996] 2019/07/25 12:43:58.348 Internal Message: cannot import service module
[24996] 2019/07/25 12:43:58.348 Type => <type 'exceptions.AttributeError'>
[24996] 2019/07/25 12:43:58.348 Value => 'module' object has no attribute 'openssl_md_meth_names'
[24996] 2019/07/25 12:43:58.348 Traceback (most recent call last):
[24996] 2019/07/25 12:43:58.348 File "C:\ncpa\agent\ncpa_windows.py", line 13, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\site-packages\gevent\pywsgi.py", line 338, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\mimetools.py", line 6, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\tempfile.py", line 35, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\random.py", line 49, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\hashlib.py", line 138, in <module>
[24996] 2019/07/25 12:43:58.348 AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
this next piece is from ncpa_passive.txt
ImportError: No module named None
2019-07-22 18:08:41,098:ERROR:__init__:Could not import module passive.None, skipping. No module named None
2019-07-22 18:08:41,098:ERROR:__init__:No module named None
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 184, in run_all_handlers
ImportError: No module named None
2019-07-22 18:13:41,107:ERROR:__init__:Could not import module passive.None, skipping. No module named None
2019-07-22 18:13:41,107:ERROR:__init__:No module named None
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 184, in run_all_handlers
ImportError: No module named None
We have a host that has NCPA agent version 2.1.6 which was running fine fewdays back, we added 20 + new services to monitor running processes, suddenly i got UNKNOWN: Execution exceeded timeout threshold of 60s error.
I treied restarting the agent but its stuck in starting, we tried terminating it from task manager and start it again but its still wont
Below are the logs we have
Ncpa listener log
[24996] 2019/07/25 12:43:58.285 starting logging at level ERROR
[24996] 2019/07/25 12:43:58.348 Python exception encountered:
[24996] 2019/07/25 12:43:58.348 Internal Message: cannot import service module
[24996] 2019/07/25 12:43:58.348 Type => <type 'exceptions.AttributeError'>
[24996] 2019/07/25 12:43:58.348 Value => 'module' object has no attribute 'openssl_md_meth_names'
[24996] 2019/07/25 12:43:58.348 Traceback (most recent call last):
[24996] 2019/07/25 12:43:58.348 File "C:\ncpa\agent\ncpa_windows.py", line 13, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\site-packages\gevent\pywsgi.py", line 338, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\mimetools.py", line 6, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\tempfile.py", line 35, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\random.py", line 49, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\hashlib.py", line 138, in <module>
[24996] 2019/07/25 12:43:58.348 AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
this next piece is from ncpa_passive.txt
ImportError: No module named None
2019-07-22 18:08:41,098:ERROR:__init__:Could not import module passive.None, skipping. No module named None
2019-07-22 18:08:41,098:ERROR:__init__:No module named None
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 184, in run_all_handlers
ImportError: No module named None
2019-07-22 18:13:41,107:ERROR:__init__:Could not import module passive.None, skipping. No module named None
2019-07-22 18:13:41,107:ERROR:__init__:No module named None
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 184, in run_all_handlers
ImportError: No module named None