Distributed Systems Administration Utilities User's Guide
#/sbin/init.d/syslogd start
4. Stop syslog-ng:
# /sbin/init.d/syslog-ng stop
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
6. If the TCP protocol was used, remove the following line from /etc/services:
clog_tcp port/tcp # Consolidated logging with syslog-ng
3.4.2 Disabling a Serviceguard Cluster Log Consolidation System
Perform the following steps to disable log consolidation in a Serviceguard cluster. Perform these
steps on each cluster member:
1. If 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:
SYSLOG_OPTS="-D"
2. Stop and restart syslogd with the following commands:
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
3. If the local syslogs were being consolidated, 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. Note
that a <tab> precedes each @ sign.
4. Halt the clog package with the command:
#/usr/sbin/cmhaltpkg clog
5. Stop syslog-ng with the following command:
# /sbin/init.d/syslog-ng stop
(This stops the syslog-ng daemon and package log consolidation if configured.)
6. Edit the /etc/rc.config.d/syslog-ng file and change the CLOG_CONFIGURED line to
the following:
CLOG_CONFIGURED=0
Remove all other CLOG lines except for:
CLOG_LAYOUTS_DIR=/var/opt/dsau/layouts
CLOG_ADDITIONAL_LOG_DIRS[0]=/var/adm/syslog
7. Delete the clog package with the following command:
# cmdeleteconf -p clog
3.4.3 Disabling a Standalone Log Forwarding Client
Perform the following steps to disable log forwarding on a standalone client:
76 Consolidated Logging