• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 881
  • Last Modified:

WHM account functions

Hello!

I have been trying to use the account functions in the WHM panel but there seem to be some thing wrong please if you can fiqure out the issue and fix it as soon as possible I have clients pending to edit their accounts but unfortunatly I can't because the option is not enabled. I am running red hat, I tried to access it using putty and it seems that I need to clean up /usr partition on the server which is 100% full therefore the WHM will not work correctly.

root@server [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.9G 278M 7.3G 4% /
/dev/sda1 122M 18M 98M 16% /boot
none 506M 0 506M 0% /dev/shm
/dev/sda8 201G 7.6G 183G 4% /home
/dev/sda6 1012M 34M 927M 4% /tmp
/dev/sda3 7.9G 7.5G 0 100% /usr
/dev/sda2 9.9G 1.3G 8.1G 14% /var
/tmp 1012M 34M 927M 4% /var/tmp
root@server [~]# du -h --max-depth=1
12K ./cpanel3-skel
4.0K ./.ssh
12K ./.cpobjcache
4.0K ./public_ftp
308K ./.spamassassin
8.0K ./public_html
3.0M ./tmp
28K ./.gnupg
684K ./.MirrorSearch
96K ./.cpanel
7.8M .
root@server [~]#

I need to clean it any idea how can I do that ? I am weak in putty and shell commands please help me out since I have clients pending.
0
wrefai
Asked:
wrefai
  • 2
  • 2
1 Solution
 
SiridiviCommented:
Quick temporary solution:

Temporarily move non-critical files, for example:

Shell in and create a temp directory to move files to:

mkdir /temp_stuff

Then move the non-critical files there

mv /usr/share /temp_stuff

That should free up about 500 megs. Now your users should be able to edit their accounts while you figure out what is eating up so much space and make adjustments.

Once you've corrected the problem, move them back.

0
 
wrefaiAuthor Commented:
Thank you for your reply, bu this is just a temp solution please I need a permanent solution... Thanks!
0
 
SiridiviCommented:
You need to make your /usr partition larger.

Really, nothing should be writing to this partition unless a program is installing binaries, man pages, or other docs there related to programs available on the system. You need to find out what is writing there that is continuing to eat up space and determine if it should be written to a more conventional location. See http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/usr.html for more info.

For example. User files are typically stored in the /home/<user> directory. On my server, which is also using WHM, all user files are stored in their own home directory, not the /usr partition. If you want to store them on the /usr partition, feel free, but you will have to give that partition more space, and lots of it for future growth.

This is not a task that you can do while the machine is running. You will need to shutdown your machine, boot from a Live CD and run the gparted tool. This will allow you to modify the size of your partitions. It's a graphical tool and quite intuitive, but you can also read up on it at http://gparted.sourceforge.net/larry/resize/resizing.htm
0
 
wrefaiAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now