From owner-freebsd-questions Sat Sep 2 23:44:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 20DD837B423 for ; Sat, 2 Sep 2000 23:44:15 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 2 Sep 2000 23:43:12 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id XAA45539; Sat, 2 Sep 2000 23:44:13 -0700 (PDT) (envelope-from cjc) Date: Sat, 2 Sep 2000 23:44:13 -0700 From: "Crist J . Clark" To: William Melanson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var/log/messages > gzip? Message-ID: <20000902234413.A62475@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from wjm@gate.net on Sun, Sep 03, 2000 at 12:09:34AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Sep 03, 2000 at 12:09:34AM -0400, William Melanson wrote: > > Hello, > > Where might I find the script that gzip's sendmail's maillog on a daily > basis? I'd like to tinker around with it whereas it can perform the same > services to /var/log/messages. See newsyslog(8). By default, it does archive messages, but rather than daily, it does so when it reaches a certain size. Look at the newsyslog.conf file to see the current configuration for newsyslog. > Apparently /etc/periodic wants > /var/log/messages to be gzip as well. These error messages: > "/var/log/messages.0*.gz: No such file or directory" are weighing heavily > upon my patience :) This is a different issue. It occurs in the /etc/security file which is run out of /etc/periodic/daily/450.status-security. The easiest way to get rid of it is just to, # touch /var/log/messages.0.gz -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message