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.

11.25.0-RELEASE_42213 upcp failed

Discussion in 'General Discussion' started by eyexer0, Dec 18, 2009.

  1. eyexer0

    eyexer0 Member

    Joined:
    Dec 11, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Arkansas
    The upcp on the server has failed, I have actually seen this on 6 of my servers which is never good, however one of them does work fine with this release they should be identical so I am not sure why it works on one but not the others.

    /usr/local/cpanel/cpanel -V
    11.25.0-RELEASE_42213

    cat /etc/redhat-release
    CentOS release 5.4 (Final)

    cPanel Layer 2 Install Complete
    Can't locate SGMLS/Output.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/bin/sgmlspl line 56.
    BEGIN failed--compilation aborted at /usr/bin/sgmlspl line 56.
    gmake[2]: *** [func.refs] Error 8
    gmake[2]: Leaving directory `/usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0/doc'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/usr/local/cpanel/src/3rdparty/gpl/fontconfig-2.6.0'
    gmake: *** [all] Error 2
    Died at /usr/local/cpanel/bin/rrdtoolinstall line 109.
    child exited with value 2

    Try to install SGMLS manually:

    Package comes with a Makefile and without a Makefile.PL.
    We'll try to build it with that Makefile then.

    CPAN.pm: Going to build D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz

    cd DOC; make all
    make[1]: Entering directory `/home/.cpan/build/SGMLSpm-yPLvp9/DOC'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/.cpan/build/SGMLSpm-yPLvp9/DOC'
    DMEGG/SGMLSpm-1.03ii.tar.gz
    /usr/bin/make -- OK
    Running make test
    make: *** No rule to make target `test'. Stop.
    DMEGG/SGMLSpm-1.03ii.tar.gz
    /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
    reports DMEGG/SGMLSpm-1.03ii.tar.gz
    Running make install
    make test had returned bad status, won't install without force
    Failed during this command:
    DMEGG/SGMLSpm-1.03ii.tar.gz : make_test N


    then:

    cpan> install SGMLS::Output
    Running install for module 'SGMLS::Output'
    Running make for D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz
    Has already been unwrapped into directory /home/.cpan/build/SGMLSpm-SF56cP
    Has already been made
    Running make test
    make: *** No rule to make target `test'. Stop.
    DMEGG/SGMLSpm-1.03ii.tar.gz
    /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
    reports DMEGG/SGMLSpm-1.03ii.tar.gz
    Running make install
    make test had returned bad status, won't install without force
    Failed during this command:
    DMEGG/SGMLSpm-1.03ii.tar.gz : make_test NO
     
  2. eyexer0

    eyexer0 Member

    Joined:
    Dec 11, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Arkansas
    This has been corrected by doing the following:

    Problem replicated with /scripts/upcp and /etc/init.d/cpanel restart

    Error is listed in post above, fix:

    cd /usr/local/lib/perl5
    ls -al
    ln -s SGMLS /usr/local/lib/perl5/site_perl/5.8.8/
    cd /usr/local/lib/perl5/site_perl/
    ls -al
    cd 5.8.8
    ls -al
    rm SGMLS
    ls -al
    mkdir SGMLS
    ls -al
    cd SGMLS/
    ls -la
    ln -s /usr/local/lib/perl5/SGMLS/Output.pm .
    ln -s /usr/local/lib/perl5/SGMLS/Refs.pm .
    ls -al
    /usr/local/cpanel/bin/rrdtoolcheck
    ln -s /usr/local/lib/perl5/SGMLS.pm ../
    ls -la
    cd ..
    ls -la
    /usr/local/cpanel/bin/rrdtoolcheck
    /usr/local/cpanel/bin/rrdtoolcheck
     
Loading...

Share This Page