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

Server locks up while running Weekly and Monthly autoreport

Discussion in 'Plesk for Linux - 8.x and Older' started by ndugo, Apr 17, 2006.

  1. ndugo

    ndugo Guest

    0
     
    My server has locked up April 1, 3, 10, and today the 17 at exactly 7:17am. It would obviously appear to be the weekly and monthly autoreport. The daily one runs fine.

    17 7 * * 1 /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto weekly >/dev/null 2>&1
    17 7 1 * * /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto monthly >/dev/null 2>&1

    Plesk Reloaded 7.5.4 running on Fedora Core 3.

    Any ideas? What would be the effects if I just removed these from the Crontab tasks?
     
  2. pkiener

    pkiener Guest

    0
     
    it looks like I have the same problem. Has anyone run into the same problem?
    Is there a way to fix that?

    Greetings
    Phil
     
  3. ndugo

    ndugo Guest

    0
     
    After doing some research it was suggested that I try removing the '>/dev/null 2>&1' from the end of the command.

    /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto weekly
    /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto monthly

    I removed it from the end of my daily, weekly, and monthly autoreports and have had no lockups since. So that worked for me.
     
  4. basic612

    basic612 Guest

    0
     
    Seems like a very strange fix... but if it works I'll be very happy!

    Have the reports been working for you since April after modifying the jobs? I'd like to try it on my troublesome server but can't really risk another lock up as my clients are pretty pissy about the lack of server stability due to this problem.
     
  5. pkiener

    pkiener Guest

    0
     
    I haven't done the '>/dev/null 2>&1' remove stuff, but I have update to the last plesk update available for 7.5.4 and I have done a upgrade of the kernel.

    No problem since then.
     
  6. knocx

    knocx Guest

    0
     
    i have CentOS 4.4 x 5 PLESK 8.0 servers they are all exactly same except the hosted sites.

    but only one of these servers crashes each monday at 07:17 AM,

    why will removing /dev/null 2>&1 fixes the issue.

    the other 4 servers has /dev/null 2>&1
     
  7. HoneyMonster

    HoneyMonster Guest

    0
     
    Hi,

    I have this problem and have a few questions:

    1. What does autoreport.php actually do? Does it provide any useful reports and is it integral to the running of Plesk?
    2. What effect will removing >/dev/null 2>&1 have. Can it have any adverse effects other than sending annoying emails. Surely the data is nullyfied for a reason?

    many thanks
     
Loading...