Articles in this section

Watchdog script "secur-check" fails in Plesk: Zend_Exception: No entry is registered for key 'container'

kb: bug kb: fixed Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • The scheduled task /usr/local/psa/libexec/modules/watchdog/cp/secur-check fails with:

    PLESK_INFO: ERR [panel] No entry is registered for key 'container':
    0: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Registry.php:147
    Zend_Registry::get(string 'container')
    1: /usr/local/psa/admin/plib/Plesk/Log/UtilExec.php:34
    Plesk_Log_UtilExec->start(string 'rsecurcheck', array, string '', boolean false)
    2: /usr/local/psa/admin/plib/common_func.php:123
    util_exec(string 'rsecurcheck', array, array, string 'msg', string 'watchdog', boolean true)
    3: /usr/local/psa/admin/plib/common_func.php:35
    mod_smart_exec(string 'watchdog', string 'rsecurcheck', array, array, string 'msg')
    4: /usr/local/psa/admin/plib/modules/watchdog/wdlib.php:1157
    wd__exec_wd_util(string 'rsecurcheck', array, array)
    5: /usr/local/psa/libexec/modules/watchdog/cp/secur-check:10
    ERROR: Zend_Exception: No entry is registered for key 'container' (Registry.php:147)

  • Plesk Administrator receives an email notification with the same error message.

Cause

Product issue:

  • #PPPM-13385 "Emails with daily reports from the “Watchdog” extension now contain correct data instead of error messages again."
    Fixed in:

Resolution

Please consider updating your server:

Workaround

If update is not possible for some reason you may try the following

workaround

As a workaround, apply a custom fix:

  1. Connect to the Plesk server via SSH.

  2. Download the patched file in zip:

    # wget https://plesk.zendesk.com/hc/article_attachments/12376925990039/wdcplib.zip

  3. Extract the file:

    # unzip wdcplib.zip

  4. Rename the original file:

    # mv /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php.orig

  5. Move the patched file:

    # mv wdcplib.php /usr/local/psa/admin/plib/modules/watchdog

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.