Server fails to shut down

Normally you should be able to shut down the server by running the dbstop utility or stop_iq, by typing q in the server window on UNIX, or by clicking Shutdown on the server window on Windows. If none of these methods works, see the Actions section below.

Possible causes

Various.

Actions

On UNIX systems:

  1. Capture ps operating system utility output, so you can submit this output to Sybase Technical Support. On Sun Solaris two different ps options are available. Use both.

    ps -aAdeflcj|egrep "PPID|iqsrv15"
    
    /usr/ucb/ps -awwwlx|egrep "PPID|iqsrv15"
    
  2. Try to kill the process at the operating system level to generate a core dump.

    kill -6 pid
    

    A small core file is created in the directory where start_iq was run. If you are able to kill the server process in this way, skip to step 5.

  3. If the server process still does not exit, capture ps output as in step 1. Retain the output from both times you run ps (before and after trying to kill the process). Then kill the process with a stronger signal:

    kill -9 pid
    
  4. If this method does not cause the process to exit, capture yet another set of ps output, and then reboot your system.

  5. Submit all ps output, the core file (if generated in step 2), and the stack trace in stktrc-YYYYMMDD-HHNNSS_#.iq to Sybase Technical Support.

On Windows systems:

  1. Start the Task Manager by right-clicking the Task Bar and clicking Task Manager.

  2. In the Processes tab, select iqsrv15.exe and then click the End Process button to stop the database server.

  3. If necessary, restart Windows.

Refer to the section “Reporting problems to Technical Support” for a full list of information to provide to Sybase Technical Support.