From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: Binary error log question
Date: 1997/06/26 [thread overview]
Message-ID: <5ou9nl$39e@dogbert.cc.ndsu.NoDak.edu> (raw)
In-Reply-To: 5otp9p$kv2$1@news5.wavefront.com
In article <5otp9p$kv2$1@news5.wavefront.com>,
Daniel A. Torrey <nospam@nospam.not> 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
next prev parent reply other threads:[~1997-06-26 4:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-25 4:00 Binary error log question Daniel A. Torrey
1997-06-26 4:00 ` Tim Mooney [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-06-25 4:00 Daniel A. Torrey
1997-06-25 4:00 Daniel A. Torrey
1997-06-26 4:00 ` PKM
1997-06-25 4:00 Daniel A. Torrey
1997-06-25 4:00 Daniel A. Torrey
1997-06-25 4:00 Daniel A. Torrey
1997-06-25 4:00 Daniel A. Torrey
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox