Hi,
Yesterday i noticed that some domains didn't report their stats (awstats or webalizer) mentioning:
I replaced the file by doing the following:
then i did
Now i received 500 internal server error & i found this in:
/var/log/sw-cp-server/error_log
Now i reverted the file back to normal, and re-ran statistics...same segmentation fault and same 500 internal server error....
I'm using Plesk 10.2.0 on Centos OS 5
Appreciating your support please
Yesterday i noticed that some domains didn't report their stats (awstats or webalizer) mentioning:
then i came across this:"The data were not collected"
I replaced the file by doing the following:
then i replaced it with the new file,cp /usr/local/psa/admin/smb/application/controllers/SettingsController.php /usr/local/psa/admin/smb/application/controllers/SettingsController.phpbk
then i did
I then received a Segmentation fault:/usr/local/psa/admin/sbin/statistics --calculate-all
Main HTML page is 'awstats.Bedawea.com-ftp.html'.
Create/Update database for config "/usr/local/psa/etc/awstats/awstats.xxxx.com-http.conf" by AWStats version 6.95 (build 1.943)
From data in log file "-"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Jumped lines in file: 0
Parsed lines in file: 44
Found 1 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 43 new qualified records.
Segmentation fault
Now i received 500 internal server error & i found this in:
/var/log/sw-cp-server/error_log
2011-04-17 13:27:52: (mod_fastcgi.c.2582) FastCGI-stderr: PHP Warning: StatisticsController::require_once(class.AnonFtp.php3) [<a href='statisticscontroller.require-once'>statisticscontroller.require-once</a>]: failed to open stream: No such file or directory
PHP Fatal error: StatisticsController::require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'class.AnonFtp.php3' (include_path='/usr/local/psa/admin/smb/application/library/:/usr/local/psa/admin/smb/application/externals/:/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin:/usr/local/psa/admin/smb:/usr/local/psa/admin/smb/application/library:/usr/local/psa/admin/plib/pear:/usr/local/psa/admin/compat') in /usr/local/psa/admin/smb/application/controllers/StatisticsController.php on line 273
Now i reverted the file back to normal, and re-ran statistics...same segmentation fault and same 500 internal server error....
I'm using Plesk 10.2.0 on Centos OS 5
Appreciating your support please