daily rotate of inn logs

Nicolas STRANSKY Nicolas.Stransky at crans.org
Wed Jul 3 07:33:40 UTC 2002


Kjetil Torgrim Homme <kjetilho at ifi.uio.no> a écrit :

> On Tue, 2002-07-02 at 22:37, Nicolas STRANSKY wrote:
>
>> This seems to be due to a problem with gzip during the rotate cycle and
>> the use of 'scanlogs', because news.daily in his daily mail reports the
>> following errors juste before the 'expire' section of the mail:
>>
>> gzip: /bin/gzip has 3 other links -- unchanged
>
> looks like the script does
>    /bin/gzip /bin/gzip /var/log/whatever*
>
> check the definition of LOG_COMPRESS in innshellvars

LOG_COMPRESS=/bin/gzip
I tried once tu put a -f option for LOG_COMPRESS (so that I had the
following line :
LOG_COMPRESS="/bin/gzip -f") but then I got these errors :

gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied

regards,
-- 
Nicolas Stransky



More information about the inn-workers mailing list