From owner-freebsd-questions@FreeBSD.ORG Sat May 26 17:41:53 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 8543D10657AA; Sat, 26 May 2012 17:41:53 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 39A028FC08; Sat, 26 May 2012 17:41:53 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 120315094E; Sat, 26 May 2012 19:40:53 +0200 (CEST) Received: from [10.10.10.41] (zeus.webrz.net [10.10.10.41]) by webrz.xs4all.nl (Postfix) with ESMTPA id D349A50905; Sat, 26 May 2012 19:40:51 +0200 (CEST) Message-ID: <4FC115D5.7000502@webrz.net> Date: Sat, 26 May 2012 19:41:41 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Matthew Seaman References: <4FC0B862.80306@webrz.net> <4FC0C217.6050600@FreeBSD.org> In-Reply-To: <4FC0C217.6050600@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Cc: freebsd-questions@FreeBSD.org 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 17:41:53 -0000 Hi Matthew, Thanks, will investigate this... best regards, Jos Matthew Seaman: > 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 >