探索,發現,愛好、學習,記錄,分享。
學海無涯,天涯若比鄰,三人行,必有我師。

Directadmin里不能自动刷新用户统计信息的解决办法

1) check for /usr/local/directadmin/data/task.queue
It should be deleted every minute. If it exists, check it’s contents. If there are more than just 1 or 2 lines, then the dataskq is not running.

2) check /var/log/cron (/var/log/syslog on Debian). See if the dataskq is running every minute (logged every minute). If not, try running

chmod 644 /etc/cron.d/directadmin_cron

/sbin/service crond restart

3) make sure crond is running (“cron” on FreeBSD):

ps ax | grep cron

4) try restarting cron: /sbin/service crond restart. Check /var/log/cron and /var/log/messages for possible problems with the /etc/cron.d/directadmin_cron file (/etc/crontab on FreeBSD).

If you dont have crond (rpm based systems) type:

yum -y install vixie-cron
service crond start
chkconfig crond on

5) If all of the above checkout but the task.queue is still not being processed, try running it manually:

/usr/local/directadmin/dataskq d
http://help.directadmin.com/item.php?id=107

版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權
轉載事宜:如需轉載需徵得應允,轉載必須注明來源於本站的信息。
文章名称:《Directadmin里不能自动刷新用户统计信息的解决办法》
文章链接:https://www.thefreesky.com/blog/19554.html
本站資源僅供個人學習交流,請於下載後24小時內刪除,不允許用於商業用途,否則法律問題自行承擔。

評論 抢沙发