From owner-freebsd-questions@FreeBSD.ORG Sat May 15 01:56:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E382A16A4CE for ; Sat, 15 May 2004 01:56:38 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A9A43D2F for ; Sat, 15 May 2004 01:56:37 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i4F8uQoK057147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 15 May 2004 09:56:26 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4F8uLeY057146; Sat, 15 May 2004 09:56:21 +0100 (BST) (envelope-from matthew) Date: Sat, 15 May 2004 09:56:21 +0100 From: Matthew Seaman To: Matt Cyber Dog LaPlante Message-ID: <20040515085621.GC56326@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Matt Cyber Dog LaPlante , freebsd-questions@freebsd.org References: <20040515055255.4790A43D31@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q9KOos5vDmpwPx9o" Content-Disposition: inline In-Reply-To: <20040515055255.4790A43D31@mx1.FreeBSD.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040504, clamav-milter version 0.70u X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.7 Syslogs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2004 08:56:39 -0000 --q9KOos5vDmpwPx9o Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 15, 2004 at 01:51:40AM -0400, Matt Cyber Dog LaPlante wrote: > I've inherited a FreeBSD 4.7 server as part of a system administration jo= b. > =A0Recently I noticed that the syslog files had stopped collecting data. = =A0This > includes /var/log/messages and /var/log/console among others. =A0Up until= some > time last week, they'd been full of data, but after some unknown event, a= ll > data collection stopped. =A0I did not build/configure the system, nor am I > very fluent in the ways of BSD, so I do not know where else to begin look= ing > for answers. =A0I ran the newsyslog program to regenerate all the log fil= es. > =A0It created them, with the single line stating a new log file was creat= ed, > but aside from that one line they remain empty. =A0I tried manually resta= rting > syslogd, as well as rebooting the whole machine, neither of which have had > any effect. =A0I have not manually altered any syslog configuration info,= and > I basically have no idea what to try next. =A0I'm a relative noob when it > comes to FreeBSD, so I'd appreciate answers in a simple format. Thanks in > advance... Hmmm... that doesn't sound good. Can you use logger(1) to write a test message into the log files? % logger -p daemon.info -t TEST "Some test message" which should appear in /var/log/messages. If it doesn't, look at /etc/syslog.conf and verify that it is sensible. Then try killing syslogd and starting it up in debug mode: # syslogd -d {other syslog flags} this will not daemonize itself or go into the background and will print out various debugging information as log messages come in. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --q9KOos5vDmpwPx9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFApds1iD657aJF7eIRAiVQAKCNZhQaYPgBd/Z0g1Bems6DMWbV+gCfWiDD xJzn6WT+byGwTOUd04PO39A= =IDRv -----END PGP SIGNATURE----- --q9KOos5vDmpwPx9o--