After deleting log files, Ubuntu server still saying there is no space
Posted
by
Mark
on Server Fault
See other posts from Server Fault
or by Mark
Published on 2012-06-30T17:37:43Z
Indexed on
2012/06/30
21:18 UTC
Read the original article
Hit count: 186
ubuntu
My Ubuntu server has stopped due to a lack of disk space. I deleted some log files which has grown huge very quickly. But df -h
still shows I have no space left. When I run du -sh /*
I can see that I should have plenty of disk space left after deleting the logs.
I ran lsof +L1
and it brought up two files: /var/log/mail.log
and /var/log/mail.err
. These are two logs I had deleted. I restarted apache, postfix and mysql (mysql wont restart because of lack of disk space, it think) but still df -h
shows no space.
© Server Fault or respective owner