Results 1 to 22 of 22
-
10-14-2013, 03:36 AM #1Newbie
- Join Date
- Oct 2013
- Posts
- 8
Disk Full of VPS - cPanel /WHM Error
Hi;
When going into cPanel/WHM, I am seeing the following:
The / partition on this server is running out of disk space. 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.
I read some similar posts but there was some differences between their guides and my problem.
I have access to my VPS but don't know how to delete and which files should be deleted.
RegardsLast edited by yusefcity; 10-14-2013 at 03:40 AM. Reason: extra explanations
-
10-14-2013, 03:46 AM #2Temporarily Suspended
- Join Date
- Aug 2013
- Posts
- 224
Disk Filled
How much disk does the VPS have? cPanel/WHM takes lots of space.
-
10-14-2013, 04:02 AM #3Newbie
- Join Date
- Oct 2013
- Posts
- 8
yes,the total space is 500 MB.but I have only 4 webistes hosted which their contents are not more than 20 MB and also installed open vpn.
it seems the disk space should be for logs or tmp but I dont know which files should be removed and which files are not needed.
1)I Rund du -sh * and got below:
4.0K 1194.log
4.0K anaconda-ks.cfg
4.0K ca.crt
28K clien1
4.0K clien1.zip
4.0K client1.crt
4.0K client1.csr
4.0K client1.key
4.0K client.conf
12K cpanel3-skel
4.0K installer.lock
8.0K install.log
4.0K install.log.syslog
4.0K install.sh
136K lzo-2.06-1.el6.rfx.i686.rpm
128K lzo-2.06-1.el6.rfx.x86_64.rpm
432K openvpn-2.2.2-1.el6.rf.i686.rpm
892K openvpn-2.2.2.tar.gz
892K openvpn-2.2.2.tar.gz.1
40K php.ini.new
40K php.ini.orig
112K pkcs11-helper-1.08-1.el6.rf.i686.rpm
116K pkcs11-helper-1.08-1.el6.rf.x86_64.rpm
4.0K public_ftp
8.0K public_html
1.9M rpmbuild
16K rpmforge-release-0.5.2-1.el6.rf.i686.rpm
4.0K server.key
164K tmp
2) I Run cd /root;ls and got below details:
[~]# cd /root;ls
./ install.log.syslog
../ install.sh*
1194.log lzo-2.06-1.el6.rfx.i686.rpm
anaconda-ks.cfg lzo-2.06-1.el6.rfx.x86_64.rpm
.bash_history .MirrorSearch/
.bash_logout .my.cnf
.bash_profile openvpn-2.2.2-1.el6.rf.i686.rpm
.bashrc openvpn-2.2.2.tar.gz
ca.crt openvpn-2.2.2.tar.gz.1
clien1/ php.ini.new
clien1.zip php.ini.orig
client1.crt pkcs11-helper-1.08-1.el6.rf.i686.rpm
client1.csr pkcs11-helper-1.08-1.el6.rf.x86_64.rpm
client1.key public_ftp/
client.conf public_html/
.cpanel/ .rnd
cpanel3-skel/ rpmbuild/
.cpobjcache/ rpmforge-release-0.5.2-1.el6.rf.i686.rpm
.cshrc server.key
.gnupg/ .spamassassin/
.HttpRequest/ .ssh/
installer.lock .tcshrc
install.log tmp/
regards
-
10-14-2013, 04:05 AM #4Web Hosting Evangelist
- Join Date
- Jul 2008
- Posts
- 468
Clook: Fully Managed UK Based Hosting · CloudFlare Optimised Partner!
Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
Shared, Reseller, vServer, Dedicated and Beyond
0845 867 2550 ▸ Sales - Visit our Website
-
10-14-2013, 04:08 AM #5Newbie
- Join Date
- Oct 2013
- Posts
- 8
-
10-14-2013, 04:12 AM #6Temporarily Suspended
- Join Date
- Aug 2013
- Posts
- 224
Only a few hundred MB's of space available, you might need to upgrade your VPS.
-
10-14-2013, 04:16 AM #7Newbie
- Join Date
- Oct 2013
- Posts
- 8
-
10-14-2013, 04:21 AM #8Temporarily Suspended
- Join Date
- Aug 2013
- Posts
- 224
I wouldn't recommend it, because it might kill your operating system.
You can search on Google "how to clean up servers".
-
10-14-2013, 04:23 AM #9Web Hosting Evangelist
- Join Date
- Jul 2008
- Posts
- 468
Assuming your logs are in /var/log, cd to /var/log and run "du -sh".
Clook: Fully Managed UK Based Hosting · CloudFlare Optimised Partner!
Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
Shared, Reseller, vServer, Dedicated and Beyond
0845 867 2550 ▸ Sales - Visit our Website
-
10-14-2013, 04:27 AM #10Newbie
- Join Date
- Oct 2013
- Posts
- 8
-
10-14-2013, 04:46 AM #11Web Hosting Evangelist
- Join Date
- Jul 2008
- Posts
- 468
Sorry, run "du -sh *".
Clook: Fully Managed UK Based Hosting · CloudFlare Optimised Partner!
Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
Shared, Reseller, vServer, Dedicated and Beyond
0845 867 2550 ▸ Sales - Visit our Website
-
10-14-2013, 04:51 AM #12Newbie
- Join Date
- Oct 2013
- Posts
- 8
I got below:
[/var/log]# du -sh *
4.0K anaconda.ifcfg.log
20K anaconda.log
32K anaconda.program.log
108K anaconda.storage.log
56K anaconda.syslog
68K anaconda.xlog
4.0K anaconda.yum.log
25M audit
532K bandwidth
4.0K boot.log
13M btmp
19M btmp-20131001
20M chkservd.log
4.7M cpanel-install.log
128K cron
612K cron-20130922
612K cron-20130929
616K cron-20131006
608K cron-20131013
1.1M dcpumon
28K dmesg
28K dmesg.old
488K dracut.log
16K exim_mainlog
60M exim_mainlog-20130818.gz
69M exim_mainlog-20130825.gz
35M exim_mainlog-20130901.gz
40K exim_mainlog-20130908.gz
1.5G exim_mainlog-20130915
32K exim_mainlog-20130922
36K exim_mainlog-20130929
2.0M exim_mainlog-20131006
52K exim_mainlog-20131013
0 exim_paniclog
136K exim_paniclog-20130818.gz
116K exim_paniclog-20130825.gz
4.0K exim_paniclog-20130901.gz
4.0K exim_paniclog-20130908.gz
50M exim_paniclog-20130915
0 exim_paniclog-20130922
0 exim_paniclog-20130929
4.0K exim_paniclog-20131006
4.0K exim_paniclog-20131013
0 exim_rejectlog
8.0K exim_rejectlog-20130818.gz
8.0K exim_rejectlog-20130825.gz
4.0K exim_rejectlog-20130901.gz
4.0K exim_rejectlog-20130908.gz
1.9M exim_rejectlog-20130915
0 exim_rejectlog-20130922
0 exim_rejectlog-20130929
0 exim_rejectlog-20131006
0 exim_rejectlog-20131013
36K lastlog
152K maillog
40K maillog-20130922
304K maillog-20130929
208K maillog-20131006
1.1M maillog-20131013
388K messages
1.1M messages-20130922
1.7M messages-20130929
868K messages-20131006
4.6M messages-20131013
32K quota_enable.log
120K rkhunter.log
8.0K rkhunter.log.old
5.7M sa
404K secure
3.2M secure-20130922
7.2M secure-20130929
2.8M secure-20131006
9.4M secure-20131013
0 spooler
0 spooler-20130922
0 spooler-20130929
0 spooler-20131006
0 spooler-20131013
0 tallylog
64K wtmp
4.0K xferlog.offset
4.0K xferlog.offsetftpsep
24K yum.log
-
10-14-2013, 05:04 AM #13Web Hosting Evangelist
- Join Date
- Jul 2008
- Posts
- 468
OK, I'd look into compressing the following log file to immediately clear some space:
1.5G exim_mainlog-20130915
gzip /var/log/exim_mainlog-20130915
This should clear anough space to allow cPanel/WHM to work again, though you need to look into better managing your disc space. Clearing out logs (don't just delete them all!) and using logrotate and so on can go a long way to manage this.
If you run MySQL databases on this VPS also, then look through them to ensure you've not got a table somewhere that's running away with all your disc space.Clook: Fully Managed UK Based Hosting · CloudFlare Optimised Partner!
Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
Shared, Reseller, vServer, Dedicated and Beyond
0845 867 2550 ▸ Sales - Visit our Website
-
10-14-2013, 05:09 AM #14Newbie
- Join Date
- Oct 2013
- Posts
- 8
-
10-14-2013, 06:33 AM #15Web Hosting Evangelist
- Join Date
- Jul 2008
- Posts
- 468
Clook: Fully Managed UK Based Hosting · CloudFlare Optimised Partner!
Established 12 Years - 24/7/365 Support (<10m Avg. Response Time)
Shared, Reseller, vServer, Dedicated and Beyond
0845 867 2550 ▸ Sales - Visit our Website
-
10-14-2013, 06:58 AM #16Temporarily Suspended
- Join Date
- Oct 2013
- Posts
- 1
i recommend you to upgrade your vps because 500 mb is too low for cpanel
bytheway have you tried to clean /tmp file?
-
10-14-2013, 12:59 PM #17Web Hosting Master
- Join Date
- Nov 2004
- Posts
- 654
Starting with 11.36, you are required to have at least 1.6GB of free disk space for the daily cPanel update script to run.
As of cPanel & WHM version 11.36, when you upgrade to a new version, necessary new files will be downloaded to a staging location. After the files are downloaded and compatibility checks are complete, the prior version is overwritten. This ensures that a partial upgrade does not break your current install. Because of this procedure, we require 1.6GB of disk space for /usr/local/cpanel before an upgrade, update, or new installation can begin.
So, as others have mentioned, it would be better if you would upgrade your disk space by at least 5GB (you currently have 20GB).
That being said, if your websites only require 20MB, it's a bit weird how your disk got filled up.
Can you please provide the output ofCode:du -h --max-depth=1 /
█ Fusioned - http://www.fusioned.net
█ Enterprise & Semi-Dedicated Hosting | CloudLinux, cPanel, LiteSpeed, Acronis | PHP 5.6, 7.2, 7.3, 7.4 & 8.0
█ Fully Managed SSD KVM VPS & Dedicated Servers | CloudFlare & Acronis Partner | RIPE LIR
-
10-15-2013, 12:35 AM #18Hello World
- Join Date
- Nov 2009
- Location
- /etc/my.cnf
- Posts
- 10,657
I recommending getting your disk space increase by at least 50%
Maybe you should read the recommended partition size: http://docs.cpanel.net/twiki/bin/vie...20partitioningUK Based Proactive Server Management.
Zabbix Enterprise 24/7 Monitoring.
-
10-15-2013, 04:42 AM #19Newbie
- Join Date
- Oct 2013
- Posts
- 8
-
10-15-2013, 10:41 AM #20Hello World
- Join Date
- Nov 2009
- Location
- /etc/my.cnf
- Posts
- 10,657
cPanel is not suited to low disk space or ram environments if you want a control panel for this type of VPS you will need to be looking at Webmin not a fully featured hosting control panel which takes tons of space and you simply do not have that so either increase the disk space or start again with another control panel, You can clean out to save a measly amount of disk space but you'll be having this problem again simply because there's not enough room for everything to go.
UK Based Proactive Server Management.
Zabbix Enterprise 24/7 Monitoring.
-
10-15-2013, 12:51 PM #21Web Hosting Master
- Join Date
- Jan 2012
- Location
- Glasgow, Scotland
- Posts
- 607
Try deleting all your old logs.
██ HostUS - Premium Hosting Made Affordable
██ TEN Worldwide locations spanning USA, Europe & Asia Pacific
██ Own ASN, Own Network, Own IPs - AS7489 & AS25926
-
10-16-2013, 03:47 AM #22Web Hosting Master
- Join Date
- Nov 2005
- Location
- /etc/fstab
- Posts
- 1,342
Check /usr/local/apache/logs
Mellowhost - Providing High Quality Web Hosting Services since 2007
SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
A Hosting Provider with Complete SSD VPS & Shared Hosting.
Similar Threads
-
Disk Full - cPanel Error
By MH-2006 in forum Hosting Security and TechnologyReplies: 10Last Post: 03-12-2012, 01:54 AM -
tmp disk full causing MySQL storage engine error - anything i can do?
By joshh2 in forum Hosting Security and TechnologyReplies: 4Last Post: 09-11-2011, 10:28 AM -
/tmp disk full - Got error 28 from storage engine [1030]
By Lezarwerks in forum Hosting Security and TechnologyReplies: 8Last Post: 01-27-2011, 09:52 AM -
cPanel/WHM/HyperVM saying Disk Space Full?!
By MrJosh in forum Hosting Security and TechnologyReplies: 7Last Post: 05-13-2010, 01:09 AM -
2 GB Ram | 20 GB Disk | 2000 GB BW | cPanel/WHM Linux VPS or Windows VPS | $35/m
By Colohouse in forum VPS Hosting OffersReplies: 0Last Post: 06-07-2009, 09:04 PM