The first step in the process of troubleshooting is to determine the problem area. The following troubleshooting flow chart shows the major problem categories:
The error log files are located in the directory indicated by the Ingres environment variable/logical II_CONFIG. The log files are as follows:
The main DBMS error log and the default log for most programs.
Archiver error log.
Recovery error log.
Note: If your system is configured for Ingres Cluster Solution, each node in the Ingres cluster maintains a separate Archiver and Recovery error log. Each log is distinguished by having _nodename appended to the base log name, where nodename is the Ingres node name for the host machine as returned by iipmhost.
On VMS, if SCSNODE is set, the log files except errlog.log is named *.LOG_nodename.
The names of optional log files can vary, but all log files end with the extension LOG. Optional log files include:
DBMS error log
GCC error log
GCC trace log
Star error log
To display the value for II_CONFIG, type the following command at the operating system prompt:
Windows:
ingprenv
UNIX:
ingprenv
VMS:
set def II_SYSTEM:[INGRES.FILES]
or
set def II_CONFIG.
For a list of log files, type the following command at the operating system prompt from the directory indicated by $II_CONFIG (UNIX) or II_CONFIG (VMS):
Windows:
dir *.log
UNIX:
ls *.log
VMS:
dir *.log
Checking for error logs is the first step for determining the nature of the problem. To check for error logs, follow these steps:
For example, the following error message merely notifies you that a DBMS server has exited for one of many possible reasons:
E_SC0221_SERVER_ERROR_MAX
You must look in the errlog.log for associated DBMS server errors such as "E_DM9300_DM0P_CLOSE_PAGE Buffer still fixed," a fatal error message. Search the error log for additional errors occurring around the time of the error that was displayed.
To find the problem category, follow these steps:
For a description of problems relating to queries and performance, see the Database Administrator Guide.