• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Still an issue with webalizer and 7.5.1

M

mrdave

Guest
During statistics calculations webalizer gives this error:

DNS Lookup (15): Error: Unable to open DNS cache file C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache

...and so the statistics page shows all requests coming from unresolved IP addresses and unknown country.

I checked out webalizer activity with a file monitoring tool and it shows this log regarding to webalizer.cache.

Code:
1	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	Attributes: A	
2	10.51.00	webalizer.exe:1984	OPEN	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	Options: Open  Access: All	
3	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	FileFsVolumeInformation	
4	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	BUFFER OVERFLOW	FileAllInformation	
5	10.51.00	webalizer.exe:1984	QUERY SECURITY	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	BUFFER OVERFLOW		
6	10.51.00	webalizer.exe:1984	QUERY SECURITY	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS		
7	10.51.00	webalizer.exe:1984	CLOSE	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS		
8	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	Attributes: A	
9	10.51.00	webalizer.exe:1984	OPEN	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	Options: Open  Access: All	
10	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	FileFsVolumeInformation	
11	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	BUFFER OVERFLOW	FileAllInformation	
12	10.51.00	webalizer.exe:1984	QUERY SECURITY	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	BUFFER OVERFLOW		
13	10.51.00	webalizer.exe:1984	QUERY SECURITY	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS		
14	10.51.00	webalizer.exe:1984	CLOSE	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS		
15	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	Attributes: A	
16	10.51.00	webalizer.exe:1984	OPEN	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS	Options: Open  Access: All	
17	10.51.00	webalizer.exe:1984	CLOSE	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	SUCCESS		
18	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	FILE NOT FOUND	Attributes: Error	
19	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\inetpub\vhosts\test.com\statistics\webstat\C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	NAME INVALID	Attributes: Error	
20	10.51.00	webalizer.exe:1984	QUERY INFORMATION	C:\inetpub\vhosts\test.com\statistics\webstat\C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache.lnk	NAME INVALID	Attributes: Error	
21	10.51.00	webalizer.exe:1984	CREATE	C:\inetpub\vhosts\test.com\statistics\webstat\C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache	NAME INVALID	Options: Create  Access: All

seems it's trying to open the cache file in the wrong path...

any clues about this?
 
Hi,

It seems there is a bug in Brad's Win32 port of webalizer which is used by Plesk.

Here is a better win32 port of webalizer which worked for me:
http://www.medasys-lille.com/webalizer/Version2_1_10_RB02/webalizer2.01.10.RB02.english.zip

1. Download and extract the above.
2. Rename the old webalizer executeable to something like webalizer.exe.old in C:\Program Files\SWSoft\Plesk\Additional\Webalizer\bin
3. Copy the new webalizer.exe into the above directory.
4. Follow the following steps:

Originally posted by shwonder
C:\PROGRA~1\SWsoft\Plesk\
Please delete or move to other location file
%plesk_dir%\tmp\webalizer.cache
and
for each domain with the problem, please delete or move to other location all files in folders:
%domain_name%\statistics\anon_ftpstat
%domain_name%\statistics\ftpstat
%domain_name%\statistics\webstat

Unfortunatelly, new version of Webalizer does not correctly work with files generated by old webalizer.

Best regards
 
Back
Top