Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 postcd, Nov 9, 2015
    Last edited: Nov 9, 2015
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    This issue should be addressed in cPanel version 11.52.0.22:

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice