cancel
Showing results for 
Search instead for 
Did you mean: 

HANA HWCCT socket.gaierror

Former Member
0 Kudos

Hi all,

I want to run the hwcct tool to check storage KPIs and get the following output:

/hana/shared/hwcct # ./hwval -f exampleprofiles/eval.json

Traceback (most recent call last):

  File "/hana/shared/hwcct/hwval_client.py", line 261, in <module>

    message_to_master({"action":"ALIVE","port":port2})

  File "/hana/shared/hwcct/hwval_client.py", line 167, in message_to_master

    sock.connect((master_host,master_port))

  File "/hana/shared/hwcct/lib/Python/lib/python2.7/socket.py", line 224, in meth

    return getattr(self._sock,name)(*args)

socket.gaierror: [Errno -2] Name or service not known

Environment is set correctly:

LD_LIBRARY_PATH=/hana/shared/hwcct/lib

PYTHONHOME=/hana/shared/hwcct/lib/Python

PYTHONPATH=/hana/shared/hwcct/

Using version 90 of hwcct from SPS09.

Any ideas?

Best regards

Arne

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Got it....

issue was an additional IPv6 entry in /etc/hosts

master_host variable was set to a wrong name.

With a temp comment in /etc/hosts the script receives the correct hostname

Regards Arne

Answers (0)