Content

Problem description / Issue description

When using Linux Security Agents, you get this error:

Error executing script: SetHealth of Monitor: XXXXX-Linux SSH Logon Success Monitor Operation: Executing scripts Error: <type 'exceptions.NameError'>: name 'US' is not defined
File "PythonScriptCondition", line 28, in <module>

Exception importing modules
Traceback (most recent call last):
File "PythonScriptCondition", line 19, in <module>
File ".\PythonLib\Lib\TSExtensions\UnixSecurity\UnixSecurity.py", line 17, in <module>
File ".\PythonLib\Lib\TSExtensions\CUnixSecurity\CUnixSecurity.py", line 39, in __init__
File "TSExtensions\src\shared.py", line 510, in __init__
File "TSExtensions\src\shared.py", line 548, in _LoadPersistedData
EOFError.

Cause (optional)

The problem is because of the corruption of a persisting file called: ".\Thinkserver\PythonLib\Lib\PythonSub\TSExtensions\UnixSecurity\user_inactivity.dat".

Solution

1) Stop the Thinkserver service
2) Open a windows explorer and search for the "user_inactivity.dat" located into the directory ".\Thinkserver\PythonLib\Lib\PythonSub\TSExtensions\UnixSecurity".
3) Delete this file called "user_inactivity.dat"
4) Start the Thinkserver service

 

 


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: October 18, 2018