On Sun, 3 Nov 2013, Reco wrote:

Date: Sun, 3 Nov 2013 17:30:17 +0400
From: Reco <[email protected]>
To: [email protected]
Subject: Re: Why syslog is not rotating?
Resent-Date: Sun,  3 Nov 2013 13:30:47 +0000 (UTC)
Resent-From: [email protected]

On Sun, 3 Nov 2013 14:25:38 +0200 (IST)
Itay <[email protected]> wrote:

On Sun, 3 Nov 2013, Reco wrote:

Not yet, but we have some progress...

Trial 1:

# /usr/sbin/logrotate /etc/logrotate.conf
error: error creating output file /var/log/syslog.1.gz: File exists

Trial 2:
# rm /var/log/syslog.1.gz
# /usr/sbin/logrotate /etc/logrotate.conf
gzip: stdin: Input/output error
error: failed to compress log /var/log/syslog.1

Should I backup syslog, delete it, and watch how things evolve?


Now that's interesting. Is there anything similar to this messages
in /var/log/cron.log?

Hmmmm... there is no /var/log/cron.log !!

Does, say, 'md5sum /var/log/syslog' runs to the completion?

Yes.  Without warnings/errors.

What about 'cat /var/log/syslog > /dev/null'?

Yes.  Without warnings/errors.

Can you run fsck on the filesystem containing /var/log/syslog?

I have to unmount /var for that; right?
So I need to use Live CD for that; right?

What does smartctl --all shows on the partition with this filesystem?

I never used smartctl (installed it now following-up your question).
In my system /var resides on a logical volume.
So I am not sure how to proceed.

Reco

Many thanks for the help
Itay


--
To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to