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 <[email protected]> wrote:

> On Thu, Jan 13, 2011 at 12:00 PM, Swe Gill <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to