HP Insight Remote Support 7.0.9 Monitored Devices Configuration Guide
Tru64 UNIX Version 4.0G
1.
Stop the binlogd process: # /sbin/init.d/binlog stop
2. If desired, move the original error log to any appropriate name, for example:
# mv /var/adm/binary.errlog /var/adm/binary.errlog.2002_06_11
Saved logs can be analyzed at a later time.
3.
If you skipped step 2, remove the original error log: # rm /var/adm/binary.errlog
4.
Restart the binlogd process: # /sbin/init.d/binlog start
Tru64 UNIX Version 5.A or Higher
A new feature can send a signal to binlogd to save the current log and create a new one without stopping
the process. Follow the steps in section "Verify the binary.errlog CDSL" and section "Clear the Log with
binlogd Running".
Verify the binary.errlog CDSL
In version 5.1A or higher, the binary error log /var/adm/binary.errlog should be a context-dependent
symbolic link (CDSL) pointing to a file specific to each cluster node. This makes sure that the binlogd
process on each node stores that node's events to its own node-specific error log
/var/cluster/members/<memb>/adm/binary.errlog.
If the CDSL is ever deleted, binlogd recreates it as a regular, cluster-common file, which does not work
correctly. To check your file, issue the command:
# ls -l /var/adm/binary.errlog
Correct output looks similar to the following:
>lrwxrwxrwx 1 root adm 43 Jun 11 12:54 /var/adm/binary.errlog -
>../cluster/members/<memb>/adm/binary.errlog
Incorrect output does not show the -> link indicator:
-rw-r----- 1 root adm 560 Jun 11 12:59 /var/adm/binary.errlog
If necessary, correct the file by performing the following steps:
1. Stop the binlogd process on all cluster nodes by issuing the following command on each node:
# /sbin/init.d/binlog stop
2. Saved logs can be analyzed at a later time. If desired, move the original error log to any appropriate
name, for example:
# cd /var/adm
# mv binary.errlog binary.errlog.2002_06_11
3. Issue similar move commands for any node-specific error logs you wish to save, for example:
HP Insight Remote Support 7.0.9:Monitored Devices Configuration Guide Page 123 of 267
Chapter 14: Configuring Tru64 UNIX Servers