Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3 231
Disabling a Standalone Log Consolidation System
Perform the following steps to deconfigure log consolidation:
Step 1. If the local syslogs were being consolidated, or the UDP protocol was
used, edit /etc/rc.config.d/syslogd and change SYSLOGD_OPTS to
remove the -N switch. For example, make the following edit:
SYSLOGD_OPTS=“-D”
Step 2. If the local syslogs were being consolidated, also edit the system’s
/etc/syslog.conf file to remove the following lines:
mail.debug @<fully qualified hostname>
*.info;mail.none @<fully qualified hostname>
where <fully qualified hostname> is the fully qualified hostname of
this system.
Step 3. Restart syslogd, using the following commands:
#/sbin/init.d/syslogd stop
#/sbin/init.d/syslogd start
Step 4. Stop syslog-ng:
# /sbin/init.d/syslog-ng stop
Step 5. Edit the /etc/rc.config.d/syslog-ng file, as follows:
a. Change the CLOG_CONFIGURED line to CLOG_CONFIGURED=0.
b. Remove all other CLOG lines except for the following:
CLOG_LAYOUTS_DIR=/var/opt/dsau/layouts
CLOG_ADDITIONAL_LOG_DIRS[0]=/var/adm/syslog
Step 6. If the TCP protocol was used, remove the following line from
/etc/services:
clog_tcp <port>/tcp # Consolidated logging with syslog-ng
Disabling a Serviceguard Cluster Log Consolidation System
Perform the following steps to disable log consolidation in a Serviceguard
cluster. These steps should be done on each cluster member: