Current time: 11-16-2024, 09:34 AM Hello There, Guest! (LoginRegister)


Post Reply 
disk usage not counting
Author Message
cyber2 Offline
Newbie
*

Posts: 6
Joined: Jul 2009
Reputation: 0
Post: #1
disk usage not counting
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?
(This post was last modified: 08-02-2009 02:31 AM by cyber2.)
08-02-2009 02:20 AM
Find all posts by this user Quote this message in a reply
cyber2 Offline
Newbie
*

Posts: 6
Joined: Jul 2009
Reputation: 0
Post: #2
RE: disk usage not counting
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
08-02-2009 04:05 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #3
RE: disk usage not counting
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
08-02-2009 07:17 PM
Find all posts by this user Quote this message in a reply
cyber2 Offline
Newbie
*

Posts: 6
Joined: Jul 2009
Reputation: 0
Post: #4
RE: disk usage not counting
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.
08-02-2009 08:00 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #5
RE: disk usage not counting
ok u should post this issue in the ticket-thread.
Or better. Can somebody of the mods move this post??
08-03-2009 03:34 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: disk usage not counting
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...don_t_work

Greez BeNe
08-03-2009 06:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)