IBM Support

Starting SPSS Statistics Client for Linux fails with error: Attempt to connect to a remote server failed inet:Local Computer:0

Troubleshooting


Problem

Error Message: Attempt to connect to a remote server failed inet:Local Computer:0 After having installed and successfully activated SPSS Statistics for Linux, the application does not start when running the /bin/stat program. The symptoms are when starting bin/stat, the splash screen is shown for a few seconds. It then disappears. Then, nothing happens for almost one minute. After this, an error dialog window pops up, saying: Attempt to connect to a remote server failed inet:Local Computer:0 Pressing OK results in a Server Login window being shown. Attempting to reconnect using the OK button in this window results in the same error message. While Statistics is trying to connect, the following lines are visible in the output of the netstat command: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:56138 0.0.0.0:* LISTEN 12705/spssengine tcp6 0 0 :::60314 :::* LISTEN 12605/STATISTICS I am only using Statistics Client and am not trying to connect to Statistics Server. How can I fix this problem so that I can start SPSS Statistics?

Symptom

Splash screen is shown for a few seconds. It then disappears. After one or so minutes, an error dialog window pops up, saying:

Attempt to connect to a remote server failed inet:Local Computer:0

Cause

The 'statistics' and 'spssengine' processes are being bound to different versions of TCP/IP.

Resolving The Problem

The 'statistics' and 'spssengine' processes are being bound to different versions of TCP/IP.

We suspect that the 'statistics' process is for some reason binding to an IP version 6 socket, while the 'spssengine' process is binding to an IP version 4 socket. This would cause the error, as the client cannot connect to both an IPv4 and an IPv6 socket.

In the /etc/sysctl.conf file of your Linux file system, review the values set for the parameter:

'sysctl net.ipv6.bindv6only'


When the sysctl net.ipv6.bindv6only is set to 1, programs binding an AF-INET6 listening socket to the "any" address will receive a socket that listens on IPv6 only.


Setting net.ipv6.bindv6only to 0 means that such programs will receive IPv4 connections over the same socket. Please make this change to force Statistics to use IPv4 sockets only.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF016","label":"Linux"}],"Version":"18.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

88995

Document Information

Modified date:
16 April 2020

UID

swg21474844