Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

WHM account functions

Posted on 2009-07-16
4
868 Views
Last Modified: 2013-12-16
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
Comment
Question by:wrefai
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:Siridivi
ID: 24879357
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
 

Author Comment

by:wrefai
ID: 24892979
Thank you for your reply, bu this is just a temp solution please I need a permanent solution... Thanks!
0
 
LVL 3

Accepted Solution

by:
Siridivi earned 500 total points
ID: 24898089
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
 

Author Closing Comment

by:wrefai
ID: 31604318
Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How can you create a game plan that lets you focus on special projects instead of running from cubicle to cubicle every day and feeling like you’ve accomplished nothing? Try these strategies for prioritizing your tasks, offloading what you can, and …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question