Stuff…

I know I will forget.

Stuff… header image 2

Regenerating plesk webstats

March 19th, 2010 · No Comments

Had a problem with webstats on some sites after migrating the sites from a Linux Plesk 8.x server to a Linux Plesk 9.x server.

First problem was it appears that a plesk-stat directory was in the httpdocs directory and empty, which, caused a problem for some reason.  Deleted this and re-ran the stats program which seemed to help, however, only had the stats for the past day.

Following the KB article:

re-ran the stats program for the access_logs:

[home]# cd /var/www/vhosts/DOMAIN/statisticsstatistics]#
[statistics]# cp -rp webstat webstat.back
[statistics]# rm -f webstat/webalizer.current
[statistics]# /usr/bin/webalizer -F clf -p -c ../conf/webalizer.conf -n DOMAIN -o ./webstat -D /usr/local/psa/var/lib/webalizer/webalizer.cache -N 50 logs/access_log.processed
[statistics]# /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=DOMAIN

Missed a step from the KB article, however, the stats had generated fine.

~# cd /var/www/vhosts/DOMAIN/statistics
statistics]#

Tags: Control Panels · Linux · Operating System

0 responses so far ↓

  • There are no comments yet...

Leave a Comment