Mailinglist Archive: opensuse (4343 mails)
| < Previous | Next > |
Re: [SLE] REPOST: log rotate suse 6.2 stopped working
- From: Tom Emerson <osnut@xxxxxxxxxxx>
- Date: Wed, 27 Nov 2002 07:41:48 -0800
- Message-id: <200211270741.48840.osnut@xxxxxxxxxxx>
On Wednesday 27 November 2002 4:53 am, Heupink, Mourik Jan C. wrote:
> thanks very much for thinking along.
>
> BUT: none of it did any good....
>
> changed absolutely nothing. just a upgraded version of apache, but the
> older version was also manually compiled. (never used the suse package)
"Didn't change anything except...." the one program that you're having
problems with. A couple of "silly" thoughts come to mind:
1) the log file name is subtly different -- you know you have a logrotate
rule for "rotating the web log", but if the logfile name (or location)
changed, you're no longer writing to the file that you are rotating
2) the new version doesn't "let go" of the file to allow a rotation to
occur. You may need some pre/post rotate rules to temporarilly suspend web
logging while the rotate occurs. [in other words, logrotate is trying to do
what you ask, but because the file is still "open" by the apache process, the
rename/rebuild operations are simply "pending"]
> thanks very much for thinking along.
>
> BUT: none of it did any good....
>
> changed absolutely nothing. just a upgraded version of apache, but the
> older version was also manually compiled. (never used the suse package)
"Didn't change anything except...." the one program that you're having
problems with. A couple of "silly" thoughts come to mind:
1) the log file name is subtly different -- you know you have a logrotate
rule for "rotating the web log", but if the logfile name (or location)
changed, you're no longer writing to the file that you are rotating
2) the new version doesn't "let go" of the file to allow a rotation to
occur. You may need some pre/post rotate rules to temporarilly suspend web
logging while the rotate occurs. [in other words, logrotate is trying to do
what you ask, but because the file is still "open" by the apache process, the
rename/rebuild operations are simply "pending"]
| < Previous | Next > |