NewSysLog | Crontab
Matthew Seaman
matthew at FreeBSD.org
Sat May 26 11:44:36 UTC 2012
On 26/05/2012 12:02, Jos Chrispijn wrote:
> I have this issue with bzip2 and the generation of backup logfiles.
> This is the error I get:
>
> --- cut ---
>
> bzip2: I/O or other error, bailing out. Possible reason follows.
> bzip2: No such file or directory
> Input file = /var/log/all.log.0, output file = /var/log/all.log.0.bz2
> newsyslog: `bzip2 -f /var/log/all.log.0' terminated with a non-zero
> status (1)
> bzip2: Can't open input file /var/log/maillog.0: No such file or directory.
> newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero
> status (1)
>
> --- cut ---
>
> Can you tell me what goes wrong here and how to solve this?
The underlying problem seems to be problems writing to /var/log.
Is the partition (/var probably) full up or out of inodes?
df -ih /var/log
Also, look at the console to see if anything has been logged there.
If it isn't running out of space, then check that the directory hasn't
got weird flags settings:
ls -laoR /var/log
Having something like noschg set on the directory would cause the
observed symptoms, but I am at a loss to understand how on earth
anything like that could come about.
There are a couple of other things it might be, but it's quite unlikely
you wouldn't get crashes, coredumps and other signs of the end-times
should any of those be the case.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120526/187e320e/signature.pgp
More information about the freebsd-questions
mailing list