From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 11:19:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23D23106566B for ; Fri, 2 Jul 2010 11:19:29 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8B78FC19 for ; Fri, 2 Jul 2010 11:19:28 +0000 (UTC) Received: from seedling.local (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o62BJKtc036460 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 2 Jul 2010 12:19:20 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host seedling.black-earth.co.uk [81.187.76.163] claimed to be seedling.local Message-ID: <4C2DCB38.6030500@infracaninophile.co.uk> Date: Fri, 02 Jul 2010 12:19:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Gilles References: <84ir26h1punkutik1dmlbhd77d2npsqupe@4ax.com> In-Reply-To: <84ir26h1punkutik1dmlbhd77d2npsqupe@4ax.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: /var/log/messages empty since June 26 :-/ 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: Fri, 02 Jul 2010 11:19:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/07/2010 12:11:16, Gilles wrote: > Hello > > On a FreeBSD 6.3 server sitting in a corner of the office not doing > much work, I noticed that /var/log/messages was turned over and has > been empty since 26 June: > > # tail /var/log/messages > Jun 26 16:00:00 freebsd newsyslog[5320]: logfile turned over due to > size>100K > > # ll /var/log/ > -rw-r--r-- 1 root wheel 78 26 jui 16:00 messages > -rw-r--r-- 1 root wheel 8396 26 jui 16:00 messages.0.bz2 > -rw-r--r-- 1 root wheel 8329 30 mar 11:00 messages.1.bz2 > -rw-r--r-- 1 root wheel 8663 2 mar 2009 messages.2.bz2 > -rw-r--r-- 1 root wheel 9640 20 déc 2008 messages.3.bz2 > -rw-r--r-- 1 root wheel 6554 17 oct 2008 messages.4.bz2 > -rw-r--r-- 1 root wheel 5825 17 oct 2008 messages.5.bz2 > (jui = June, jul = July) > > I don't have enough experience with FreeBSD to understand the cause > for this, and how to solve it, so would appreciate any suggestion. Is syslogd running? Restarting syslogd would be a good thing to try in any case: # /etc/rc.d/syslogd restart This should result in some output to the system logs -- if you don't see that, then your syslog.conf may be broken: syslogd can die silently in those circumstances. You'll need to run syslogd with the '-d' debugging flag in addition to what flags you usually use in order to see what the problem is. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwtyzgACgkQ8Mjk52CukIzuCQCfS+eyBa/KJQnSrFUKLstmlLnA 9cQAn22j9hqDFuKTOlzydMUp71tNVFMS =9Suy -----END PGP SIGNATURE-----