From owner-freebsd-questions@FreeBSD.ORG Sat May 26 11:44:36 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6660F106564A for ; Sat, 26 May 2012 11:44:36 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id C57998FC17 for ; Sat, 26 May 2012 11:44:35 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q4QBiUmj065467 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 26 May 2012 12:44:30 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q4QBiUmj065467 Authentication-Results: smtp.infracaninophile.co.uk/q4QBiUmj065467; dkim=none (no signature); dkim-adsp=none Message-ID: <4FC0C217.6050600@FreeBSD.org> Date: Sat, 26 May 2012 12:44:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <4FC0B862.80306@webrz.net> In-Reply-To: <4FC0B862.80306@webrz.net> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9CAFABCE2921DD28153C7475" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Subject: Re: NewSysLog | Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2012 11:44:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9CAFABCE2921DD28153C7475 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: >=20 > --- cut --- >=20 > bzip2: I/O or other error, bailing out. Possible reason follows. > bzip2: No such file or directory > Input file =3D /var/log/all.log.0, output file =3D /var/log/all.log= =2E0.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 direct= ory. > newsyslog: `bzip2 -f /var/log/maillog.0' terminated with a non-zero > status (1) >=20 > --- cut --- >=20 > 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 --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig9CAFABCE2921DD28153C7475 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/Awh4ACgkQ8Mjk52CukIx9cwCgkfuZqHwub88Aa8gi+ilqGUhf +w4An2PzByzxFpSGBbSigHPloKmcIhsq =IgL5 -----END PGP SIGNATURE----- --------------enig9CAFABCE2921DD28153C7475--