RE: [expert] Postfix filing up my /VAR!!!

2000-11-07 Thread Bill Shirley



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bob Puff@NLE
> Sent: Monday, November 06, 2000 8:24 PM
> To: [EMAIL PROTECTED]
> Subject: [expert] Postfix filing up my /VAR!!!
>
>
> Hello,
>
> I just had a machine go down on me yesterday.  Kept giving me
> "no free space on drive" errors.  It turned out that my /VAR
> partition was messed up, and after forcing a check, indeed it
> was full.
>
> I found a directory called MAIL inside /VAR/LOG that had
> THOUSANDS of files in it, taking up literally hundreds of
> megabytes.  They appeared to be all log files from Postfix,
> my SMTP program.
There has been lots of discussion on the list about the bug in logrotate.
You should update logrotate.
It also affected /var/log/news.

>
> My question #1: Why are these here, when I have my mail log
> as: /VAR/LOG/MAIL.LOG?  That has been working fine.  Why is
> there a second location that seems to be keeping log files forever?
These files are created by the syslogd daemon.

>
> Question #2: I downloaded Tom's linux floppy, and created it.
>  I booted this on my system, and tried using the fsck, as
> well as exfsck (not sure of exact syntax).  Both programs
> reported that any drive I checked was not a ext2 file system
> (which they are), and would not go any further.  I did:
>
> fsck /dev/hda7
>
> Why didn't this work?  I ended up forcing my Mandrake 7.1 to
> do a check during bootup by changing the year to 2001 and
> rebooting.  It checked, fixed errors, and all was well.  I
> had errors on two out of four partitions.  I tried the fsck
> from Tom's disk on all four partitions, and it would not work.
>
> What did I do wrong?
>
> And more importantly, how do I turn off Postfix's creating
> additional log files in /var/log/mail/???
>
> Bob
>
>




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-07 Thread Anton Graham

Submitted 06-Nov-00 by Bob Puff@NLE:
> Hello,

> My question #1: Why are these here, when I have my mail log as:
> /VAR/LOG/MAIL.LOG?  That has been working fine.  Why is there a second
> location that seems to be keeping log files forever?

The culprit is not postfix, it's logrotate.  The config file as shipped with
7.1 was screwy and confinually rotated the already rotated logs, eventually
filling the drive.  There is an update available.

-- 
Anton GrahamGPG ID: 0x18F78541
<[EMAIL PROTECTED]> RSA key available upon request
 
"It is as natural to man to die as to be born; and to a little infant,
perhaps, the one is as painful as the other." 
  -- Francis Bacon, Of Death




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-07 Thread Rich Jones

fred

>>> expert 11/06/00 22:14 >>>

fred

>>> expert 11/06/00 21:01 >>>

fred

>>> expert 11/06/00 18:23 >>>

Hello,

I just had a machine go down on me yesterday.  Kept giving me "no free space on drive" 
errors.  It turned out that my /VAR partition was messed up, and after forcing a 
check, indeed it was full.

I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of files in it, 
taking up literally hundreds of megabytes.  They appeared to be all log files from 
Postfix, my SMTP program.

My question #1: Why are these here, when I have my mail log as: /VAR/LOG/MAIL.LOG?  
That has been working fine.  Why is there a second location that seems to be keeping 
log files forever?

Question #2: I downloaded Tom's linux floppy, and created it.  I booted this on my 
system, and tried using the fsck, as well as exfsck (not sure of exact syntax).  Both 
programs reported that any drive I checked was not a ext2 file system (which they 
are), and would not go any further.  I did:

fsck /dev/hda7

Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check during bootup 
by changing the year to 2001 and rebooting.  It checked, fixed errors, and all was 
well.  I had errors on two out of four partitions.  I tried the fsck from Tom's disk 
on all four partitions, and it would not work.

What did I do wrong?

And more importantly, how do I turn off Postfix's creating additional log files in 
/var/log/mail/???

Bob









Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Rich Jones

fred

>>> expert 11/06/00 22:47 >>>

fred

>>> expert 11/06/00 22:38 >>>

fred

>>> expert 11/06/00 22:01 >>>

fred

>>> expert 11/06/00 21:55 >>>

This is a problem with the logrotate scripts.

they loop somewhere and create multiple /var/log/mail/fil.gz.gz.gz.gz.gz.gz
style files.


- Original Message -
From: "Bob Puff@NLE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 11:53 AM
Subject: [expert] Postfix filing up my /VAR!!!


> Hello,
>
> I just had a machine go down on me yesterday.  Kept giving me "no free
space on drive" errors.  It turned out that my /VAR partition was messed up,
and after forcing a check, indeed it was full.
>
> I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of
files in it, taking up literally hundreds of megabytes.  They appeared to be
all log files from Postfix, my SMTP program.
>
> My question #1: Why are these here, when I have my mail log as:
/VAR/LOG/MAIL.LOG?  That has been working fine.  Why is there a second
location that seems to be keeping log files forever?
>
> Question #2: I downloaded Tom's linux floppy, and created it.  I booted
this on my system, and tried using the fsck, as well as exfsck (not sure of
exact syntax).  Both programs reported that any drive I checked was not a
ext2 file system (which they are), and would not go any further.  I did:
>
> fsck /dev/hda7
>
> Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check
during bootup by changing the year to 2001 and rebooting.  It checked, fixed
errors, and all was well.  I had errors on two out of four partitions.  I
tried the fsck from Tom's disk on all four partitions, and it would not
work.
>
> What did I do wrong?
>
> And more importantly, how do I turn off Postfix's creating additional log
files in /var/log/mail/???
>
> Bob
>
>






> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.
>












Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Rich Jones

fred

>>> expert 11/06/00 21:01 >>>

fred

>>> expert 11/06/00 18:23 >>>

Hello,

I just had a machine go down on me yesterday.  Kept giving me "no free space on drive" 
errors.  It turned out that my /VAR partition was messed up, and after forcing a 
check, indeed it was full.

I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of files in it, 
taking up literally hundreds of megabytes.  They appeared to be all log files from 
Postfix, my SMTP program.

My question #1: Why are these here, when I have my mail log as: /VAR/LOG/MAIL.LOG?  
That has been working fine.  Why is there a second location that seems to be keeping 
log files forever?

Question #2: I downloaded Tom's linux floppy, and created it.  I booted this on my 
system, and tried using the fsck, as well as exfsck (not sure of exact syntax).  Both 
programs reported that any drive I checked was not a ext2 file system (which they 
are), and would not go any further.  I did:

fsck /dev/hda7

Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check during bootup 
by changing the year to 2001 and rebooting.  It checked, fixed errors, and all was 
well.  I had errors on two out of four partitions.  I tried the fsck from Tom's disk 
on all four partitions, and it would not work.

What did I do wrong?

And more importantly, how do I turn off Postfix's creating additional log files in 
/var/log/mail/???

Bob







Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Rich Jones

fred

>>> expert 11/06/00 22:38 >>>

fred

>>> expert 11/06/00 22:01 >>>

fred

>>> expert 11/06/00 21:55 >>>

This is a problem with the logrotate scripts.

they loop somewhere and create multiple /var/log/mail/fil.gz.gz.gz.gz.gz.gz
style files.


- Original Message -
From: "Bob Puff@NLE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 11:53 AM
Subject: [expert] Postfix filing up my /VAR!!!


> Hello,
>
> I just had a machine go down on me yesterday.  Kept giving me "no free
space on drive" errors.  It turned out that my /VAR partition was messed up,
and after forcing a check, indeed it was full.
>
> I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of
files in it, taking up literally hundreds of megabytes.  They appeared to be
all log files from Postfix, my SMTP program.
>
> My question #1: Why are these here, when I have my mail log as:
/VAR/LOG/MAIL.LOG?  That has been working fine.  Why is there a second
location that seems to be keeping log files forever?
>
> Question #2: I downloaded Tom's linux floppy, and created it.  I booted
this on my system, and tried using the fsck, as well as exfsck (not sure of
exact syntax).  Both programs reported that any drive I checked was not a
ext2 file system (which they are), and would not go any further.  I did:
>
> fsck /dev/hda7
>
> Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check
during bootup by changing the year to 2001 and rebooting.  It checked, fixed
errors, and all was well.  I had errors on two out of four partitions.  I
tried the fsck from Tom's disk on all four partitions, and it would not
work.
>
> What did I do wrong?
>
> And more importantly, how do I turn off Postfix's creating additional log
files in /var/log/mail/???
>
> Bob
>
>






> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.
>










Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Rich Jones

fred

>>> expert 11/06/00 22:01 >>>

fred

>>> expert 11/06/00 21:55 >>>

This is a problem with the logrotate scripts.

they loop somewhere and create multiple /var/log/mail/fil.gz.gz.gz.gz.gz.gz
style files.


- Original Message -
From: "Bob Puff@NLE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 11:53 AM
Subject: [expert] Postfix filing up my /VAR!!!


> Hello,
>
> I just had a machine go down on me yesterday.  Kept giving me "no free
space on drive" errors.  It turned out that my /VAR partition was messed up,
and after forcing a check, indeed it was full.
>
> I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of
files in it, taking up literally hundreds of megabytes.  They appeared to be
all log files from Postfix, my SMTP program.
>
> My question #1: Why are these here, when I have my mail log as:
/VAR/LOG/MAIL.LOG?  That has been working fine.  Why is there a second
location that seems to be keeping log files forever?
>
> Question #2: I downloaded Tom's linux floppy, and created it.  I booted
this on my system, and tried using the fsck, as well as exfsck (not sure of
exact syntax).  Both programs reported that any drive I checked was not a
ext2 file system (which they are), and would not go any further.  I did:
>
> fsck /dev/hda7
>
> Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check
during bootup by changing the year to 2001 and rebooting.  It checked, fixed
errors, and all was well.  I had errors on two out of four partitions.  I
tried the fsck from Tom's disk on all four partitions, and it would not
work.
>
> What did I do wrong?
>
> And more importantly, how do I turn off Postfix's creating additional log
files in /var/log/mail/???
>
> Bob
>
>






> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.
>








Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Rich Jones

fred

>>> expert 11/06/00 21:55 >>>

This is a problem with the logrotate scripts.

they loop somewhere and create multiple /var/log/mail/fil.gz.gz.gz.gz.gz.gz
style files.


- Original Message -
From: "Bob Puff@NLE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 11:53 AM
Subject: [expert] Postfix filing up my /VAR!!!


> Hello,
>
> I just had a machine go down on me yesterday.  Kept giving me "no free
space on drive" errors.  It turned out that my /VAR partition was messed up,
and after forcing a check, indeed it was full.
>
> I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of
files in it, taking up literally hundreds of megabytes.  They appeared to be
all log files from Postfix, my SMTP program.
>
> My question #1: Why are these here, when I have my mail log as:
/VAR/LOG/MAIL.LOG?  That has been working fine.  Why is there a second
location that seems to be keeping log files forever?
>
> Question #2: I downloaded Tom's linux floppy, and created it.  I booted
this on my system, and tried using the fsck, as well as exfsck (not sure of
exact syntax).  Both programs reported that any drive I checked was not a
ext2 file system (which they are), and would not go any further.  I did:
>
> fsck /dev/hda7
>
> Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check
during bootup by changing the year to 2001 and rebooting.  It checked, fixed
errors, and all was well.  I had errors on two out of four partitions.  I
tried the fsck from Tom's disk on all four partitions, and it would not
work.
>
> What did I do wrong?
>
> And more importantly, how do I turn off Postfix's creating additional log
files in /var/log/mail/???
>
> Bob
>
>






> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.
>






Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Rich Jones

fred

>>> expert 11/06/00 18:23 >>>

Hello,

I just had a machine go down on me yesterday.  Kept giving me "no free space on drive" 
errors.  It turned out that my /VAR partition was messed up, and after forcing a 
check, indeed it was full.

I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of files in it, 
taking up literally hundreds of megabytes.  They appeared to be all log files from 
Postfix, my SMTP program.

My question #1: Why are these here, when I have my mail log as: /VAR/LOG/MAIL.LOG?  
That has been working fine.  Why is there a second location that seems to be keeping 
log files forever?

Question #2: I downloaded Tom's linux floppy, and created it.  I booted this on my 
system, and tried using the fsck, as well as exfsck (not sure of exact syntax).  Both 
programs reported that any drive I checked was not a ext2 file system (which they 
are), and would not go any further.  I did:

fsck /dev/hda7

Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check during bootup 
by changing the year to 2001 and rebooting.  It checked, fixed errors, and all was 
well.  I had errors on two out of four partitions.  I tried the fsck from Tom's disk 
on all four partitions, and it would not work.

What did I do wrong?

And more importantly, how do I turn off Postfix's creating additional log files in 
/var/log/mail/???

Bob





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Postfix filing up my /VAR!!!

2000-11-06 Thread Allen Bolderoff

This is a problem with the logrotate scripts.

they loop somewhere and create multiple /var/log/mail/fil.gz.gz.gz.gz.gz.gz
style files.


- Original Message -
From: "Bob Puff@NLE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 11:53 AM
Subject: [expert] Postfix filing up my /VAR!!!


> Hello,
>
> I just had a machine go down on me yesterday.  Kept giving me "no free
space on drive" errors.  It turned out that my /VAR partition was messed up,
and after forcing a check, indeed it was full.
>
> I found a directory called MAIL inside /VAR/LOG that had THOUSANDS of
files in it, taking up literally hundreds of megabytes.  They appeared to be
all log files from Postfix, my SMTP program.
>
> My question #1: Why are these here, when I have my mail log as:
/VAR/LOG/MAIL.LOG?  That has been working fine.  Why is there a second
location that seems to be keeping log files forever?
>
> Question #2: I downloaded Tom's linux floppy, and created it.  I booted
this on my system, and tried using the fsck, as well as exfsck (not sure of
exact syntax).  Both programs reported that any drive I checked was not a
ext2 file system (which they are), and would not go any further.  I did:
>
> fsck /dev/hda7
>
> Why didn't this work?  I ended up forcing my Mandrake 7.1 to do a check
during bootup by changing the year to 2001 and rebooting.  It checked, fixed
errors, and all was well.  I had errors on two out of four partitions.  I
tried the fsck from Tom's disk on all four partitions, and it would not
work.
>
> What did I do wrong?
>
> And more importantly, how do I turn off Postfix's creating additional log
files in /var/log/mail/???
>
> Bob
>
>






> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.
>




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.