From owner-freebsd-questions Tue Sep 25 18:33:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from db.nexgen.com (db.nexgen.com [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id 5452F37B415 for ; Tue, 25 Sep 2001 18:33:42 -0700 (PDT) Received: (qmail 12357 invoked from network); 26 Sep 2001 01:33:01 -0000 Received: from localhost.nexgen.com (HELO alexus) (root@127.0.0.1) by localhost.nexgen.com with SMTP; 26 Sep 2001 01:33:01 -0000 Message-ID: <000701c1462b$44896e80$0d00a8c0@alexus> From: "alexus" To: "Edwin Groothuis" Cc: References: <000701c14626$ea0ce620$0d00a8c0@alexus> <20010926111513.D99595@k7.mavetju.org> Subject: Re: syslogd: restart Date: Tue, 25 Sep 2001 21:33:38 -0400 Organization: NexGen MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" To: "alexus" Cc: 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