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.

scripts directory broken

Discussion in 'General Discussion' started by rascal2trust, Dec 18, 2005.

  1. rascal2trust

    rascal2trust Active Member

    Joined:
    Apr 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    None of the scripts in /scripts are working, I get the below or similar on all of them,

    Bareword found where operator expected at /usr/lib/perl5/5.8.7/IPC/Open3.pm line 181, near "$wtr wtr"
    (Missing operator before wtr?)
    Global symbol "$wtr" requires explicit package name at /usr/lib/perl5/5.8.7/IPC/Open3.pm line 181.
    syntax error at /usr/lib/perl5/5.8.7/IPC/Open3.pm line 181, near "$wtr wtr "
    Compilation failed in require at cPanelPerl.pm line 12.
    BEGIN failed--compilation aborted at cPanelPerl.pm line 12.
    Compilation failed in require at ./realperlinstaller line 12.
    BEGIN failed--compilation aborted at ./realperlinstaller line 12.

    I have removed all of the scripts, and then run this,

    rsync -av rsync://rsync.cpanel.net/scripts /scripts

    No joy, not sure what else to try here, upcp gives the same error.
    WHM 10.8.0 cPanel 10.8.1-S31
    CentOS 4.2 i686 - WHM X v3.1.0

    Thanks Jim
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I think that's one of the core perl modules so doubt that you can reinstall it from cpan, though you could try. Failing that, I'd suggest that you try the perlinstaller on http://layer1.cpanel.net and resintall perl v5.8.7
     
Loading...

Share This Page