Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 23:08:33 +0100
From:      Swe Gill <swegill@gmail.com>
To:        Chris Brennan <xaero@xaerolimit.net>
Cc:        Pegasus Mc Cleaft <ken@mthelicon.com>, freebsd-questions@freebsd.org
Subject:   Re: httpd-modsec2_debug.log: Operation not permitted
Message-ID:  <AANLkTimkY0mNB%2BDyX0kd_7KxfoPy2ccUTAH361LLQoBa@mail.gmail.com>
In-Reply-To: <AANLkTi=ume7fwpV91VuzCMkv5krVhdAdGjO6Wb%2B6AJL3@mail.gmail.com>
References:  <AANLkTimk-EXkEKQ80QVBg5utpbt3SU1LK_eAvSfk6Skt@mail.gmail.com> <000301cbb307$49788810$dc699830$@com> <AANLkTik%2Bsb96kA=R8Bv5uSSc7ZeC-JSDYJb9%2BQhQ=oE5@mail.gmail.com> <AANLkTin4-BwqtaxC1Qy0dABKOGj4Y5XyjM7SiDmSSkeT@mail.gmail.com> <AANLkTi=qMBswOhgJH5=uucHcXH7LwrtwZHSz_pTdJF7O@mail.gmail.com> <AANLkTi=ume7fwpV91VuzCMkv5krVhdAdGjO6Wb%2B6AJL3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That is the problem. One file sizes upto 50GB and other 3 GB...

 52872944 -rw-rw----   1 root  wheel      50G Jan 13 22:51
httpd-modsec2_audit.log
  3320928 -rw-rw----   1 root  wheel     3.2G Jan 13 22:51
httpd-modsec2_debug.log

I am just standing nowhere to remove the files....

have tried by setting flags, changing modes.... all as a root but no luck
yet...

Any help?

/S

On Thu, Jan 13, 2011 at 6:20 PM, Chris Brennan <xaero@xaerolimit.net> wrote:

> On Thu, Jan 13, 2011 at 12:00 PM, Swe Gill <swegill@gmail.com> 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.
>



-- 
With best regards

/S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimkY0mNB%2BDyX0kd_7KxfoPy2ccUTAH361LLQoBa>