tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: daemon.log messages in dxconsole after stop/start syslogd
@ 1998-05-19 21:29 Randy Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Rodgers @ 1998-05-19 21:29 UTC (permalink / raw)
  To: tru64-unix-managers

After posting my summary I got a response from Vinzenz Esser
vinzenz@emas.comm resolved my problem.

>
> Original question:
>
> > I have a script that runs once a week that does the following:
> >
> > /sbin/init.d/syslog stop
> > mv /var/adm/binary.errlog
/usr/local/logs/binerrlogs/binary.errlog.yymmdd
> > cp /dev/null /var/adm/binary.errlog
> > /sbin/init.d/syslog start
> >
> > Since upgrading to V4.0b, when ever this runs the messages that would
> > normally go into /var/adm/syslog.dated/?/daemon.log are displayed on the
> > dxconsole instead.  If I reboot things go back to normal.
> >
> > Can anyone explain why this is happening & how to get it corrected?
> >

============================================================================
========
Don't remember seeing this the first time it came around.

binlogd is the guy who logs to binary.errlog, not syslogd. binlogd logs
messages
in binary format, while syslogd logs messages in readable text format.

Note that '/sbin/init.d/syslog stop' does not stop binlogd, it only stops
syslogd (it starts both of them though). To roll over binary.errlog it's not
necessary to cycle syslogd. You can limit your script to the mv/cp commands
wrapped into killing/starting binlogd.

If you cp binary.errlog into the backup file instead of renaming it, then
you
don't even need to cycle binlogd. I've done that numerous times and have
never
seen any ill side effects.

I know this doesn't answer the real question, but it's a different approach
to
what you are trying to accomplish and it makes your problem disappear.

Hope this helps,

Vinzenz
--
Vinzenz Esser
EMASS Technical Support
Englewood, Colorado
E-Mail: Vinzenz_Esser@emass.com
Phone:  (303) 705-3864
Fax:    (303) 792-2465

============================================================================
========
This gave me exactly what I needed to fix my problem.

Randy Rodgers
Senior Systems Programmer
Allen County Information Systems
RM B16 - City/County Building
One Main Street
Fort Wayne, IN 46802
(219) 427-5727
rrodgers@ci.ft-wayne.in.us

^ permalink raw reply	[flat|nested] 2+ messages in thread
* SUMMARY: daemon.log messages in dxconsole after stop/start syslogd
@ 1998-05-19 20:45 Randy Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Rodgers @ 1998-05-19 20:45 UTC (permalink / raw)
  To: tru64-unix-managers

Original question:

> I have a script that runs once a week that does the following:
>
> /sbin/init.d/syslog stop
> mv /var/adm/binary.errlog /usr/local/logs/binerrlogs/binary.errlog.yymmdd
> cp /dev/null /var/adm/binary.errlog
> /sbin/init.d/syslog start
>
> Since upgrading to V4.0b, when ever this runs the messages that would
> normally go into /var/adm/syslog.dated/?/daemon.log are displayed on the
> dxconsole instead.  If I reboot things go back to normal.
>
> Can anyone explain why this is happening & how to get it corrected?
>

I only got one response suggesting that maybe the /etc/syslog.conf file had
changed.  This was not the case.  I am going to do further investigation of
the problem.

Randy Rodgers
Senior Systems Programmer
Allen County Information Systems
RM B16 - City/County Building
One Main Street
Fort Wayne, IN 46802
(219) 427-5727
rrodgers@ci.ft-wayne.in.us

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

end of thread, other threads:[~1998-05-19 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-19 21:29 SUMMARY: daemon.log messages in dxconsole after stop/start syslogd Randy Rodgers
  -- strict thread matches above, loose matches on Subject: below --
1998-05-19 20:45 Randy Rodgers

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