A connected client may lose its connection to FairCom DB for various reasons. If a client loses its connection to the server, subsequent calls to FairCom DB functions that send requests to the server return an error indicating that the connection has been lost. The topics below list errors a FairCom DB API function may return in the event of a lost connection and describes possible causes and troubleshooting steps for each:
Error description:
Terminate user. FairCom DB or server administrator has terminated the client’s connection to the server.
Possible causes:
Troubleshooting steps:
Examine CTSTATUS.FCS to determine the reason the connection was terminated. See the discussion of FairCom DB error 127 for additional details about reconnecting to FairCom DB after a client connection is terminated.
Error description:
Could not send request. A communication error occurred while sending a request to the server.
Possible causes:
Troubleshooting steps:
External kill request posted against user #<taskID>
where <taskID> is a server-assigned thread task ID.
Error description:
Could not receive answer. A communication error occurred while receiving a response from the server.
Possible causes and troubleshooting steps:
The possible causes and troubleshooting steps are the same as for error 127.
Error description:
Server is shutting down. The client connected to the server but the server closed the connection.
Possible causes:
FairCom DB is refusing new connections because it is in the process of shutting down.
Troubleshooting steps:
Check the status of FairCom DB process. Restart the c tree Server if necessary. When the server is operational, retry the connection attempt.
Error description:
Server has gone away. The client connected to the server but the server closed the connection.
Possible causes and troubleshooting steps:
The possible causes and troubleshooting steps for this error are the same as described for FairCom DB error 150.