I have a problem with awstats. The problem is well known!!! I already read a lot about it! I checked all the threads in this forum! I already read the KB articles about it... for example: http://kb.odin.com/en/5550
I sent letters to the operators at Parallels and I also checked other sites on the web. There are scripts in perl I can download......
I also made a little investigation because I felt that I am on my own AGAIN!!!
I tried the scripts. I checked the configuration of my server. I checked the version number of awstats.
I can make the previous months stats with a script written by smart guys or by my hand but it does nothing, because next time the statistics process runs it deletes all the directories and files in the statistics/webstat folder.
I give a try. I copied the current folder (2009-07) and rename it to 2009-06. I also add the lines to the nav.html to get the new month in the combobox on the top of the awstats page. It is cool. Working fine. Then I run the daily process for one domain:
/opt/psa/admin/sbin/statistics --calculate-one --domain-name=DOMAIN_NAME
and HOPP it deletes the new folder I made by my hand and it creates a new nav.html with only the current month.
It means:
- awstats did the task I got the result from the log files
- but the /opt/psa/admin/sbin/statistics command deleted everything and created the current month
I do not really understand this. If the daily process will delete everything in that folder than what should I do? Run the process after the daily stat proc to reproduce the previous month stats every day?
It is a joke!
I know that there are a lot of smart guys here. Let's try to figure out something! I think the problem is with the /opt/psa/admin/sbin/statistics command because it deletes the already made folders and stats.
I will continue digging. If I will find something I will post it here.
Please post your opinion about it! Thank you in advanced.
Plesk 9.2.1 Debian 4.0 Awstats 6.5
I sent letters to the operators at Parallels and I also checked other sites on the web. There are scripts in perl I can download......
I also made a little investigation because I felt that I am on my own AGAIN!!!
I tried the scripts. I checked the configuration of my server. I checked the version number of awstats.
I can make the previous months stats with a script written by smart guys or by my hand but it does nothing, because next time the statistics process runs it deletes all the directories and files in the statistics/webstat folder.
I give a try. I copied the current folder (2009-07) and rename it to 2009-06. I also add the lines to the nav.html to get the new month in the combobox on the top of the awstats page. It is cool. Working fine. Then I run the daily process for one domain:
/opt/psa/admin/sbin/statistics --calculate-one --domain-name=DOMAIN_NAME
and HOPP it deletes the new folder I made by my hand and it creates a new nav.html with only the current month.
It means:
- awstats did the task I got the result from the log files
- but the /opt/psa/admin/sbin/statistics command deleted everything and created the current month
I do not really understand this. If the daily process will delete everything in that folder than what should I do? Run the process after the daily stat proc to reproduce the previous month stats every day?
It is a joke!
I know that there are a lot of smart guys here. Let's try to figure out something! I think the problem is with the /opt/psa/admin/sbin/statistics command because it deletes the already made folders and stats.
I will continue digging. If I will find something I will post it here.
Please post your opinion about it! Thank you in advanced.
Plesk 9.2.1 Debian 4.0 Awstats 6.5