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 locate Proc/WaitStat.pm in @INC

Discussion in 'General Discussion' started by jparker85302, Jun 11, 2014.

  1. jparker85302

    jparker85302 Registered

    Joined:
    Mar 27, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I followed the advice at wiki.komisoft.com by doing a

    perl -MCPAN -e "install Proc::WaitStat"

    But the problem keeps re-occurring with the following error statements:

    Can't locate Proc/WaitStat.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/bin/mime-construct line 31.
    BEGIN failed--compilation aborted at /usr/bin/mime-construct line 31.
    Can't locate Proc/WaitStat.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/bin/mime-construct line 31.
    BEGIN failed--compilation aborted at /usr/bin/mime-construct line 31.
    /usr/sbin/logcheck: line 100: kill: (29907) - No such process

    Advice would be appreciated.
    Thanks
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    28
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    have you tried:

    Code:
    /scro[ts/perlinstaller Proc::WaitStat
    
    What are you running that is getting this error? Is it /usr/bin/mime-construct or /usr/sbin/logcheck?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Yes, you can try using /scripts/perlinstaller as Vanessa suggested. Let us know the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jparker3119

    jparker3119 Member

    Joined:
    May 18, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Thank you for your reply.

    The error is thrown when the following cron is executed. (Only have partial copy) The cron was created by cPanel
    Cron <logcheck@host> if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi..........

    I executed the above suggestion and the problem apparently was not solved. The error was being thrown on the hour and appeared on the expected time of 9:02 and 10:02 so......
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,762
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    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