From owner-freebsd-questions Wed Aug 18 11:42:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id 10C4B15052; Wed, 18 Aug 1999 11:41:57 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (pix.megared.net.mx [207.249.162.253]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id NAA60290; Wed, 18 Aug 1999 13:42:08 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <006501bee9a9$5b876fa0$d4630a0a@megared.net.mx> From: "Alejandro Ramirez" To: , "Lane Covington, Distance Education/Multi-Media Specilist" Cc: , References: Subject: RE: How to reset the log file in free-bsd. Date: Wed, 18 Aug 1999 13:42:00 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, If you just want to clean up your file without deleting the file or having to kill the process, you coul try the following "cat /dev/null > httpd-access.log" and your file will be 0 length and working. Ales ----- Original Message ----- From: Jesus Rodriguez To: Lane Covington, Distance Education/Multi-Media Specilist Cc: ; Sent: Wednesday, August 18, 1999 1:14 PM Subject: RE: How to reset the log file in free-bsd. > > On 18-Aug-99 Lane Covington, Distance Education/Multi-Media Specilist wrote: > > I have a really large 85meg httpd-access.log file. How do I reset this > > log file after I have moved the file with mv httpd-access.log > > http-access.old and then compressed it. But could not determine how to > > signal free-bsd a process id with the kill -TERM 'cat httpd.pid' to > > start a new file. Did not see any reference to this in the handbooks. > > Could you reply please. > > Lane, Distance Education Tech > > Please, send this kind of questions to freebsd-questions@freebsd.org (included > now with CC). > > Thanks > JesusR. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message