Installing and Administering Internet Services

296 Chapter 8
Configuring gated
Troubleshooting gated
Troubleshooting gated
If gated is not operating properly, use this section to identify and correct
the problem.
Troubleshooting Tools and Techniques
This section describes the available tools for general troubleshooting of
gated.
Checking for Syntax Errors in the Configuration File
After creating or modifying a gated configuration file, you should start
gated from the command line with the -C option. This option causes the
configuration file to be parsed for syntax errors.
gated Tracing
gated prints information about its activity in the form of tracing output.
This information includes routes that gated reads, adds, and deletes
from the kernel routing table, as well as packets sent and received.
You can specify tracing either with the gated -t command line option
or with the traceoptions statement in the /etc/gated.conf file.
Using any of the following combinations, you can determine where the
tracing output is printed and whether tracing is performed:
If you specify trace options and a trace file, tracing output is printed
to the log file.
If you specify trace options but do not specify a trace file, tracing
output is printed on the display where gated was started.
If you specify a trace file but do not specify any trace options, no
tracing takes place.
NOTE With version 3.5 of gated, the two statements previously in the Trace
class (tracefile and traceoptions) have been combined into one
traceoptions statement. So, the tracefile statement has been
eliminated. For details about the new syntax, type man 4 gated.conf
at the HP-UX prompt.