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.

cPanel install is failing with current 'latest' script

Discussion in 'General Discussion' started by kaosent, Aug 16, 2005.

  1. kaosent

    kaosent Active Member

    Joined:
    Jul 12, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Problem encountered on a FreeBSD 5.4 server built today, dual P-3, 2G ram, dual 180GB hd's, fbsd minimal install, only changes were to install a version of perl that the latest script would recognize as posted here http://forums.cpanel.net/showthread.php?t=41588 . A workaround was obtained, but not pretty (any suggestions regarding better options or corrective actions would be appreciated):

    From Bug Report 3052:
    _______________________

    Successful install was performed and documented on 7/20/05 as listed in this
    post: http://forums.cpanel.net/showthread.php?t=41588
    Another attempt performed 8/16/05 on similar server build is currently failing
    with the error listed below. WORKAROUND used was to SFTP the entire /home/cpins
    directory (including latest and installd/ dir) from the existing maching built
    on 7/20/05 to new machine. Install reattempted and has successfully bypassed the
    error. cPanel will not install using current latest script on FBSD with the
    following output when attempted:




    FreeBSD detected!

    ***************** cPanel for FreeBSD ******************

    Welcome to the cPanel installer for FreeBSD.

    *******************************************************

    scripts/HTTPreq.pm -> /scripts/HTTPreq.pm
    scripts/setupmakeconf -> /scripts/setupmakeconf
    scripts/portsup -> /scripts/portsup
    scripts/pkgmap.pl -> /scripts/pkgmap.pl
    scripts/installport.pl -> /scripts/installport.pl
    scripts/fileversion.pl -> /scripts/fileversion.pl
    scripts/ensurepkg2 -> /scripts/ensurepkg2
    scripts/ensurepkg -> /scripts/ensurepkg
    scripts/cpsources.pl -> /scripts/cpsources.pl
    scripts/cpanelsync -> /scripts/cpanelsync
    scripts/cPanelRPM.pm -> /scripts/cPanelRPM.pm
    scripts/cPanelBSDPKGS.pm -> /scripts/cPanelBSDPKGS.pm
    scripts/bsdpkgpingtest -> /scripts/bsdpkgpingtest
    scripts/SafeFile.pm -> /scripts/SafeFile.pm
    scripts/RcsRecord.pm -> /scripts/RcsRecord.pm
    scripts/updatenow -> /scripts/updatenow
    5.008006 is new enough!
    Ports are out of date.. updating....
    Can't locate /scripts/pkgfixup.pl in @INC (@INC contains:
    /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6
    /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN
    /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 .) at
    /scripts/ensurepkg line 9.
    Can't locate /scripts/pkgfixup.pl in @INC (@INC contains:
    /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6
    /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN
    /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 .) at
    /scripts/ensurepkg line 9.
    FATAL: rsync install failed.
     
  2. Blapto

    Blapto Active Member

    Joined:
    May 13, 2005
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Looks like you either need to add /scripts to @INC or just run /scripts/pkgfixup.pl yourself. Never encountered this problem, so I can't be sure.
     
  3. kaosent

    kaosent Active Member

    Joined:
    Jul 12, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    That was my initial thought as well.

    I should have mentioned that I cannot find that perl file [pkgfixup.pl] in any directory of any cPanel server I currently run (including the /scripts dir just created today on this one). Maybe a typo in the install scripts? Luckily I have the /scripts dir and the /home/cpins dir from an older install on disk, otherwise I would still be running in circles trying to get this new box off the ground!
     
  4. aivanov

    aivanov Registered

    Joined:
    Aug 16, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    We had same mistake today (FreeBSD 5.4) :mad:
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Should be resolved in the newest installer
     
  6. Messiah

    Messiah Member
    PartnerNOC

    Joined:
    Jul 5, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    I know this post is a year old and whatnot, but I just ran into a similar problem. This time 'latest' was dying 'cause RcsRecord.pm wasn't in /scripts. The heart of this problem is that /scripts isn't getting downloaded properly. You can work around it by downloading the contents of /scripts manually:

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

    Once you run that, 'latest' should execute normally.
     
  7. dv2support

    dv2support Member
    PartnerNOC

    Joined:
    Oct 9, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, Messiah. I had reinstalled Perl, thinking that would fix it. Saved us a cPanel ticket for a customer.

    EDIT:
    In case Nick or anyone was wondering about the error returned:

    Can't locate RcsRecord.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . ./scripts) at /scripts/cPScript/StringFunc.pm line 14.
    BEGIN failed--compilation aborted at /scripts/cPScript/StringFunc.pm line 14.
    Compilation failed in require at /scripts/cPScript/DnsRoots.pm line 13.
    BEGIN failed--compilation aborted at /scripts/cPScript/DnsRoots.pm line 13.
    Compilation failed in require at scripts/cPScript/HttpRequest.pm line 16.
    BEGIN failed--compilation aborted at scripts/cPScript/HttpRequest.pm line 16.
    Compilation failed in require at /root/installd/perlbootstrap line 23.
    BEGIN failed--compilation aborted at /root/installd/perlbootstrap line 23.

    Luis
     
    #7 dv2support, Aug 3, 2006
    Last edited: Aug 3, 2006
  8. Messiah

    Messiah Member
    PartnerNOC

    Joined:
    Jul 5, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
  9. dv2support

    dv2support Member
    PartnerNOC

    Joined:
    Oct 9, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Okay, voting for this on bugzilla.
     
  10. dv2support

    dv2support Member
    PartnerNOC

    Joined:
    Oct 9, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    If anyone runs across this thread, they resolved the bug.
     
Loading...

Share This Page