Hi, I've searched this problem and i saw it's very common problem, but sign, I didn't find solution to my problem.
E.g. my situation: i have domain "xy.com" which statistics update e.g. like this:
- 19th November - statistics updated
- 20th November - statistics updated
- 21st Novemeber - no statistics, all values zero
end so on. I've seen this on many websites, few days is ok, maybe whole month, then few days nothing, then again it happens and so on in circle. Problem is that this doesn't happen to all domains in the same day (for some domains i can see statistics for current date, and some of them don't have them, very weird indeed).
Firstly I've checked latest article which i got trough email, and it's this one.
http://kb.parallels.com/en/115166
This directory doesn't exist on my server, this is my /etc/psa/psa.conf file:
Output of:
I've also changed value in /etc/awstats/awstats.conf.local (LogFormat) as suggested here:
http://forum.parallels.com/showthread.php?t=107751
- i changed before in /etc/awstats/awstats.conf but there is no difference, i guess something is wrong (log format was 4 before)
Any suggestions what to do? I've read that there are some problems with file linking and updates and some people solved their problems with creating new directories and doing symlink.
EDIT:
There is no ".swsoft" extension at the end, so i guess this this awstats are not the ones who came with plesk it self, probably installed manually from some other "admin". Could this be the problem?
E.g. my situation: i have domain "xy.com" which statistics update e.g. like this:
- 19th November - statistics updated
- 20th November - statistics updated
- 21st Novemeber - no statistics, all values zero
end so on. I've seen this on many websites, few days is ok, maybe whole month, then few days nothing, then again it happens and so on in circle. Problem is that this doesn't happen to all domains in the same day (for some domains i can see statistics for current date, and some of them don't have them, very weird indeed).
Firstly I've checked latest article which i got trough email, and it's this one.
http://kb.parallels.com/en/115166
# cat /usr/local/psa/version
11.0.9 Debian 6.0 110120608.16
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select * from upgrade_history"
+---------------------+--------------+------------+
| upgrade_date | version_info | db_version |
+---------------------+--------------+------------+
| 2012-02-26 17:38:22 | 10.4.4 | 10.4.4 |
| 2012-02-26 17:38:24 | 10.4.4 | 10.4.4 |
| 2012-05-26 09:50:17 | 10.4.4 | 10.4.4 |
| 2012-07-22 05:14:16 | 10.4.4 | 10.4.4 |
| 2012-07-22 21:05:19 | 10.4.4 | 10.4.4 |
| 2012-07-22 22:01:39 | 11.0.9 | 11.0.9 |
| 2012-07-22 22:08:48 | 11.0.9 | 11.0.9 |
| 2012-07-22 22:19:17 | 11.0.9 | 11.0.9 |
| 2012-07-28 12:47:09 | 11.0.9 | 11.0.9 |
| 2012-07-28 12:53:17 | 11.0.9 | 11.0.9 |
| 2012-08-15 04:48:21 | 11.0.9 | 11.0.9 |
| 2012-09-13 11:30:04 | 11.0.9 | 11.0.9 |
| 2012-09-16 04:57:34 | 11.0.9 | 11.0.9 |
| 2012-09-16 12:08:50 | 11.0.9 | 11.0.9 |
| 2012-10-02 05:11:57 | 11.0.9 | 11.0.9
Resolution
Change the AWSTATS_BIN_D value from /srv/www/cgi-bin to /srv/www/cgi-bin/awstats.
This directory doesn't exist on my server, this is my /etc/psa/psa.conf file:
# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /usr/lib/cgi-bin
AWSTATS_TOOLS_D /usr/share/awstats/tools
AWSTATS_DOC_D /usr/share/awstats
Output of:
# locate awstats.pl
/usr/lib/cgi-bin/awstats.pl
# locate awstats_buildstaticpages.pl
/usr/share/awstats/tools/awstats_buildstaticpages.pl
I've also changed value in /etc/awstats/awstats.conf.local (LogFormat) as suggested here:
http://forum.parallels.com/showthread.php?t=107751
- i changed before in /etc/awstats/awstats.conf but there is no difference, i guess something is wrong (log format was 4 before)
Any suggestions what to do? I've read that there are some problems with file linking and updates and some people solved their problems with creating new directories and doing symlink.
EDIT:
# aptitude show awstats
Package: awstats
State: installed
Automatically installed: no
Version: 6.9.5~dfsg-5
There is no ".swsoft" extension at the end, so i guess this this awstats are not the ones who came with plesk it self, probably installed manually from some other "admin". Could this be the problem?
# aptitude show psa-awstats-configurator
Package: psa-awstats-configurator
New: yes
State: installed
Automatically installed: no
Version: 11.0.9-debian6.0.build110120606.19
Priority: extra
Section: non-free/net
Maintainer: Parallels <[email protected]>
Uncompressed Size: 61.4 k
Depends: plesk-base (>= 11.0.9), awstats
Description: Parallels Panel v11.0.9 awstats configurator
Parallels Panel configurator for awstats statistics
Last edited: