1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

WebAlizer, Traffic and Quota

Discussion in 'Plesk for Linux - 8.x and Older' started by Nerion@, Dec 7, 2006.

  1. Nerion@

    Nerion@ Guest

    0
     
    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.
     
  2. dsmarty

    dsmarty Guest

    0
     
    I've got the same problem, but I don't think it's the cronjob, but the shell script it executes.
     
  3. Nerion@

    Nerion@ Guest

    0
     
    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.
     
  4. Nerion@

    Nerion@ Guest

    0
     
    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.
     
  5. Nerion@

    Nerion@ Guest

    0
     
    /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?
     
  6. Nerion@

    Nerion@ Guest

    0
     
    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
    
     
  7. Nerion@

    Nerion@ Guest

    0
     
    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
     
  8. Nerion@

    Nerion@ Guest

    0
     
    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.
     
  9. R2K_

    R2K_ Guest

    0
     
    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
     
  10. Nerion@

    Nerion@ Guest

    0
     
    Thank you.
    I am running this Scripts without run-parts.
    But SWSoft has to fix it.
     
  11. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    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 ...
     
  12. digiem

    digiem New Pleskian

    22
     
    Joined:
    Dec 8, 2006
    Messages:
    3
    Likes Received:
    0
    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:
    Now I've added:
    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
    what is responsible for parse the stat-files! If you want you can un it manually!
     
Loading...