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!

perl modules missing in /scripts/cPScript

Discussion in 'General Discussion' started by BlueZebra, Dec 8, 2007.

  1. BlueZebra

    BlueZebra Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    I have a server with no .pm files in the directory /scripts/cPScript which is preventing me from doing any updates.

    ----------------------------------------------o
    [/scripts/cPScript]# /scripts/upcp --force
    Can't locate cPScript/HttpRequest.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/upcp line 14.
    BEGIN failed--compilation aborted at /scripts/upcp line 14.
    ----------------------------------------------o

    I could find the missing files like HttpRequest.pm, Config.pm, ProcessCheck.pm, etc.. in the directory /usr/local/cpanel/Cpanel/. Are these files the same? will the updates work if I replace the missing .pm files in /scripts/cPScript with those from /usr/local/cpanel/Cpanel/

    Regards,
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Have you tried running /scripts/checkperlmodules yet?
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Those Modules should be the same. Copy, or symlink, them to /scripts/cPScript

    On the other hand, it is very odd to be missing the modules in /scripts/cPScript, any clue as to how that occurred?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. BlueZebra

    BlueZebra Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I managed it by reinstalling the Perl 5.8.8 manually and then run the updates. All works fine now :)
    Thanks for your suggestions
     
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