Understanding process exit codes

If the server terminates normally, it returns an exit code of 0 (zero) to the operating system. If a start-up error occurs, the server returns one of the exit codes in Table 3-1.

Table 3-1: Description of process exit codes

Code

Description

1

A command line syntax error occurred.

2

The server class constructor failed.

3

The Open Server srv_run function failed.

4

The srv_start event handler failed.

5

Out of memory.