Usage showing 0.00, tally files not being created

Ash

Verified User
Joined
Aug 22, 2007
Messages
6
Hello all, me again...

I'm sure this is a simple issue and I've just missed something here, but after spending the best part of a week googling around and trying just about every solution posted to other people who have had similar problems, I'm yet to resolve it.

Basically, all usage figures [diskspace and bandwidth] on my VPS are showing up as 0.00.

*I know that quota is set up and working, according to this article. Running quota check shows the used columns is reporting the correct disk usage
*I've tried running echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue , but even after 48 hours, and even after rebooting, nothing happens whatsoever
*It seems that when I create accounts, the .tally files are not being created. Indeed, running locate bandwidth.tally from the shell prompt shows no results.

Has anyone else had this issue, and have they found the fix?

Thanks to all in advance,
Ashley.
 
Last edited:
I've also checked with my VPS provider, and quota is indeed enabled and running on the machine. [in fact, repquota is showing the correct and normal results table] The OS is Ubuntu Dapper / 6.10.
 
Do you have any files in /var/log/httpd/domains? If yes, run this and post an output here:
Code:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
 
When youy run it, note that it can take up to a minute before anything in the task.queue can run; be sure to wait long enough for it to start, and finish.

Jeff
 
Thank you Martynas and Jeff for your responses, here's the output:
Code:
root@[hostname]:/var/log/httpd/domains# echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
root@[hostname]:/var/log/httpd/domains# /usr/local/directadmin/dataskq d
In debug mode
Debug set to level 10
root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
staring queue
sh: /usr/bin/crontab: No such file or directory
Tally User testing Begin
Tally User testing Complete
Tally User admin Begin
Tally User admin Complete
done queue

I notice in there the line "sh: /usr/bin/crontab: No such file or directory"... could a missing crontab be to blame?

Also, after running the command, my admin user as well as the testing user [created yesterday] are now showing usage totals, but the rest of my users remain at zero. Could it be that something I have tried yesterday only affected the most recent user?

Thank you very much all :)
 
crontab in my system is located at /usr/bin/crontab.

If it's not in your system, then you need to find it:
Code:
$ whereis crontab
and create a link to it from /usr/bin/crontab.

Note that you need to link to the binary, not to any other file.

Jeff
 
Thanks again Jeff,

It turns out cron wasn't even installed on my system - it is now. The only thing to do now is wait I guess...

Is it normal for the output of
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
to only show admin and your latest user? Because it's only showing my admin user and one I created on Sunday, and their tallies are being updated, but nobody elses...
 
Back
Top