From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 17:20:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A35EA10656A4 for ; Thu, 13 Jan 2011 17:20:35 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D92D8FC13 for ; Thu, 13 Jan 2011 17:20:34 +0000 (UTC) Received: by ewy24 with SMTP id 24so962438ewy.13 for ; Thu, 13 Jan 2011 09:20:34 -0800 (PST) Received: by 10.213.36.2 with SMTP id r2mr2516700ebd.51.1294939234148; Thu, 13 Jan 2011 09:20:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Thu, 13 Jan 2011 09:20:13 -0800 (PST) In-Reply-To: References: <000301cbb307$49788810$dc699830$@com> From: Chris Brennan Date: Thu, 13 Jan 2011 12:20:13 -0500 Message-ID: To: Swe Gill Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 17:20:35 -0000 On Thu, Jan 13, 2011 at 12:00 PM, Swe Gill wrote: > Hi Chris > > I am applying these commands as root.... but no help... > > What's the size of the log file? ls -lsha /var/log/ | grep modsec2 I'm not sure but I think you need *SOME* free space to delete. If that is the case, move the log to a new device, then delete it from the target device. Alternatively you could compress the log and target it to a new device, giving you at least a backup.