Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 18:08:21 Neil Bothwick wrote: > > Hectic day at work? :) > > I' m not working today, decorating is even more stressful :( Sign in my local paint store: "Husbands choosing colours must have a note from their wives" I feel your pain. I redid a bathroom sink the other

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Neil Bothwick
On Tue, 17 Nov 2009 17:25:02 +0200, Eray Aslan wrote: > > How does sending a SIGHUP to smtpd increase the load on the syslog > > server? > > Ugh, smtpd? Where did that come from? There was no mention of smtpd in > the thread. destination mail { file("/var/log/mail/$YEAR/$MONT

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Eray Aslan
On 17.11.2009 17:08, Neil Bothwick wrote: >>> You wouldn't miss a log messsage by sending a SIGHUP to your mail >>> server, the logger would keep running. >> When syslog-ng cannot process messages for whatever reason, it will >> buffer them. When the buffer is full, it will drop the messages. The

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Neil Bothwick
On Tue, 17 Nov 2009 14:08:00 +0200, Eray Aslan wrote: > > I didn't miss it. My question was how to you get the process to USE > > the new file. Unless you SIGHUP the process, it will continue using > > the config in pace when it started. > > Last sentence is correct. What you are missing is that

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 14:08:00 Eray Aslan wrote: > > You wouldn't miss a log messsage by sending a SIGHUP to your mail server, > > the logger woulsd keep running. > > When syslog-ng cannot process messages for whatever reason, it will > buffer them. When the buffer is full, it will drop the

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Eray Aslan
On 17.11.2009 10:59, Neil Bothwick wrote: >>> Then how do you get the server to use the new logfile names each >>> day/week? >> It creates and uses a new file each hour/day/etc. Perhaps, you missed >> the file(...) directive? > > I didn't miss it. My question was how to you get the process to USE

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Neil Bothwick
On Mon, 16 Nov 2009 17:55:51 +0200, Eray Aslan wrote: > On 16.11.2009 14:46, Neil Bothwick wrote: > > On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote: > > > >> - No need to logrotate with time based filenames. Hence, no > >> need to "kill -HUP" the syslog daemon. No missed logs. > > >

Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 04:35:23 Neil Walker wrote: > Alan McKinnon wrote: > > I have to ask - what the blazes are those servers doing??? :-) > > HTTP, SMTP and IMAP, mostly. ;) Which raises another question I have to ask - why are those logging to wtmp? Do all your users have shell account

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Neil Walker
Alan McKinnon wrote: > I have to ask - what the blazes are those servers doing??? :-) > HTTP, SMTP and IMAP, mostly. ;) Be lucky, Neil http://www.easy-ebay.com

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alex Schuster
Neil Walker writes: > Alex Schuster wrote: > > I just let it grow and grow and grow... on my server, which is > > running Gentoo for seven years now, it has 27,000 entries, and is at > > 24 MB. > > Wow! Do you even need a server? It can't be doing much. My servers top > that in a few hours. ;)

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alan McKinnon
On Monday 16 November 2009 22:09:11 Neil Walker wrote: > Alex Schuster wrote: > > I just let it grow and grow and grow... on my server, which is running > > Gentoo for seven years now, it has 27,000 entries, and is at 24 MB. > > Wow! Do you even need a server? It can't be doing much. My servers to

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Neil Walker
Alex Schuster wrote: > I just let it grow and grow and grow... on my server, which is running > Gentoo for seven years now, it has 27,000 entries, and is at 24 MB. Wow! Do you even need a server? It can't be doing much. My servers top that in a few hours. ;) Be lucky, Neil http://www.easy-eb

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alex Schuster
Jarry writes: > Alex Schuster wrote: > > Something like that, I never used logrotate by myself. See the man > > page for more information. > > Let me ask: how do you deal with /var/log/wtmp? I think it does not > go through syslog, and even it it does, it is not easy to process it > whit that sy

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alan McKinnon
On Monday 16 November 2009 17:55:51 Eray Aslan wrote: > On 16.11.2009 14:46, Neil Bothwick wrote: > > On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote: > >> - No need to logrotate with time based filenames. Hence, no need to > >> "kill -HUP" the syslog daemon. No missed logs. > > > > Then

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Jarry
Alex Schuster wrote: SUBJECT: Cron test -x /usr/sbin/run-crons && /usr/sbin/run-crons error: kernel:9 unknown option 'compytruncate' -- ignoring line error: kernel:12 unknown option 'endscript' -- ignoring line -- I assume you are using logrotate, and have the /etc/logrotate.d/ke

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Alex Schuster
Mick writes: > On Saturday 14 November 2009 16:53:24 Alex Schuster wrote: > > Something like that, I never used logrotate by myself. See the man > > page for more information. > > Hmm ... how do you keep your log files under control? I am using app-admin/metalog (http://metalog.sourceforge.net/

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Eray Aslan
On 16.11.2009 14:46, Neil Bothwick wrote: > On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote: > >> - No need to logrotate with time based filenames. Hence, no need to >> "kill -HUP" the syslog daemon. No missed logs. > > Then how do you get the server to use the new logfile names each >

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Neil Bothwick
On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote: > - No need to logrotate with time based filenames. Hence, no need to > "kill -HUP" the syslog daemon. No missed logs. Then how do you get the server to use the new logfile names each day/week? You only need to send a SIGHUP to the serve

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Eray Aslan
On 16.11.2009 10:08, Graham Murray wrote: > Eray Aslan writes: > >> - No need to logrotate with time based filenames. Hence, no need to >> "kill -HUP" the syslog daemon. No missed logs. > > But you still need some system (eg tmpwatch) to delete old log files > otherwise the disk will (even

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Graham Murray
Eray Aslan writes: > - No need to logrotate with time based filenames. Hence, no need to > "kill -HUP" the syslog daemon. No missed logs. But you still need some system (eg tmpwatch) to delete old log files otherwise the disk will (eventually) fill with log files. Logrotate automatically h

Re: [gentoo-user] strange cron messages...

2009-11-16 Thread Eray Aslan
On 15.11.2009 13:45, Mick wrote: > On Saturday 14 November 2009 16:53:24 Alex Schuster wrote: >> I assume you are using logrotate, and have the /etc/logrotate.d/kernel >> file? I guess the 'compytruncate' is misspelled and should be >> 'copytruncate'. And 'endscript' is used after using 'prerotate'

Re: [gentoo-user] strange cron messages...

2009-11-15 Thread Mick
On Saturday 14 November 2009 16:53:24 Alex Schuster wrote: > Jarry writes: > > Hi, I'm getting strange mails from vixie-cron-4.1-r10: > > -- > > SUBJECT: Cron test -x /usr/sbin/run-crons && > > /usr/sbin/run-crons > > > > error: kernel:9 unknown option 'compytruncate' -- ignoring l

Re: [gentoo-user] strange cron messages...

2009-11-14 Thread Alex Schuster
Jarry writes: > Hi, I'm getting strange mails from vixie-cron-4.1-r10: > -- > SUBJECT: Cron test -x /usr/sbin/run-crons && > /usr/sbin/run-crons > > error: kernel:9 unknown option 'compytruncate' -- ignoring line > error: kernel:12 unknown option 'endscript' -- ignoring line > --

[gentoo-user] strange cron messages...

2009-11-14 Thread Jarry
Hi, I'm getting strange mails from vixie-cron-4.1-r10: -- SUBJECT: Cron test -x /usr/sbin/run-crons && /usr/sbin/run-crons error: kernel:9 unknown option 'compytruncate' -- ignoring line error: kernel:12 unknown option 'endscript' -- ignoring line -- What does