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

Watchdog Error

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Webroy, Jun 9, 2009.

  1. Webroy

    Webroy Regular Pleskian

    Oct 29, 2008
    Likes Received:
    Hi There,

    i am trying to install watchdog on a existing 9.2.1. plesk server. The installation goed fine, no errors:

    When i log in into plesk and go to the module watchdog he gives an error:

    Changing of crontab configuration failed.


    0: wdcplib.php:136
    set_cronjob_task(string '/usr/local/psa/libexec/modules/watchdog/cp/secur-check', string 'root', array)
    1: wdcplib.php:32
    set_secur_scan_cronjob(string 'weekly')
    2: configure.php:20
    require_once(string '/usr/local/psa/admin/plib/modules/watchdog/configure.php')
    3: wdcplib.php:211
    wd__require_once(string 'configure.php')
    4: preaction.php:17
    require_once(string '/usr/local/psa/admin/plib/modules/watchdog/preaction.php')
    5: index.php:3

    I have looked in my crontab (of root) and there were no Lines added voor Watchdog, also the @signs like in post http://kb.odin.com/en/1709 werent there. Does anyone had this problem or know a solution? It looks like he cannot write rules in the Cron?
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    Apr 14, 2009
    Likes Received:

    Please, perform the following steps:

    Login as root to the server, open root user crontab with the 'crontab -e' command and make sure that the records' syntax is correct and there are none any special time specification "nicknames" like:


    Parallels Plesk Panel (PP) does not support them. Please use their alternatives, see "man 5 crontab":

    @yearly : Run once a year, ie. "0 0 1 1 *".
    @annually : Run once a year, ie. "0 0 1 1 *".
    @monthly : Run once a month, ie. "0 0 1 * *".
    @weekly : Run once a week, ie. "0 0 * * 0".
    @daily : Run once a day, ie. "0 0 * * *".
    @hourly : Run once an hour, ie. "0 * * * *".

    If you need to set a scheduled task you can also do it through PP on the Server -> Scheduled Tasks page.

    Please, see the following article for more information: