Swe Gill writes:
> Hi Peg
>
> Thanks for your help by applying "ls -lao". I get following result
>
> -rw--- 1 root wheelsappnd 8307655937 Jan 13 10:45 debug.log
> -rw--- 1 root wheelsappnd 15415 Oct 2 2009 dmesg.today
> -rw-r--r-- 1 root wheel-
On Sat, 15 Jan 2011, Ian Smith wrote:
> On Sat, 15 Jan 2011, per...@pluto.rain.com wrote:
[..]
> > Last I knew having a file open, even for writing, was no protection
> > against its last link being removed. The _inode_ won't go away
> > until the last handle is closed, but the _directory e
On Sat, 15 Jan 2011, per...@pluto.rain.com wrote:
> Ian Smith wrote:
>
> > Swe, I suspect the reason you can't just delete these files is
> > likely because something has them open for writing, and the system
> > won't let you remove such files, naturally enough.
>
> Really? Must be a fa
Ian Smith wrote:
> Swe, I suspect the reason you can't just delete these files is
> likely because something has them open for writing, and the system
> won't let you remove such files, naturally enough.
Really? Must be a fairly recent change -- and IMO not necessarily
a good one. For one thin
In freebsd-questions Digest, Vol 345, Issue 9, Message: 10
On Thu, 13 Jan 2011 23:35:26 +0100 Polytropon wrote:
> On Thu, 13 Jan 2011 23:08:33 +0100, Swe Gill wrote:
> > That is the problem. One file sizes upto 50GB and other 3 GB...
> >
> > 52872944 -rw-rw 1 root wheel 50G Jan
>> ... I believe rm (-f) still requires *SOME* free space on a device
>> to delete something. That being said, do you have more then 50G
>> free elsewhere on the system? Say /home (/usr/home)? If you do, mv
>> the file from /var/log to /usr/home. This would effectively delete
>> it from /var/log an
Chris Brennan wrote:
> ... I believe rm (-f) still requires *SOME* free space on a device
> to delete something. That being said, do you have more then 50G
> free elsewhere on the system? Say /home (/usr/home)? If you do, mv
> the file from /var/log to /usr/home. This would effectively delete
> i
On Thu, 13 Jan 2011 23:08:33 +0100, Swe Gill wrote:
> 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
>
On Thu, Jan 13, 2011 at 5:08 PM, Swe Gill wrote:
> 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
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 s
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 n
Hi Chris
I am applying these commands as root but no help...
Regards
/S
On Thu, Jan 13, 2011 at 5:44 PM, Chris Brennan wrote:
> On Thu, Jan 13, 2011 at 5:03 AM, Swe Gill wrote:
>
>> I just don't understand why I am unable to remove the files...
>>
>
> Pass 'whoami' at the command prompt.
On Thu, Jan 13, 2011 at 5:03 AM, Swe Gill wrote:
> I just don't understand why I am unable to remove the files...
>
Pass 'whoami' at the command prompt. Are you root? If not, part of the wheel
group?
hth/c-
___
freebsd-questions@freebsd.org mailing li
Hi Peg
Thanks for your help by applying "ls -lao". I get following result
-rw--- 1 root wheelsappnd 8307655937 Jan 13 10:45 debug.log
-rw--- 1 root wheelsappnd 15415 Oct 2 2009 dmesg.today
-rw-r--r-- 1 root wheel-0 Oct 2 2009
httpd-a
14 matches
Mail list logo