Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3232
Step 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"
Step 2. Restart syslogd with the following commands:
#/sbin/init.d/syslogd stop
#/sbin/init.d/syslogd start
Step 3. If the local syslogs were being consolidated, edit the systems
/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.
Step 4. Halt the clog package with the command:
#/usr/sbin/cmhaltpkg clog
Step 5. Stop syslog-ng with the following command:
# /sbin/init.d/syslog-ng stop
(Note that this stops the syslog-ng daemon and package log
consolidation if configured.)
Step 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
Step 7. Delete the clog package with the following command:
# cmdeleteconf -p clog