DCE Installation, Configuration, and Management Guide

Managing a DCE Cell
HP NonStop DCE Installation, Configuration, and Management Guide429552-005
7-11
Event Management Service (EMS)
In the previous output, the keyword FILE indicates that the output format of messages
is human-readable text. Users can read these files with standard OSS shell utilities
such as more or tail. For example:
tail fatal.log
1995-10-25-09:09:40.392-07:00I----- dced FATAL dhd general main.c
429 0x000947c 6 Cannot use ’*all*’ protocol sequence, Address
already in use
This message indicates that dced could not start because an existing program was
already using a TCP port that dced required. This situation can happen when dcecp
is running on a virtual host before the DCE demons are restarted with
/etc/rc.dce.hostname.
When log files are in binary format, examine them with the program svcdumplog. Do
not use svcdumplog on text format log files.
The current settings of the serviceability routing can be displayed with the log show
command in dcecp. For example, this command shows how to find the settings for the
cdsclerk demons:
log show /.:/hosts/hostman/cds-clerk
and returns this output:
{FATAL {{STDERR -} {FILE
/opt/dcelocal.hostname/var/svc/fatal.log}}}
{ERROR {{STDERR -} {FILE
/opt/dcelocal.hostname/var/svc/error.log}}}
{WARNING {{STDERR -} {FILE
/opt/dcelocal.hostname/var/svc/warning.log}}}
{NOTICE DISCARD}
{NOTICE_VERBOSE DISCARD}
These settings can be changed with dcecp. For example:
log modify /.:/hosts/hostname/cds-clerk \
-change {{FATAL EMS /G/0} \
{ERROR TEXTFILE /tmp/timeop_errors.5.10} \
{NOTICE BINFILE /tmp/timop.log }}
Event Management Service (EMS)
NonStop DCE extends the syntax of the serviceability route configuration string of
OSF DCE. The extension is an additional output form: EMS. For example:
FATAL:STDERR:-;EMS:/G/0
The EMS output form indicates that the specified event messages are written to an
EMS log using the EMS logging routines. The destination field that follows EMS: is
assumed to be a Guardian collector process name or the equivalent OSS pathname. If
no collector process name is provided, or if the provided name is invalid or cannot be
opened, $0 is used.
The .gens.count specifier can also follow EMS:, but it is ignored.