AWstats web statistics does not update any data. (antivirus issue)

Refers to:

  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:08:29 UTC

Modified:

2016-12-21 20:02:23 UTC

0

Was this article helpful?


Have more questions?

Submit a request

AWstats web statistics does not update any data. (antivirus issue)

Symptoms

  1. AWstats web statistics does not update statistics data.

  2. Anti virus software is being used on the server (e.g. AVG Antivirus).

  3. In event viewer you could find error like following:

    Execute C:\\Windows\\system32\\cmd.exe /c SORT C:\\Inetpub\\vhosts\\domain.com\\logs\\W3SVC93\\web20130724153859698.log.sort1 /O C:\\Inetpub\\vhosts\\domain.com\\logs\\W3SVC93\\web20130724153859698.log.sort2 failed[1]: C:\\Inetpub\\vhosts\\domain.com\\logs\\W3SVC93\\web20130724153859698.log.sort1The process cannot access the file because it is being used by another process.
    at (execExtUtilChecked line 163)
    at Sort webalizer log file(LogForWebalizer::processLogFile line 98)
    at execute C:\\Parallels\\Plesk\\admin\\bin\\web_statistics_executor.exe(vconsoleapp::run line 107)
    Execute file name: C:\\Parallels\\Plesk\\admin\\bin\\web_statistics_executor.exe
  4. Execution of web_statistic_executor utility in command line, results in the following error:

    C:\\Parallels\\Plesk\\admin\\bin>web_statistics_executor.exe
    Error: Unable to restore run data (1)
    Error: Unable to restore run data (1)
    ...
    Error: Unable to restore run data (1)

Cause

Such errors could be caused by antivirus software.

Anti viruses may delete AWstats config files, e.g. awstats.domain.com.conf , during web_statistics_executor.exe work, which causes malfunction of the whole web statistics generation process.

Resolution

  1. Disable antivirus program.

  2. Start complete statistics recalculation:

    "%plesk_bin%\\web_statistics_executor.exe"

    Or wait until next recalculation during daily maintenance task.

Have more questions? Submit a request
Please sign in to leave a comment.