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 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:
    817
    Likes Received:
    22
    Trophy Points:
    18
    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?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. jparker3119

    jparker3119 Member

    Joined:
    May 18, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page