• 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

WebAlizer, Traffic and Quota

N

Nerion@

Guest
SWSOFT HELP! WebAlizer, Traffic and Quota

Hello,

I have got some problems.

Webalizer don't work, not updated every night.
Traffic per User not updated
Quota per User not updated.

I am using Debian 3.1

I think some Cronjobs are missing.

Can anyone post her Crontab for Debian 3.1 with Plesk 8.1

Thanks.
 
I've got the same problem, but I don't think it's the cronjob, but the shell script it executes.
 
And how do we fix this?
What now?
SWSoft an update please or help what we have to do.
Plesk 8.1 is running on a productively system.
 
When I open my Crontab there is now Entry running a plesk script. So I think something is missing in it.

So can anyone using Debian 3.1 post his oder her Crontab.
 
/etc/cron.daily/ has to be execute once a day and so webalizer start working.

But how do I say that Crontab has to be execute all files in /etc/cron.daily?
 
To fix this problem on Debian 3.1

Enter a Crontab like this

Code:
        30      3       *       *       *       /etc/cron.daily/50plesk.daily.sh >/dev/null 2>&1
 
Add only these lines under Debian 3.1 in your Crontab

Code:
01 * * * * run-parts /etc/cron.hourly
02 4 * * * run-parts /etc/cron.daily
22 4 * * 0 run-parts /etc/cron.weekly
42 4 1 * * run-parts /etc/cron.monthly

This fix many plesk 8.1 problems
 
This don't work at all.

run-parts doesn't execute these 50plesk.daily.sh scripts. run-parts execute all scripts but no 50plesk.daily.sh, 50plesk.weekly.sh and 50plesk.monthly.sh

SWSoft please fix this.
 
fixed?

On our debian 3.1 systems, the cronjob is there in /etc/cron.daily/50plesk.daily.sh.

However, when executing 'run-parts --list /etc/cron.daily' to see what files would be executed overnight, the plesk cron job wasn't listed.

Found out that this was due to the dots in the name, debian apparantly doesn't like this.

I renamed the script to '50plesk-daily', and now it is listed when testing with 'run-parts --list /etc/cron.daily'.
Have to check tomorrow if it will indeed run tonight, but I think it will.

This could be a problem when swsoft comes with an updated script, but for now I think it work
 
Thank you.
I am running this Scripts without run-parts.
But SWSoft has to fix it.
 
Originally posted by Nerion
This don't work at all.

run-parts doesn't execute these 50plesk.daily.sh scripts. run-parts execute all scripts but no 50plesk.daily.sh, 50plesk.weekly.sh and 50plesk.monthly.sh

SWSoft please fix this.

SWSoft has fixed this for me, by rename that files to


50plesk-daily
50plesk-weekly
50plesk-monthly

they sad debian has a problem with the dots ...
 
I had the same problem, but my cron was empty!
I've Debian 3.1 (afaik this problem is only on Debian!), once my cron was as follow:
*/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
0 3 * * 7 /opt/psa/libexec/modules/watchdog/cp/clean-reports
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

Now I've added:
3 0 * * * /etc/cron.daily/50plesk-daily.sh >/dev/null 2>&1
15 0 * * 7 /etc/cron.weekly/50plesk-weekly.sh >/dev/null 2>&1
15 1 1 * * /etc/cron.monthly/50plesk-monthly.sh >/dev/null 2>&1

And don't forget to rename the files:
mv /etc/cron.daily/50plesk.daily.sh /etc/cron.daily/50plesk-daily.sh
mv /etc/cron.weekly/50plesk.weekly.sh /etc/cron.weekly/50plesk-weekly.sh
mv /etc/cron.monthly/50plesk.monthly.sh /etc/cron.monthly/50plesk-monthly.sh

The Problem:
If the file /etc/cron.daily/50plesk-daily.sh not executed every day, the stats aren't updated. In this file you find following row:
# install_statistics
/opt/psa/admin/sbin/statistics >/dev/null 2>&1

what is responsible for parse the stat-files! If you want you can un it manually!
 
Back
Top