Data collection guide for SAS/CONNECT® connection failures to a SAS® 9.4 server


This SAS KB article outlines the basic diagnostic information to gather if a SAS/CONNECT connection fails to connect to a SAS 9.4 server.  

1. Collect the client SAS log.

The client SAS program log is the first item required for any SAS/CONNECT issue. 

Provide the complete SAS log from the session where you attempted the SIGNON. Include the SIGNON statement. Be sure to mask any passwords.  

2. Collect the SAS/CONNECT spawner log.

Collect the SAS/CONNECT spawner log from the server side.

The default log locations are as follows:

Provide the spawner log that covers the exact time frame of the failed connection attempt.

3. Collect the SAS/CONNECT server log.

If the spawner successfully starts a SAS/CONNECT server process, collect the SAS/CONNECT server log as well.

Note: Depending on the issue, your environment might not have this log.  

The default log locations are as follows

Provide the entire SAS/CONNECT server log associated with the failure. 

4. Verify basic network connectivity. 

If the SAS/CONNECT spawner log shows no connection attempt, verify network connectivity. 

Linux: 

nc -vz hostname port 

or 

telnet hostname port 

 

Windows PowerShell:

PowerShell 

Test-NetConnection hostname -Port <port> 

 

5. Process and port state.

Linux:  

ps -ef | grep -i spawner 

ss -ltnp | grep <port> 

 

Windows:  

service status

and  

netstat -ano | findstr <port>