Finding the server error file (dsmserv.err)

When the server stops, it appends information to the dsmserv.err file which is located in the same directory as the server.

Before you begin

Linux operating systemsAIX operating systemsThe trap handler is disabled to prevent the function traceback from printing on the console and in the dsmserv.err file. This change is required in order to ensure that we will get a more complete core file. As part of disabling the trap handler, a new script, getcoreinfo, is in the Linux® packages. The getcoreinfo script gets the function traceback for the failing thread and registers values and function traceback for all other threads. The amount of information available in the core for other threads is still incomplete on some Linux platforms/distributions. See the getcoreinfo script (in the server bin directory) for more details.

Windows operating systemsIf the server is running as a service, the file is named dsmsvc.err.

About this task

Perform the following steps to capture the server error file:

Procedure

  1. Make sure that the GNU debugger (gdb) is installed on the customer system.
  2. Copy the gt shell script to the server bin directory (where the server executable [.exe] file and core file are located).
  3. Make sure the script is an executable file (chmod a+x gt).
  4. Invoke the script with the paths/names of the executable file (default is ./dsmserv) and the core (default is ./dsmcore).
    The output is in the dsm_gdb.info file (which should be sent to IBM).