Stopping a database server in an emergency (UNIX)

Always try first to stop the server using the methods described in “Stopping the database server”. If you are unable to stop it using those methods, and if you started the database server as a batch or background process (using start_asiq), try the following:

  1. If possible, you should make sure that no users are connected to the database.

  2. At the UNIX prompt, enter the following command:

    kill -hup pid
    

    where pid is the process id of the database server you are stopping.

See also Chapter 1, “Troubleshooting Hints,”in the Sybase IQ Troubleshooting and Recovery Guide for important information on shutting down your server if it fails to shut down normally, and on cleaning up your system after killing a process.