From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,eaa2b8850107cdf3 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: Binary error log question Date: 1997/06/26 Message-ID: <5ou9nl$39e@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 252768841 References: <5otp9p$kv2$1@news5.wavefront.com> Organization: North Dakota Higher Education Computing Network (NDHECN) Newsgroups: comp.unix.osf.osf1 In article <5otp9p$kv2$1@news5.wavefront.com>, Daniel A. Torrey wrote: > Can I trim the binary error log without rebooting, and still have the > kernel write errors to it after I've trimmed it? It's getting pretty big, > and I'd like to zero it out, but I'm afraid that if I just nuke it, it > won't be recreated until the next reboot. Probably. To be safe, I would kill `binlogd', cat /dev/null > /var/adm/binary.errlog, and then restart `binlogd'. Note: Don't try stopping binlogd by doing a /sbin/init.d/syslog stop The script does stop syslog but it *doesn't* stop binlogd. If you subsequently try restarting binlogd by doing a /sbin/init.d/syslog start you will have two copies of binlogd running. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164