Ian Smith smi...@nimnet.asn.au 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
On Sat, 15 Jan 2011, per...@pluto.rain.com wrote:
Ian Smith smi...@nimnet.asn.au 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?
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 entry_
Swe Gill sweg...@gmail.com 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
Chris Brennan xa...@xaerolimit.net 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
... 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 and free up
In freebsd-questions Digest, Vol 345, Issue 9, Message: 10
On Thu, 13 Jan 2011 23:35:26 +0100 Polytropon free...@edvax.de wrote:
On Thu, 13 Jan 2011 23:08:33 +0100, Swe Gill sweg...@gmail.com wrote:
That is the problem. One file sizes upto 50GB and other 3 GB...
52872944 -rw-rw
1 root wheel53961237001 Jan 13 09:22
httpd-modsec2_audit.log
-rw-rw 1 root wheel 3396921421 Jan 13 09:22
httpd-modsec2_debug.log
fbsdserver# rm httpd-modsec2_debug.log
rm: httpd-modsec2_debug.log: Operation not permitted
fbsdserver# rm -f httpd-modsec2_debug.log
rm: httpd
-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Swe Gill
Sent: 13 January 2011 09:02
To: freebsd-questions@freebsd.org
Subject: rm: httpd-modsec2_debug.log: Operation not permitted
fbsdserver# rm httpd-modsec2_debug.log
rm: httpd-modsec2_debug.log
On Thu, Jan 13, 2011 at 5:03 AM, Swe Gill sweg...@gmail.com 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-
___
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 xa...@xaerolimit.net wrote:
On Thu, Jan 13, 2011 at 5:03 AM, Swe Gill sweg...@gmail.com wrote:
I just don't understand why I am unable to remove the files...
Pass
On Thu, Jan 13, 2011 at 12:00 PM, Swe Gill sweg...@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
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
On Thu, Jan 13, 2011 at 5:08 PM, Swe Gill sweg...@gmail.com 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
On Thu, 13 Jan 2011 23:08:33 +0100, Swe Gill sweg...@gmail.com 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
15 matches
Mail list logo