To stop and restart the Adabas SQL Gateway server component

Important: This step must be taken if more than one server is running on the same machine to avoid conflicts between servers.

  1. To stop a server running on port 6500, enter the following command:  

sh connxserver STOP
  1. To stop a server running on a specific port, enter the following command:

sh connxserver STOP <port number>
  1. To stop all servers and restart on port 6500, enter the following command:

sh connxserver START
  1. To stop a server running on one port and restart on another port, enter the following command:

sh connxserver START <port number>
  1. To stop all child processes that are attached to the server, the CANCEL command must be used. This will eliminate all child processes that are spawned by the server when a new connection is made. The CANCEL command will also stop the main server. To accomplish this, enter the following command:

    sh connxserver CANCEL  <port number>
     

  2. If status is desired, which will show the server and child processes that are running, enter the following command:

     sh connxserver STATUS <port number>