From owner-freebsd-questions Fri Jan 26 9:22:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from simian.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id CB3A937B400 for ; Fri, 26 Jan 2001 09:21:57 -0800 (PST) Received: from zaphod.realtime.co.uk (zaphod.realtime.co.uk [194.205.134.208]) by simian.realtime.co.uk (8.10.1/8.10.1) with ESMTP id f0QHLcT02511; Fri, 26 Jan 2001 17:21:39 GMT Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.16 #1) id 14MCX7-0001l1-00; Fri, 26 Jan 2001 17:19:33 +0000 From: Wayne Pascoe To: John Heyer Cc: questions@freebsd.org Subject: Re: Nothing logged to syslog References: Reply-To: wayne.pascoe@realtime.co.uk Date: 26 Jan 2001 17:19:33 +0000 In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Heyer writes: > I've recently been having random problems with two of my logs > (/var/log/maillog and /var/log/daemon.log) being empty after they are > rotated on my 4.1 system. For example, nothing has been logged to > /var/log/maillog even though I'm sending and receiving messages. This is > really odd because I haven't modified syslog.conf or newsyslog.conf in > months. What's more bizarre is this will happen for a day, then be fine > for a few days, then happen again. I've tried running newsyslog from the > command line and restarting syslogd. Any ideas? Couple of things... Make sure that syslogd is either HUPed or restarted after the logs are rotated. See if the rotated log (eg mail.old) is still having data written to it. If so, then the syslog process probably needs either a HUP or a SIGUSR1 signal sent to it. -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message