[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logrotate: file size changed while zipping



Hi,

Dňa Thu, 26 Jul 2012 17:53:36 +0000 (UTC) Camaleón <noelamac@gmail.com>
napísal:

> >> Also, have you edited any of the logrotate routines at
> >> "/etc/logrotate.d/ *" or have you added a self-made one?
> > 
> > Yes, i have modified (one) and my own (two) routines there, but i have
> > them a long time before this message appears. They are untouched a long
> > time too. I check this now, and they last changes are some months ago
> > (both modified & custom) - march and older. The newest one is
> > /etc/logrotate.d/tor from 2012-07-06.
> 
> I never got that message, that's why I asked. Anyway, I wonder how
> common can be the above warning :-?

i understand why you ask.

> > Can i check this by finding the ungzipped old log files? 
> 
> Yes. There has to be at least one file under "/var/log/" (and sub-dirs) 
> that has not been compressed (if all the logs are placed here, of
> course).

OK, i have ungziped files from three routines, i will check them one by
one daily - i am patient, to identify the one which causes the problem :-)

I have ungziped some other files too, but they are empty, and i think,
that empty files are not rotated.

I will report the result after checking these three (or all, if will be
needed) files - if i do not forget to do the modification, then after
three (or after 16 days).

> > Or is there way to disable particular logrotate routine? 
> 
> Well, I suppose you can comment out ("#") the whole code block for the 
> desired file under "/etc/logrotate.d/*" or simply adding "nocompress" 
> option instead to find out the culprit.

yes, the "nocompress" is for me, thanks

> > Or some another way? I don't know...
> 
> If there are no more clues about the warning at the syslog, hard to 
> tell :-?

i find nothing useful there.

regards

-- 
Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature


Reply to: