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.

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:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. jvandellen

    jvandellen Member
    PartnerNOC

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - whmapi1 enable_monitor_all_enabled_services **Fails**
  1. ltellier
    Replies:
    2
    Views:
    218
  2. Ishware
    Replies:
    2
    Views:
    376

Share This Page