I have a linux user that is unable to use the memsql-ops tool. Whenever I try to run the command, I get the following python error.
Traceback (most recent call last):
File “/usr/local/updated-openssl/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py”, line 27, in
File “/memsql_platform/bin/memsql-ops”, line 10, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2284, in _handle_fromlist
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 321, in _call_with_frames_removed
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/memsql_platform/memsql_platform/agent/cli/client.py”, line 7, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/memsql_platform/memsql_platform/network/api_client.py”, line 16, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/memsql_platform/memsql_platform/network/common.py”, line 9, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/memsql_platform/memsql_platform/api/endpoints.py”, line 15, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/memsql_platform/memsql_platform/util/executor.py”, line 7, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/usr/local/updated-openssl/lib/python3.4/site-packages/hdrh/histogram.py”, line 32, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/usr/local/updated-openssl/lib/python3.4/site-packages/hdrh/codec.py”, line 31, in
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2237, in _find_and_load
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 2226, in _find_and_load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1191, in _load_unlocked
File “/usr/local/updated-openssl/lib/python3.4/importlib/_bootstrap.py”, line 1161, in _load_backward_compatible
File “/usr/local/updated-openssl/lib/python3.4/ctypes/init.py”, line 541, in
File “/usr/local/updated-openssl/lib/python3.4/ctypes/init.py”, line 280, in _reset_cache
MemoryError
The python error led me to believe that I had run out of ram for the process to complete, but I have 55GB of free ram available.
Also, I am able to run the memsql-ops tool as any other user without issue. However I need this specific user to be able to use this tool.