VCS commands will report errors when IPv6 is disabled in RedHat SF HA 5.1SP1 environments

book

Article ID: 100004924

calendar_today

Updated On:

Description

Error Message

VCS WARNING V-16-1-10641 IpmHandle::open Cannot create AF_INET6 socket. errno = 97 

Cause


The VCS_HOST environment variable should be set to a different value than "localhost" keyword (normally the hostname).

[root@node01 ~]# su - oscar
[oscar@node01 ~]$ export VCS_HOST=localhost
[oscar@node01 ~]$ halogin admin
Enter Password:

 

VCS WARNING V-16-1-10641 IpmHandle::open Cannot create AF_INET6 socket. errno = 97
[oscar@node01 ~]$ hasys -list
VCS WARNING V-16-1-10641 IpmHandle::open Cannot create AF_INET6 socket. errno = 97
node01

Also, if the VCS_HOST is not set, it will create a .vcspwd file with the localhost keyword inside and it will cause the same error output:

[root@node01 ~]# su - oscar
[oscar@node01 ~]$ halogin admin
Enter Password:
VCS WARNING V-16-1-10641 IpmHandle::open Cannot create AF_INET6 socket. errno = 97
   

 

[oscar@node01 ~]$ cat .vcspwd
100 localhost admin HQQyRNpNQkRMlWNjNL

 

 

 

 

 

 

[oscar@node01 ~]$ hasys -list
VCS WARNING V-16-1-10641 IpmHandle::open Cannot create AF_INET6 socket. errno = 97
node01

Resolution

Set the VCS_HOST to something different to "localhost" keyword (like the hostname), the error message is not reported once this is done.

[root@node01 ~]# su - oscar
[oscar@node01 ~]$ export VCS_HOST=node01.ges.Veritas.com
[oscar@node01 ~]$ halogin admin
Enter Password:
[oscar@node01 ~]$ hasys -list
node01

Applies To

RedHat 5 environment with IPv6 disabled and SF HA 5.1 SP1

 

Issue/Introduction

VCS commands will report errors when IPv6 is disabled in RedHat SF HA 5.1SP1 environments when they are executed by a non root user. 

Additional Information

UMI: V-16-1-10641 ETrack: 2209808