Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  1997-06-26  4:00 ` PKM
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  1997-06-26  4:00 ` Tim Mooney
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Binary error log question
@ 1997-06-25  4:00 Daniel A. Torrey
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel A. Torrey @ 1997-06-25  4:00 UTC (permalink / raw)



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.

-daniel

*---------------------------------------------------------------------*
| Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
| HealthPartners, Inc.                  | just  friend of the script  |
| 612.883.6485                          | writer.                     |
*---------------------------------------------------------------------*










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Binary error log question
  1997-06-25  4:00 Daniel A. Torrey
@ 1997-06-26  4:00 ` Tim Mooney
  0 siblings, 0 replies; 9+ messages in thread
From: Tim Mooney @ 1997-06-26  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Binary error log question
  1997-06-25  4:00 Daniel A. Torrey
@ 1997-06-26  4:00 ` PKM
  0 siblings, 0 replies; 9+ messages in thread
From: PKM @ 1997-06-26  4:00 UTC (permalink / raw)



Hi,

The way i do it is to move the file like 'mv binary.errlog
binary.errlog.old' and then do the kill documented in 'man binlogd' 'kill
-HUP `cat /var/run/binlogd.pid`' and a new one is created.

Per.

Daniel A. Torrey <nospam@nospam.not> wrote in article
<5os7l7$g27$1@news5.wavefront.com>...
> 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.
> 
> -daniel
> 
> *---------------------------------------------------------------------*
> | Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
> | HealthPartners, Inc.                  | just  friend of the script  |
> | 612.883.6485                          | writer.                     |
> *---------------------------------------------------------------------*
> 
> 
> 
> 
> 
> 
> 
> 



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1997-06-26  4:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-25  4:00 Binary error log question Daniel A. Torrey
  -- strict thread matches above, loose matches on Subject: below --
1997-06-25  4:00 Daniel A. Torrey
1997-06-26  4:00 ` Tim Mooney
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
1997-06-25  4:00 Daniel A. Torrey
1997-06-26  4:00 ` PKM

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox