My /usr partition is full - what do i do?

Mar 27, 2004
17
0
151
Israel
Heya Folks,
I'm having a UNIX dedicated server runnin Red Hat with cPanel and WHM and whenever I try to add a new account or modify my accounts I get the following:
The /usr, /, or /var partition on this server is running out of disk space. This WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.
Now I've got no idea what kinda files are good to delete or not and how exactly I access the partition - I don't believe FTP could get me there as I tried login with my root user/pass but it gave me login invalid..

I got no idea of how to use Telnet but anyways when I try to connect to my server's IP it says
Could not open connection to the host, on port 23: Connect Failed

Anyways.. do u guys have any idea how I can access the partition and if I'll manage to what files are safe to delete (I don't mind killin' some of my logs - they are hugeeee, also any temporairy files u know about that are good to go).

ohh yeah the shell in my cpanel is also turned off and I got no idea how to turn it back on

thanks a lot,
- Ben Bond
 

JapAniManga.ch

Well-Known Member
Aug 11, 2001
88
0
306
Switzerland
Go to faq.cpanel.net and Search for '' How do I clear a full partition ? '' or when you have a Managed Server from Burst make a Ticket and they will make it for you !
 
Mar 27, 2004
17
0
151
Israel
Thanks a lot folks I used SSH and I managed to skab00m a 2 GB log but when I check out the space usage with WHM it shows I only cleared 130 mb and that I'm using over 3 gigs of space in the /usr - I ran the "du -sh *" command on /usr and it showed me i'm using only 1.2gigs - now something is freakish here - u guys got any ideas?
 

JapAniManga.ch

Well-Known Member
Aug 11, 2001
88
0
306
Switzerland
Originally posted by Dragons Master
Thanks a lot folks I used SSH and I managed to skab00m a 2 GB log but when I check out the space usage with WHM it shows I only cleared 130 mb and that I'm using over 3 gigs of space in the /usr - I ran the "du -sh *" command on /usr and it showed me i'm using only 1.2gigs - now something is freakish here - u guys got any ideas?
maybe a rerun of quota will help !
 
Mar 27, 2004
17
0
151
Israel
wheee!! Once again you're the man!!
I didn't know how to do it so I went to the interactive knowledge base and chose a "all users quotas show 0" so it would run the FixQuota and it worked - thank you so so much!!
 
Jun 10, 2005
18
1
153
hi!

I am resolved this problem!

command in shell

mkdir /home/pasta-usr
mkdir /home/pasta-usr/domlogs
service httpd stop (recomended)
mv /usr/local/apache/domlogs/* /home/pasta-usr/domlogs
rm -rf /usr/local/apache/domlogs
ln -s /home/pasta-usr/domlogs /usr/local/apache/domlogs
service httpd start

;-)
Att,
Leonardo Gomes
HOSTBRASIL.NET