ispCP - Board - Support
disk usage not counting - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: disk usage not counting (/thread-7353.html)



disk usage not counting - cyber2 - 08-02-2009 02:20 AM

Disk usage for users isnt counting. It is always 0 mb. CentOs 5.3 & ispcp 1.0 release. Any ideas?
Which script is responsible for disk usage count?


RE: disk usage not counting - cyber2 - 08-02-2009 04:05 PM

Hmm,

I found the script itself Smile
But why not put it in the crontab during installing process?

/var/www/ispcp/engine/quota/ispcp-dsk-quota


RE: disk usage not counting - MasterTH - 08-02-2009 07:17 PM

normally all scripts that are responsible are put it in the crontab.
take a look in /etc/cron.d/ispcp maybe theres an issue with installing ispcp in centos


RE: disk usage not counting - cyber2 - 08-02-2009 08:00 PM

Thank you for your reply.
But seems variables {TRAFF_ROOT_DIR} and others not working in crontab.

cat /var/log/cron
Quote:Aug 2 04:45:01 km22804-03 crond[13440]: (root) CMD ({TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log)
Aug 2 04:50:01 km22804-03 crond[13784]: (root) CMD (/usr/lib/sa/sa1 1 1)
Aug 2 05:00:01 km22804-03 crond[14181]: (root) CMD ( {TOOLS_ROOT_DIR}/ispcpphptemp.sh >/dev/null 2>&1)
Aug 2 05:00:01 km22804-03 crond[14184]: (root) CMD ({TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log)
Aug 2 05:00:01 km22804-03 crond[14188]: (root) CMD ({TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log)

In any case, I changed them to absolute paths and it works.
Once again, thank you.


RE: disk usage not counting - MasterTH - 08-03-2009 03:34 AM

ok u should post this issue in the ticket-thread.
Or better. Can somebody of the mods move this post??


RE: disk usage not counting - BeNe - 08-03-2009 06:37 PM

Quote:Can somebody of the mods move this post??
Of course - but lets first collect some infos.

Is your complete Crontab wrong or only THIS entry ?
RealServer or vServer ?
Here is crontab --> http://www.isp-control.net/documentation/frequently_asked_questions/why_do_the_cronjobs_statistics_backups_etc._don_t_work

Greez BeNe