Kbase 16163: PROGRESS netw. errors: What they mean and how 2 troubleshoot
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
PROGRESS netw. errors: What they mean and how 2 troubleshoot
INTRODUCTION:
=============
This Product Services Technical Support Knowledgebase entry describes
how to troubleshoot PROGRESS errors 795/778/796/1432.
For Windows platforms using the WinSock API (that covers most cases),
see also kbase # 16731.
PROGRESS
ERROR #: ERROR TEXT:
======== ===========================================================
795 Error reading socket=<n> ret=<n> errno=<n>
778 Error <read/writing> socket, ret=<n>, errno=<n>
796 Error writing msg, socket=<n> errno=<n> usernum=<n>
disconnected
1432 *** Could not connect to server for database <d>, errno <n>
POSSIBLE CAUSES OF ERROR:
=========================
The key to understand those errors is analyzing the errno (error
number). On UNIX, look up the /usr/include/sys/errno.h file and look
for the error mneumonic. The most common ones are:
ECONNRESET - The connect was reset by peer. This is usually caused by
clients being rebooted. After the client gets rebooted, when the
server tries to send some packet back to the client, the client's
TCP/IP stack is not aware of the TCP connection anymore, so it will
reset the connection (terminate it).
ETIMEDOUT - The connect has timed out. This is usually caused by
clients being turned off or by network packet loss. This means that
the server's TCP/IP stack repeatedly tried to send a packet to the
client, but never got a response packet back (acknowledgment).
ECONNREFUSED - The connection was refused by the TCP/IP stack of the
server. This happens when you supply an -H (host) parameter that
points to a TCP/IP host that is up, but the -S (service) parameter
points to a port that has no one listening on the server side.
Check if the contents of the server services file match with the
client services file and if the broker is up and running.
ENETDOWN - Network is down
ENETUNREACH - Network is unreachable
ENETRESET - Network dropped connection on reset
DOES ERROR INDICATE CORRUPTION:
========================================
None of those errors indicate corruption
CORRECTIVE MEASURES:
====================
ECONNRESET and ETIMEDOUT - First check if that specific client machine
is on and have been up and running since the customer logged into the
database. If yes, check the network. If no, teach users not to reboot/
turn off their machines without exiting PROGRESS so that the client
properly disconnect their TCP connection
ECONNREFUSED - Check if the -H parameter points to the expected
server. If yes, check if the -S parameter points to the TCP port that
is being listened by the PROGRESS server process
ENETDOWN, ENETUNREACH and ENETRESET - Contact your network
administrator
ONLINE PROCEDURES OR UTILITIES:
===============================
ping, ftp, telnet, rlogin and netstat are usefull troubleshooting
tools to diagnose network problems. See your system documentation for
information on usage of those tools.
REFERENCES TO WRITTEN DOCUMENTATION:
====================================
Your system documentation
Progress Software Technical Support Note # 16163