Posts: 16,670
Points: 3,081.5
Bank: 1,851,990.5
Total Points: 1,855,072.0 Donate
Join Date: Mar 2006
Location: Philippines
Rep Power: 10
How To Clean Broken Analog and Webalizer Stats -
09-11-2006, 02:58 AM
first of all logs are saved in your local paths if username is weblord
/home/weblord/tmp/analog/*
/home/weblord/tmp/webalizer/*
so if you want it clean just issue change to those directories like
cd /home/weblord/tmp/analog/
then issue command: rm -rf * - be careful with this command and make sure before issuing it you're in the right path, it means it will remove files without asking a question.
change to your webalizer path
cd /home/weblord/tmp/webalizer/
these are important if you're conserving web space
example:
cd /home/weblord/tmp/analog/
rm -rf *
cd /home/weblord/tmp/webalizer/
rm -rf *
to generate stats for it do this command
/usr/local/cpanel/cpanellogd weblord
making sure you replace "weblord" with your actual userid