Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2001 21:33:38 -0400
From:      "alexus" <ml@db.nexgen.com>
To:        "Edwin Groothuis" <edwin@mavetju.org>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: syslogd: restart
Message-ID:  <000701c1462b$44896e80$0d00a8c0@alexus>
References:  <000701c14626$ea0ce620$0d00a8c0@alexus> <20010926111513.D99595@k7.mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help
basically I do roll-over once a day.. (it's done automatically)
I have not set any limitation on files otherwise

that what I can't understand.. why does it keep restarting itself?

I don't quite believe this is normal behavior.. and I got to find out what's
causing this problem and fix it...

i see this nearly every time when syslogd: restarted

Sep 25 04:00:00 box /usr/sbin/cron[61904]: (root) CMD (newsyslog)
Sep 25 04:00:00 box /usr/sbin/cron[61905]: (root) CMD
(/usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/mrtg.cfg)
Sep 25 04:00:00 box /usr/sbin/cron[61906]: (bin) CMD (perl
/usr/local/share/sqwebmail/cleancache.pl)
Sep 25 04:00:00 box syslogd: restart

here it restart 3 times in the row

Sep 25 05:00:00 box /usr/sbin/cron[62012]: (root) CMD (newsyslog)
Sep 25 05:00:00 box /usr/sbin/cron[62013]: (root) CMD
(/usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/mrtg.cfg)
Sep 25 05:00:00 box /usr/sbin/cron[62014]: (bin) CMD (perl
/usr/local/share/sqwebmail/cleancache.pl)
Sep 25 05:00:00 box syslogd: restart
Sep 25 05:00:11 box syslogd: restart
Sep 25 05:00:21 box syslogd: restart

any ideas?

----- Original Message -----
From: "Edwin Groothuis" <edwin@mavetju.org>
To: "alexus" <ml@db.nexgen.com>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, September 25, 2001 9:15 PM
Subject: Re: syslogd: restart


> On Tue, Sep 25, 2001 at 09:02:28PM -0400, alexus wrote:
> > su-2.05# grep restart /var/log/all.log
> > Sep 25 00:00:11 box syslogd: restart
> > ....
> > Sep 25 21:00:21 box syslogd: restart
> > su-2.05# grep -c restart /var/log/all.log
> > 52
> > su-2.05#
> >
> > any ideas why woudl syslogd restart on his own 50 times a day?
>
> If you rotate log-files (because they're too big or too old), you
> create the log-file again and syslog should be informed that it
> should write to the new file. That's done with a restart. Note that
> it's not a *start* (which is a clean start of the syslogd), but a
> *restart*, which is a HUP signal send to the syslogd.
>
> Edwin
>
> --
> Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
> edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
> ------------------+                       http://www.FatalDimensions.org/
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c1462b$44896e80$0d00a8c0>