Server stats not working

sifro

Verified User
Joined
Oct 3, 2010
Messages
26
Hello,

i can't get my server stats to work, neither at admin level nor at user level.

For example, if i go here:

http://myip:2222/CMD_ADMIN_STATS

Here's what i get (and that's completely wrong! I have many domains and traffic):

Bandwidth (MB) 0
Disk Space (MB) 0
# of Users 0
# of Resellers 0
# of Domains 0
# of SubDomains 0
POP Email Accounts 0
Email Forwarders 0
Mailing Lists 0
AutoResponders 0
# of MySQL DBs 0
Domain Pointers 0
Ftp Accounts 0
Load Average 0.18, 0.07, 0.01

Usage Stats for venet0:0
Received 1.8 GB
Transmitted 2.0 GB

Filesystem Size Used Avail Use% Mounted on
/dev/simfs 40G 22G 19G 53% /
varlock 896M 0 896M 0% /var/lock
varrun 896M 64K 896M 1% /var/run

I am running Ubuntu Server.

I have previously had som problems with cron, but now i've manually installed it... maybe i'm missing something in the crontab file?
 
The cron runs nightly at 12am.

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

Then make sure the cron is running and there is either a directadmin cron file in /etc/cron.d/directadmin or the lines are in /etc/crontab
 
In the crontab file i had this line to process the queue:
* * * * * root /usr/local/directadmin/dataskq


i dont know where to look for the other line you gave me, so i just added it in the crontab:
0 0 * * * echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue


Is this ok?
 
Back
Top