Article ID: 119526, created on Jan 8, 2014, last review on May 9, 2014

  • Applies to:
  • H-Sphere 3.6.2

Symptoms

Statistic should calculated for the previous months.

Resolution

  1. Relocate all files from "D:\hshome\username\DomainName.com\awstats" to another location
  2. Merged all logs into one file:

    C:\>"C:\Program Files\HSphere\3rdparty\Perl\bin\perl.exe" "C:\Program Files\HSphere\3rdparty\AWStats\tools\logresolvemerge.pl" D:\hshome\username\logs\DomainName.com\*.* > D:\hshome\username\logs\DomainName.com\merge.log  
    
  3. Corrected config file awstat.DomainName.com in C:\Program Files\HSphere\3rdparty\AWStats\awstat.DomainName.com

    --LogFile="d:\hshome\webdeco0\logs\victoronto.com\ex%YY-23%MM-23%DD-23.log"
    ++LogFile="D:\hshome\username\logs\DomainName.com\merge.log"   
    
  4. Run AWstat:

    C:\>"C:\Program Files\HSphere\3rdparty\Perl\bin\Perl.exe" "C:\Program Files\HSphere\3rdparty\AWStats\awstats.pl" -update -config=DomainName.com -configdir="C:\Program files\HSphere\3rdparty\AWStats"
    
  5. Relocate files from step 1

  6. Revert changes from step 3

e5eac925e853cc7ef3f6055683c98fbb 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF