Applicable to:
- Plesk Onyx for Windows
Symptoms
-
Statistics is not calculated by the daily webstat task. Errors similar to the following are found in
%plesk_dir%admin\logs\php_error.log
:PLESK_INFO: The system cannot find the file specified. (Error code 2)
at RegQueryValueEx valueName=WebalizerPath - Webalizer is not installed, as can be seen in Tools & Settings > Server Components.
-
WebalizerPath does not exist as a registry property in
HKLM:\SOFTWARE\WOW6432Node\PLESK\PSA Config\Config\
:Checking via PowerShellPS Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\PLESK\PSA Config\Config' WebalizerPath
Get-ItemProperty : Property WebalizerPath does not exist at path HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PLESK\PSA
Config\Config.
At line:1 char:1
+ Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\PLESK\PSA Config\Config\ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (WebalizerPath:String) [Get-ItemProperty], PSArgumentException
+ FullyQualifiedErrorId : System.Management.Automation.PSArgumentException,Microsoft.PowerShell.Commands.GetItemPr
opertyCommand
Cause
Webalizer remains as the web statistics engine in a website configuration even after removal. It is a known Plesk bug with ID PPPM-9887, which is planned to be fixed in one of the future product updates.
Resolution
Force configure all domains to use AWStats:
-
Run PowerShell as Administrator and execute the following query:
PS plesk db -Ne"select name from domains where htype='vrt_hst'" | % { if ($_) { plesk bin site -u $_ -webstat awstats } }
-
Wait for the daily job to execute again or use the instructions from one of the following articles:
Comments
0 comments
Please sign in to leave a comment.