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

Plesk 8.3 stats not updating

Discussion in 'Plesk for Linux - 8.x and Older' started by jimmy1987, Feb 8, 2008.

  1. jimmy1987

    jimmy1987 Guest

    0
     
    I noticed today that the stats on my plesk server are not updating at all,
    everyone is still stuck at using 0 bytes of space and 0 bytes of traffic.

    I did
    usr/local/psa/admin/sbin/statistics >/dev/null 2>&1

    from the shell and it updated ok i think, but i can;t having to do this every hour or so to update it.
    Who has the solution to fix this?
     
  2. Brujo

    Brujo Regular Pleskian

    28
    57%
    Joined:
    Mar 4, 2006
    Messages:
    278
    Likes Received:
    2
    Location:
    Germany
    normaly a cronjob does this for you. On my Box for example

    23 1 * * * /usr/local/psa/bin/run-parts.sh /etc/psa/plesk-cron.daily

    Brujo
     
  3. jimmy1987

    jimmy1987 Guest

    0
     
    Hmm i looked in both places but i don't either have the run-parts.sh or the cron.daily in the plesk directory.
    Could you tell me how to achieve this so i can get my stats updating again?
     
  4. Brujo

    Brujo Regular Pleskian

    28
    57%
    Joined:
    Mar 4, 2006
    Messages:
    278
    Likes Received:
    2
    Location:
    Germany
    in depence of the OS it can be on another Place, but the script which is finaly called is 50plesk-daily

     
  5. jimmy1987

    jimmy1987 Guest

    0
     
    Ok i looked in my root crontab "crontab -e" and the following is in there:

    14,29,44,59 * * * * /opt/psa/admin/sbin/backupmng >/dev/null 2>&1

    but i think that's for backups, am i missing a crontab for the statistics here?

    I looked in your script and everything is on the same place here.
    Can't i add it manually again in some way ?
     
  6. Brujo

    Brujo Regular Pleskian

    28
    57%
    Joined:
    Mar 4, 2006
    Messages:
    278
    Likes Received:
    2
    Location:
    Germany
    yes you can add the entry to your crontab and if you are uncomfortable with the commandline you can do it in the Plesk Controlpanel > Server > Scheduled tasks > select User > Add New Task

    but i also suggest to find out what happens with your original files like 50plesk-daily, 50plesk-weekly, 50plesk-monthly, somtimes wrong place, name or signs...

    For different OS there are some Threads here on the Board just search for "50plesk"

    Brujo
     
  7. jimmy1987

    jimmy1987 Guest

    0
     
    I found the 50plesk-daily it was just in the /etc/cron-daily directory.
    But i haven't found the weekyl and monthly cronjobs in the cron-weekly/monthly directories.

    I've restarted the cron service to see if it get's used now.
     
  8. iaino2002

    iaino2002 Guest

    0
     
    did you by any chance buy a VPS from webfusion?
     
  9. jimmy1987

    jimmy1987 Guest

    0
     
    not really, my vps comes from a company called Strato
     
Loading...