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!

whmapi1 enable_monitor_all_enabled_services **Fails**

Discussion in 'cPanel Developers' started by jvandellen, Mar 17, 2016.

  1. jvandellen

    jvandellen Member
    PartnerNOC

    Joined:
    Jun 19, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    Greetings,

    On a fresh whm/cpanel install I am getting the following error when attempting to enabled monitoring for all enabled services via the whmapi1 command line tool. Please advise.



    Code:
    root@cpanel [~]# whmapi1 enable_monitor_all_enabled_services
    Can't locate object method "catfile" via package "File::Spec" at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/XML/SAX.pm line 61.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you force an update of cPanel via the "/scripts/upcp --force" command and let us know if the issue persists? Also, could you let us know the server environment? You can find instructions on which details to provide at:

    Guide To Opening An Effective Forums Thread

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jvandellen

    jvandellen Member
    PartnerNOC

    Joined:
    Jun 19, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    My apologies, turns out this was a licensing issue which makes perfect sense once I realized that was the case.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    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