The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't call method "log" on an undefined value at /usr/local/cpanel/libexec/cpanellogd

Discussion in 'General Discussion' started by postcd, Nov 9, 2015.

  1. postcd

    postcd Well-Known Member

    Oct 22, 2010
    Likes Received:
    Trophy Points:
    Hello, i wanted to use: /scripts/runweblogs cpanelname
    But it is returning error no mater on which cpanel i run it:

    found this process:
    root 28309 0.0 0.0 23664 2460 ? SN Nov03 0:01 cpanellogd - sleeping for logs

    The line 273 contains this function:
    if ( is_during_blackout() ) {
    $stats_log_obj->log( 0, "Processing logs during blackout period..." );

    from /usr/local/cpanel/logs/stats_log :
    Blackout hours in force, interrupt bandwidth processing before backing up access logs.

    Please can you advice steps to do in order to fix it or execute it even during blackout period?

    UPDATE: When i accessed WHM, Home »Server Configuration »Statistics Software Configuration and disabled blackout hours on Time Schedule page, it started working.
    #1 postcd, Nov 9, 2015
    Last edited: Nov 9, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    This issue should be addressed in cPanel version

    Fixed case CPANEL-2029: Cpanellogd cannot be run manually during blackout hours.

    Thank you.

Share This Page