ERROR: Txpi  222: Socket select error return value = 4127" "gethostname" XCOM HP NonStop
search cancel

ERROR: Txpi  222: Socket select error return value = 4127" "gethostname" XCOM HP NonStop

book

Article ID: 234789

calendar_today

Updated On:

Products

XCOM Data Transport

Issue/Introduction

Unable to send file between two HP NonStop hosts using secure port 8045 and receive error:
Txpi  222: Socket select error return value = 4127

Environment

XCOM™ Data Transport® for HP NonStop

Cause

Configuration

Resolution

An XCOM loopback test on one host to localhost IP and 127.0.0.1 is working.
An XCOM loopback test on the other host to localhost IP and 127.0.0.1 fails with:
"Txpi  224: gethostname error return value = 14".

XCOM requires and is using function gethostname() to look for the local host name associated with the interface, which can be defined in the hosts file or to the interface or a DNS. So there appears to be issue with the HPE CLIM and/or network interface configuration. To troubleshoot run these commands:

CLIMCMD nclim000 climconfig eth1 -info all -obeyform
CLIMCMD nclim000 climconfig interface -info eth1

(Note the CLIM  nclim000 and interface eth1 names may be different/unique)

The first command output showed no climconfig.hostname entry. The IP address needs to be associated with the hostname.
Compare with working the working XCOM:

  • What is defined for hostname for the IP address? 
  • Is there a climconfig.hostname in the clim configuration?

For further details see HPE NonStop Cluster I/O Protocols (CIP) CLIMCMD Manpages" > "climconfig.hostname(1)