Hi John,
OK, well if I enter this line of code:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
The tally will execute. I don't have to enter this line:
/usr/local/directadmin/dataskq d
So I take that to mean that the cron is executing the dataskq properly every minute, and my problem is that somehow my directadmin_cron file is not putting anything into the task.queue. Any way to test that theory?
I checked the files you recommended. I don't have anything in the resellers list, and I don't have a /usr/local/directadmin/data/users/reseller/ directory. But that doesn't surprise me because all I'm doing is serving my own web site which I set up under admin. I never created any resellers or users.
It seems the problem started when I initially made changes to the directadmin_cron file, but I can't be entirely sure because a few changes all happend fairly close together. Here's what's happened over the past few days in case there are any clues here...
1) I installed MRTG
2) I observed that traffic & connections were being truncated
3) I upped maxclients to 1024, which caused traffic and connections to nearly double.
4) I noticed a huge drop in traffic and performance at 00:10 so I figured it was because the logs were being rotated then (I had nuked webalizer ages ago because it was running 24/7 - I put webalizer=0 into the directadmin.conf file... I did not specify rotate=1 because I figured that was the default). So I edited directadmin_cron to run the tally at 06:10 when traffic was light.
4) Then Apache freaked out on me... was still running but wouldn't serve any processes (I have since determined that this was because the log file was over 2gb - but I didn't know that at the time, so I called tech support at my host who did god knows what to the server trying to fix the problem - very bad idea)
5) Then MRTG wouldn't display any graphs, so I un-installed it and re-installed it. I also rebooted the computer. (I later discovered that the technician modified the DocumentRoot in my httpd.conf file which is why the graphs weren't visible).
So, I'm pretty sure that the logs were rotating properly before this whole little adventure because the bandwidth listed in direct admin was updating every night. But I'm not sure which of the above things has caused my problem.
OK, let me know what you think.
Thank you SO much!
Rebecca