From owner-freebsd-questions Sun Jul 21 20:12:24 2002 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 57B4237B400 for ; Sun, 21 Jul 2002 20:12:21 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF4743E6E for ; Sun, 21 Jul 2002 20:12:20 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 71ADB2B8DE; Mon, 22 Jul 2002 05:12:18 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id C52686A711E; Mon, 22 Jul 2002 13:12:11 +1000 (EST) Date: Mon, 22 Jul 2002 13:12:11 +1000 From: Edwin Groothuis To: Grant Cooper Cc: freebsd-questions@freebsd.org Subject: Re: log files Message-ID: <20020722031211.GB2730@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Grant Cooper , freebsd-questions@freebsd.org References: <200207212214.g6LMEQxc000099@labs.unixhideout.com> <000001c23109$09c55830$0a01a8c0@athlon> <20020722024119.GA2730@k7.mavetju> <009901c2312c$b5c6ec70$2afececd@TCOOPER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009901c2312c$b5c6ec70$2afececd@TCOOPER> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 21, 2002 at 09:06:00PM -0600, Grant Cooper wrote: > I think I made a boo boo. I deleted all the files from var/log thinking I > would have clean logs. Well, I rebooted but some of the files never > reapeared. I made a back up just in case. man syslogd: For security reasons, syslogd will not append to log files that do not exist; therefore, they must be created manually before running syslogd. So the easiest way is: touch `cat /etc/syslog.conf | awk '{ print $2}' | grep var` and restart syslogd: kill -HUP `cat /var/run/syslogd.pid` > Can I expect any problems in the future? You're not logging anything. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message