Solved

WHM account functions

Posted on 2009-07-16
4
862 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
As a long-time IT Professional, the most important skill I have developed and consider to be my most valuable tool is Effective Troubleshooting. Step through my problem-solving procedure in this 10-step guide adapted from The Universal Troubleshooti…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now