We help IT Professionals succeed at work.
Get Started

Windows IIS6 - AWStats (Advanced Web Statistics) via Plesk

1,782 Views
Last Modified: 2012-05-10
My server statistics stopped updating all of a sudden the other day.  Even if I manually run the statistics.exe in parallels or manually start the scheduled plesk task the stats do not update at all.

I looked in the logs and see a couple of errors from the statistics.exe:
1.
Can't query SELECT s.id, s.dom_id, s.sys_user_type, s.name, s.displayName, s.server_id, u.login, a.password, s.coldfusion, s.ssi, s.ssi_html, s.php, s.php_handler_type, s.php_version, s.cgi, s.perl, s.python, s.asp, s.asp_dot_net, s.managed_runtime_version, s.miva, s.fp, s.fp_enable, s.fp_no_index, s.htype, s.www_root, s.webstat FROM ( subdomains s INNER JOIN sys_users u ON u.id = s.sys_user_id ) LEFT OUTER JOIN accounts a ON a.id = u.account_id WHERE (s.dom_id = 2): MySQLDatabaseProvider error 1054:Unknown column 's.sys_user_type' in 'field list'
   at (MySQLDatabaseProvider::query line 284)
   at ipolitics360.com: configure AWStats.conf(statistics::LogForAWStats::configure line 2667)
   at Unable to peocess web statistics for domainipolitics360.com(statistics::runWebLogAnalyser line 3114)
Execute file name: C:\Program Files\Parallels\Plesk\admin\bin\statistics.exe

2.
C Exception: 3221225477
   at get shared instance of PleskSrvClient(PleskSrvClient::getInstance line 257)
   at Unable to finish web modules(statistics::start line 1131)
Execute file name: C:\Program Files\Parallels\Plesk\admin\bin\statistics.exe

3.
C Exception: 3221225477
   at get shared instance of PleskSrvClient(PleskSrvClient::getInstance line 257)
   at Calculate mail traffic(statistics::processMailTraffic line 876)
Execute file name: C:\Program Files\Parallels\Plesk\admin\bin\statistics.exe

4.
Cannot find notification by ID 4
   at (PSADatabase::getNotification line 2608)
   at NotifyClientExpiration(statistics::start line 1259)
Execute file name: C:\Program Files\Parallels\Plesk\admin\bin\statistics.exe

I'm stumped and my host has been trying to fix it for days and basically gave up.

Please help!
Comment
Watch Question
Network Engineer
CERTIFIED EXPERT
Top Expert 2008
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE