Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th October 2007, 17:03
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default Disk stats in ispconfig control panel doesn't match [SOLVED]

Hi Falko and Till

In ispconfig build in stats is lower number than du command returns .. for example:

Web 101:
Disk space: 400 MB
Used: 178.96M

/web 52M
/user 840K
/log 2.4M
/cgi-bin 4.0K
/ssl 4.0K
/phptmp 4.0K
/backup 74M
/synchro 48M
DB::MySQL 978.8k

and

# du -sh /var/www/web101
297M /var/www/web101

# du -sh /var/www/web101/*
0 /var/www/web101/Maildir
74M /var/www/web101/backup
4.0K /var/www/web101/cgi-bin
2.4M /var/www/web101/log
4.0K /var/www/web101/phptmp
4.0K /var/www/web101/ssl
48M /var/www/web101/synchro
120M /var/www/web101/user
52M /var/www/web101/web

The user directory contains a lot of emails and ispconfig stats doesn't reflect to this ..

Last edited by SupuS; 8th October 2007 at 22:09.
Reply With Quote
Sponsored Links
  #2  
Old 8th October 2007, 18:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Please have a look here:

http://www.howtoforge.com/forums/sho...01&postcount=2
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th October 2007, 22:04
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default

Thanx for help till it works .. for others here is little howto

On my ubuntu box I used visudo for adding this line to sudoers:

admispconfig ALL=(ALL) NOPASSWD: /usr/bin/du *

and set this line like:

$go_info["server"]["sudo_du_enabled"] = true;

in file /home/admispconfig/ispconfig/lib/config.inc.php

and stats are corect
Reply With Quote
The Following User Says Thank You to SupuS For This Useful Post:
till (8th October 2007)
  #4  
Old 15th October 2007, 14:44
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 262
Thanks: 63
Thanked 13 Times in 8 Posts
Question

hi,

I'm modified
/home/admispconfig/ispconfig/lib/config.inc.php
and
sudoers files

how to update the statisticshow to update the statistics
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
  #5  
Old 15th October 2007, 20:03
Tripple Tripple is offline
Senior Member
 
Join Date: Jul 2007
Posts: 114
Thanks: 7
Thanked 3 Times in 3 Posts
 
Default

# /etc/init.d/ispconfig_server restart
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46
ispconfig stats dont work robotny Installation/Configuration 7 17th December 2006 19:19
Disk Full, temp files in ISPConfig ecorona Installation/Configuration 2 28th March 2006 02:15
Webmin docs missing namit Server Operation 11 5th January 2006 10:51
After ISPConfig installed - Disk Partition sushestvo Installation/Configuration 4 12th October 2005 15:39


All times are GMT +2. The time now is 05:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.