• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Traffic Statistics & Application Fault problems

D

dsmarty

Guest
Traffic Statistics & Gallery problems

I run Plesk 8.1 on a Debian Sarge server.
I upgraded from 8.0.1 to 8.1 and encounter the following problems:

1. Traffic statistics aren't updated anymore. (In the admin panel, clients, traffic)
My crontab is as follows:
Code:
        */15    *       *       *       *       /opt/psa/admin/sbin/backupmng >/dev/null 2>&1
        0       1       *       *       1       /opt/psa/libexec/modules/watchdog/cp/secur-check
        0       1       *       *       1       /opt/psa/libexec/modules/watchdog/cp/send-report weekly
        10      1       *       *       *       /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
        15      1       *       *       *       /opt/psa/libexec/modules/watchdog/cp/pack-sysstats day
        15      1       *       *       1       /opt/psa/libexec/modules/watchdog/cp/pack-sysstats week
        15      1       1       *       *       /opt/psa/libexec/modules/watchdog/cp/pack-sysstats month
        15      1       1       *       *       /opt/psa/libexec/modules/watchdog/cp/pack-sysstats year
        20      1       *       *       *       /opt/psa/libexec/modules/watchdog/cp/clean-events
        0       3       *       *       7       /opt/psa/libexec/modules/watchdog/cp/clean-reports

Second problem is that my clients cannot install gallery from the application pack. When a customer installs this application he gets the following error:
Code:
Warning: sappmng: /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall execution failed:
String found where operator expected at /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall line 629, near "print_out "unable to set permissions `$fmod` to file `$fname`: $!\n""
(Do you need to predeclare print_out?)
syntax error at /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall line 629, near "print_out "unable to set permissions `$fmod` to file `$fname`: $!\n""
Execution of /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall aborted due to compilation errors.
proc_close() failed: Empty error message from utility.

The upgrade was done via the "updater" utility and reported no problems.

And last but not least, it is not a real problem but the integrated spam is really annoying. My clients are bored with SWSoft spam and so am I.
I don't expect spam in a product I bought !!!
 
there still more entries in your crontab. change number of entries per side to "ALL" and post the entries again.
 
I'm sorry.

This is in my cron.daily directory in the file 50plesk.daily.sh:

Code:
#!/bin/sh

# install_statistics
/opt/psa/admin/sbin/statistics >/dev/null 2>&1

# install_mysqldump
/opt/psa/bin/mysqldump.sh >/dev/null 2>&1

# install_autoreport daily
/opt/psa/admin/bin/php /opt/psa/admin/plib/report/autoreport.php --auto daily >/dev/null 2>&1

When I execute /opt/psa/admin/sbin/statistics manually this is what I get:

Code:
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (clf)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (clf)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (ftp)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (ftp)
DNS Lookup (15): None to process
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (clf)
Using DNS cache file /opt/psa/var/lib/webalizer/webalizer.cache
Creating output in /var/www/vhosts/audiowhores.nl/statistics/webstat
Hostname for reports is 'audiowhores.nl'
Reading history file... webalizer.hist
Reading previous run data... webalizer.current
No valid records found!
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (clf)
Using DNS cache file /opt/psa/var/lib/webalizer/webalizer.cache
Creating output in /var/www/vhosts/audiowhores.nl/statistics/webstat-ssl
Hostname for reports is 'audiowhores.nl'
Reading history file... webalizer.hist
Reading previous run data... webalizer.current
No valid records found!
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (ftp)
Using DNS cache file /opt/psa/var/lib/webalizer/webalizer.cache
Creating output in /var/www/vhosts/audiowhores.nl/statistics/anon_ftpstat
Hostname for reports is 'audiowhores.nl'
History file not found...
Previous run data not found...
No valid records found!
Webalizer V2.01-10 (Linux 2.6.8-3-686-smp) locale: C
Using logfile STDIN (ftp)
Using DNS cache file /opt/psa/var/lib/webalizer/webalizer.cache
Creating output in /var/www/vhosts/audiowhores.nl/statistics/ftpstat
Hostname for reports is 'audiowhores.nl'
Reading history file... webalizer.hist
Reading previous run data... webalizer.current
No valid records found!

(and so on)

Problem seems to be it still uses webalizer instead of awstats.
On a fresh install of Plesk 8.1 it does work. But I doesn't work on any system that I upgraded from 8.0.1 to 8.1 (reproducable).
 
anyone found any solution on this one?

exactly the same problem.. :(
 
I just tested the Gallery from the Application Pack on a brand new installation of Plesk 8.1 on Ubuntu.

The problem is identical to the upgraded Debian machine.

Code:
Warning: sappmng: /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall execution failed:
String found where operator expected at /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall line 629, near "print_out "unable to set permissions `$fmod` to file `$fname`: $!\n""
(Do you need to predeclare print_out?)
syntax error at /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall line 629, near "print_out "unable to set permissions `$fmod` to file `$fname`: $!\n""
Execution of /opt/psa/var/cgitory/gallery-2.0-49/scripts/postinstall aborted due to compilation errors.
proc_close() failed: Empty error message from utility.

This really is a common Plesk problem, not just for a specific distribution.
 
anyone found any solution on this one (Webalizer)?

Andy
 
I fixed it on my machine.

Select all domains, perform a group operation and change the statsengine to awstats.

That did the job for me :)

The gallery problem persists though.
 
Back
Top