Stopping the DirectConnect Server

Stop a DirectConnect server using DirectConnect Manager, the command line, or other platform-specific procedures.

Note: To stop a server that is directed by a DCDirector server, Sybase recommends that you use DirectConnect Manager.

Option Description
DirectConnect Manager Go to the DirectConnect Manager online help to stop a DirectConnect server. Select Server Administration > Stopping a Server.
Warning!  You can stop a server using DirectConnect Manager only if it is directed by a DCDirector server. To stop a non-directed server, use the command line.
Command line

As an alternative to using DirectConnect Manager to stop the server, you can use the stopsrvr utility that shuts down the server and terminates all client connections. A password is not required; however, this works only if the sa user password has not been modified.

Note: If you invoke stopsrvr when a client is performing work such as batch processing, the server is not stopped, but both the client and the server suspend operations.
The stopsrvr format is:
stopsrvr [-v|-h] -Sserver_name [-ddelay]
where:
  • -v displays the program version only.

  • -h displays the stopsrvr format.

  • -S shows the name of the server to be shut down.

  • -d is the delay, in seconds, before client connections are terminated. The default is 3.

Windows systems

Use one of these methods:

  • To stop the server using the command line, press Ctrl+C.
  • To stop the server that is started as a Windows service:
    1. Select Control Panel > Services.

    2. Select the DirectConnect server_name.

    3. Select Stop.

UNIX systems
  1. Make the DirectConnect console window the active window.

  2. Press Ctrl+C.