From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 00:48:27 2005 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 5AB0516A4CE for ; Wed, 9 Mar 2005 00:48:27 +0000 (GMT) Received: from tco2.iaminsane.net (dsl017-004-081.ser1.dsl.speakeasy.net [69.17.4.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DA043D53 for ; Wed, 9 Mar 2005 00:48:26 +0000 (GMT) (envelope-from rem@thecompanyonline.com) Received: from [10.50.30.167] ([216.109.255.7]) (authenticated bits=0) by tco2.iaminsane.net (8.12.10/8.12.11) with ESMTP id j290c6BB068677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Mar 2005 19:38:12 -0500 (EST) Message-ID: <422E47CD.4020407@thecompanyonline.com> Date: Tue, 08 Mar 2005 19:48:13 -0500 From: Richard Mcintyre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jonathan Chen References: <422E2590.9050605@thecompanyonline.com> <20050309003940.GA45954@osiris.chen.org.nz> In-Reply-To: <20050309003940.GA45954@osiris.chen.org.nz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on tco2.iaminsane.net X-Virus-Scanned: clamd / ClamAV version devel-20040331, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: Problems with Cron not deleting log files 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: Wed, 09 Mar 2005 00:48:27 -0000 Jonathan Chen wrote: >On Tue, Mar 08, 2005 at 05:22:08PM -0500, Richard Mcintyre wrote: > > >>All, >> >>I am having a problem. Back in December I installed FreeBSD5.3 onto a >>server and have just recently found some new time to 'play' with the >>settings etc. >> >>I think I know what happened but I'm not sure how to fix it. >> >>I currently have a 'large number' of auth.log.xxxxx and cron.xxxxxx >>files under /var/log. >> >> > >Use newsyslog(8) and /etc/newsyslog.conf to manage your log files >instead of your home-grown non-working method. > > Thank you very much for your sarcastic comment, however, you must have read that far then stopped. The problem is not with the number of extra log files, the problem is that I cannot delete them. AT ALL. As far as 'my home-grown non-working method' of managing my log files, it doesn't exist. In that I had not modified any of the initial settings of /etc/newsyslog.conf or any other conf files. the only commands I ran on the system were the long string of chmod commands I listed. Thanks again, ~REM