Solved

WHM account functions

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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.

914 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

12 Experts available now in Live!

Get 1:1 Help Now