Error and warning messages

For messages other than informational messages, the format is as follows:

severity, date. ERROR #error_number thread_name(context) - source_file(line) message

If the message is a warning, “ERROR” in the above format becomes “WARNING.”

The severity is either W, E, H, F, or N, as listed in Table 6-1. The date is the date and time that the error occurred. The error_number is the Replication Server error number.

The thread_name is the name of the Replication Server thread that received the error. See Chapter 2, “Replication Server Technical Overview” in the Replication Server Administration Guide Volume 1 and Chapter 4, “Performance Tuning” for details about Replication Server threads. The context provides some information about the thread’s context at the time the error occurred.

The source_file and line point to the program file and line number in the Replication Server source code where the error was reported.

The message is the full text of a message from a Replication Server. It is in the language specified in the RS_language configuration parameter. Some messages also include a message from a data server, or one of the component libraries that Replication Server uses.

NoteReplication Server puts question marks (?) in messages where more specific information is not available. For example, if an error occurs during initialization, Replication Server may not yet have completed some internal structures, so it prints question marks in place of information it has not yet collected.

The following example shows the Replication Server error log entry for a data server:

E. 95/11/01 05:30:52. ERROR #1028 DSI(SYDNEY_DS.pubs2)
- dsiqmint.c(3522)Message from server:
 Message: 2812, State: 4, Severity: 16 --
 ’Stored procedure ’upd_authors’ not found.
H. 95/11/01 05:30:53. THREAD FATAL ERROR #5049
DSI(SYDNEY_DS.pubs2) - dsiqmint.c(3529)
The DSI thread for database ’SYDNEY_DS.pubs2’ is being
shutdown because of error action mapped from data server
error ’2812’. The error was caused by output command ’1’
mapped from source command ’2’ of the transaction.

The messages indicate that Adaptive Server returned error number 2812, causing Replication Server to take the stop_replication action. See “Assigning actions to data server errors”.