Stopping Adaptive Server after a failure

If the installation or upgrade session fails after you start Adaptive Server, try using Sybase Central to shut down the server. If Sybase Central cannot shut down the server, use the shutdown command:

  1. Go to the MS-DOS window from Windows NT.

  2. Start isql and connect to Adaptive Server:

    %SYBASE%\bin isql -Usa -P -Sserver_name
    

    where %SYBASE%\bin is the Sybase installation directory and server_name is the name of your Adaptive Server.

  3. Shut down Adaptive Server using the shutdown with nowait command. Using the with nowait option stops the Adaptive Server immediately, without waiting for currently executing SQL statements to finish:

    1> shutdown with nowait
    2> go
    

    NoteIf you cannot connect to Adaptive Server with isql, or if the shutdown with nowait command fails, use the Task Manager (press Ctrl-Alt-Del to access the manager) or a Windows NT process monitoring utility, for example, the pview.exe program included with the Microsoft Toolkit, to stop the Adaptive Server process.