Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    23

    Default Running /scripts/upcp and PathTools-3.00 gives error

    Today on several servers we got the following output from /scripts/upcp which you know is running daily by cron.It seems that there is a problem with the script because it first deletes the file then tries to compile.My question is, is there anything we should do on our site to solve thisand what? OR should this be solved by cPanel.
    Thanks

    Checksum for /home/.cpan/sources/authors/id/K/KW/KWILLIAMS/PathTools-3.00.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    Deleting from cache: /home/.cpan/build/GD-2.16 (10.3>10.0 MB)
    PathTools-3.00/
    PathTools-3.00/Build.PL
    PathTools-3.00/Changes
    PathTools-3.00/Cwd.pm
    PathTools-3.00/Cwd.xs
    PathTools-3.00/INSTALL
    PathTools-3.00/lib/
    PathTools-3.00/lib/File/
    PathTools-3.00/lib/File/Spec/
    PathTools-3.00/lib/File/Spec/Cygwin.pm
    PathTools-3.00/lib/File/Spec/Epoc.pm
    PathTools-3.00/lib/File/Spec/Functions.pm
    PathTools-3.00/lib/File/Spec/Mac.pm
    PathTools-3.00/lib/File/Spec/OS2.pm
    PathTools-3.00/lib/File/Spec/Unix.pm
    PathTools-3.00/lib/File/Spec/VMS.pm
    PathTools-3.00/lib/File/Spec/Win32.pm
    PathTools-3.00/lib/File/Spec.pm
    PathTools-3.00/Makefile.PL
    PathTools-3.00/MANIFEST
    PathTools-3.00/META.yml
    PathTools-3.00/SIGNATURE
    PathTools-3.00/t/
    PathTools-3.00/t/crossplatform.t
    PathTools-3.00/t/cwd.t
    PathTools-3.00/t/Functions.t
    PathTools-3.00/t/rel2abs2rel.t
    PathTools-3.00/t/Spec.t
    PathTools-3.00/t/taint.t
    PathTools-3.00/t/win32.t
    Removing previously used /home/.cpan/build/PathTools-3.00

    CPAN.pm: Going to build K/KW/KWILLIAMS/PathTools-3.00.tar.gz

    Checking if your kit is complete...
    Looks good
    Warning: Guessing NAME [PathTools] from current directory name.
    Writing Makefile for PathTools
    cp lib/File/Spec/OS2.pm blib/lib/File/Spec/OS2.pm
    cp lib/File/Spec/Mac.pm blib/lib/File/Spec/Mac.pm
    cp lib/File/Spec/VMS.pm blib/lib/File/Spec/VMS.pm
    cp lib/File/Spec/Cygwin.pm blib/lib/File/Spec/Cygwin.pm
    cp Cwd.pm blib/lib/Cwd.pm
    cp lib/File/Spec/Functions.pm blib/lib/File/Spec/Functions.pm
    cp lib/File/Spec/Epoc.pm blib/lib/File/Spec/Epoc.pm
    cp lib/File/Spec.pm blib/lib/File/Spec.pm
    cp lib/File/Spec/Unix.pm blib/lib/File/Spec/Unix.pm
    cp lib/File/Spec/Win32.pm blib/lib/File/Spec/Win32.pm
    Running Mkbootstrap for PathTools ()
    chmod 644 PathTools.bs
    rm -f blib/arch/auto/PathTools/PathTools.so
    LD_RUN_PATH="" gcc -shared -L/usr/local/lib PathTools.o -o blib/arch/auto/PathTools/PathTools.so

    gcc: PathTools.o: No such file or directory
    gcc: no input files
    make: *** [blib/arch/auto/PathTools/PathTools.so] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    Brain Hosting, Inc.
    Exceeding Your Expectations
    Visit us at
    www.brainhosting.com

  2. #2
    Member
    Join Date
    Jul 2003
    Posts
    23

    Default

    Any Ideas yet?
    Thanks
    Brain Hosting, Inc.
    Exceeding Your Expectations
    Visit us at
    www.brainhosting.com

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I get the same on all my servers. Here's what I did:
    Code:
    cd /home/.cpan/build/PathTools-3.00
    /scripts/perlinstaller Module::Build
    perl Build.PL 
    ./Build 
    ./Build test
    ./Build install
    Watch the output as it may advise you to delete some old files, which I also did (c&p the rm commands)
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    May 2002
    Posts
    429

    Default

    this is still not corrected by cpanel techs.

  5. #5
    DDT
    DDT is offline
    Member
    Join Date
    Dec 2003
    Posts
    42

    Unhappy

    What my "guru" of Perl says...
    actual problem is in PathTools-3.00 perl module. In it's Makefile, to be more exact.
    LD_RUN_PATH="" cc -shared -L/usr/local/lib PathTools.o -o blib/arch/auto/PathTools/PathTools.so
    PathTools.o as far as i remember must be PathTools.c. It's a kind of mistype
    (He is not always right...but more times than not)

    One way or the other I will just live with it until cPanel (in their usual slow time frame) decides to address the problem. It's probably an upgrade to something I wasn't using anyway and with no disrespect to chirpy I hate deleting files on my own when it's a cPanel or Perl problem and I there was no dramatic announcements of security or benefits having this would provide...

    Maybe cPanel will get to it after the holiday...(not Labor day--Thanksgiving )

  6. #6
    Member
    Join Date
    Jul 2003
    Posts
    23

    Default

    Well worked great for my servers.
    Thanks


    Quote Originally Posted by chirpy
    I get the same on all my servers. Here's what I did:
    Code:
    cd /home/.cpan/build/PathTools-3.00
    /scripts/perlinstaller Module::Build
    perl Build.PL 
    ./Build 
    ./Build test
    ./Build install
    Watch the output as it may advise you to delete some old files, which I also did (c&p the rm commands)
    Brain Hosting, Inc.
    Exceeding Your Expectations
    Visit us at
    www.brainhosting.com

  7. #7
    DDT
    DDT is offline
    Member
    Join Date
    Dec 2003
    Posts
    42

    Question

    Does anybody know what the advantage of this update is?

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It installs the latest File::Spec perl module.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    DDT
    DDT is offline
    Member
    Join Date
    Dec 2003
    Posts
    42

    Unhappy

    I'm glad it worked great for you guys.
    I tried your patch and it installed it just fine...
    BUT
    Last night for some reason update uninstalled it and then tried to re-install it and "error-ed out" with far more errors than I ever had in the first place.
    I guess I'll just keep hoping everything works, nothing in Perl got broken and cPanel will sort this out.

  10. #10
    DDT
    DDT is offline
    Member
    Join Date
    Dec 2003
    Posts
    42

    Cool

    Wow...forgive me for my Thanksgiving analogy.
    cPanel fixed it and it installed itself last night.
    Only 4 or 5 days...good work.
    Thanks

  11. #11
    Registered User
    Join Date
    Jul 2005
    Posts
    1

    Default

    Having lots of issues with my server and it queuing mail, looks like its a cpan perl issue, and i tried to follow steps here in the forums but get these errors.

    Code:
    oot@server [/home/.cpan/build/PathTools-3.09]# /scripts/perlinstaller Module::Build
    Can't locate File/Spec.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /scripts /usr/local/cpanel/whostmgr/bin) at /scripts/realperlinstaller line 14.
    BEGIN failed--compilation aborted at /scripts/realperlinstaller line 14.
    I also received the following erros executing other possible fixes.

    Code:
    perl -MCPAN -e 'install HTML::Tagset;'
    Can't locate Cwd.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/lib/perl5/5.8.0/CPAN.pm line 12.
    BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CPAN.pm line 12.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    root@server [/]# /scripts/installspam
    Can't locate Cwd.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /scripts /usr/local/cpanel/whostmgr/bin) at /scripts/cPanelPerl.pm line 11.
    BEGIN failed--compilation aborted at /scripts/cPanelPerl.pm line 11.
    Compilation failed in require at /scripts/realperlinstaller line 12.
    BEGIN failed--compilation aborted at /scripts/realperlinstaller line 12.
    What should I try next?

Similar Threads & Tags
Similar threads

  1. error running /scripts/upcp
    By nocbr.com in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-19-2008, 07:34 AM
  2. system locks up when running /scripts/upcp
    By sushi3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-16-2007, 02:53 AM
  3. PathTools-3.02 gives error in upcp (File::Spec)
    By Snover in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 02-20-2005, 04:33 PM
  4. ./scripts/upcp not running anymore
    By vwiley1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-04-2004, 12:20 PM
  5. Error when running /scripts/upcp
    By WildWayz in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 12-18-2001, 05:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube