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.

New install has boatloads of problems..

Discussion in 'General Discussion' started by azzawazzi, May 3, 2006.

  1. azzawazzi

    azzawazzi Member

    Joined:
    Apr 21, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    We have over 20 cpanel servers all running 10.8.1-C112 (we're not game enough to move them off it), and today we got a new server.

    Did the install same way as normal. CentOS 4.3 etc.

    Install seemed to go fine.

    I notice something was strange as soon as I went into WHM the first time, it's running 10.8.2-R63 and all the entries in the initial "basic WHM setup" page were ALL blank.

    I filled them all in, all seemed fine after now.

    Now the problems start:

    1) It's running ProFTPD, not PureFTP. I clicked "Change to PureFTP", says it was installed, but it does nothing.

    2) Tried to do a cPanel Update to latest current build but get this:

    Updating /scripts ...
    Sync Source: http://httpupdate.cpanel.net/CURRENT/scripts
    Fetching http://httpupdate.cpanel.net/cpanelsync/CURRENT/scripts/.cpanelsync.lock (0)....@198.66.78.12......connected......receiving...100%......Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/CURRENT/scripts/.cpanelsync.bz2 (0)....@198.66.78.12......connected......receiving...31%...62%...94%...100%......Done
    Done updating /scripts
    Can't locate File/Spec.pm in @INC (@INC contains: /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.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /scripts /scripts /scripts /scripts) at /usr/lib/perl5/5.8.7/File/Spec/Functions.pm line 3.
    BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.7/File/Spec/Functions.pm line 3.
    Compilation failed in require at /scripts/cPScript/cPanelFunctions.pm line 18.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPanelFunctions.pm line 18.
    Compilation failed in require at /scripts/cPScript/SysPkgs.pm line 13.
    BEGIN failed--compilation aborted at /scripts/cPScript/SysPkgs.pm line 13.
    Compilation failed in require at /scripts/checksyspkgsetup line 10.
    BEGIN failed--compilation aborted at /scripts/checksyspkgsetup line 10.
    Can't locate File/Spec.pm in @INC (@INC contains: /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.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /scripts /scripts /scripts) at /usr/lib/perl5/5.8.7/File/Spec/Functions.pm line 3.
    BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.7/File/Spec/Functions.pm line 3.
    Compilation failed in require at /scripts/cPScript/cPanelFunctions.pm line 18.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPanelFunctions.pm line 18.
    Compilation failed in require at /scripts/fixbinpath line 12.
    BEGIN failed--compilation aborted at /scripts/fixbinpath line 12.

    And just goes on for pages and pages of this.

    Does anyone know whats gone wrong? I've never seen cPanel do anything like this before.
     
  2. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    Mysql is failing and generating tons of errors on centos 3.7. damn!

    To be more specific, there are some kind of out of memory errors reported by mysql. But there is enough memory.
     
    #2 MMarko, May 3, 2006
    Last edited: May 3, 2006
  3. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    mysql errors after upgrading to latest release

    Code:
    060503 12:04:02 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:02 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:02 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:02 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:02 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:02 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:04 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:06 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:06 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:07 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:08 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:08 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:08 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:08 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:08 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 16391 bytes)
    060503 12:04:09 [ERROR] Can't create thread to kill server
    
    Number of processes running now: 0
    060503 12:04:45  mysqld restarted
    060503 12:04:46  InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    060503 12:04:46  InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 433377.
    InnoDB: Doing recovery: scanned up to log sequence number 0 433377
    060503 12:04:46  InnoDB: Flushing modified pages from the buffer pool...
    060503 12:04:46  InnoDB: Started; log sequence number 0 433377
    
     
  4. Luciel

    Luciel Active Member

    Joined:
    Oct 13, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    i take it you've tried to reinstall the whole thing on that server?
     
  5. azzawazzi

    azzawazzi Member

    Joined:
    Apr 21, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    This is a brand new server, the install was only done a couple of hours ago. :eek:
     
  6. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Well, the error at the start of the update output is:

    Code:
    Can't locate File/Spec.pm in @INC
    This might indicate a missing Perl module, given the path it lists for @INC.

    What do you get for:

    Code:
    locate -u
    locate Spec.pm
    and have you tried reinstalling Perl?

    http://forums.cpanel.net/showpost.php?p=247948&postcount=6
     
  7. TIMESWAY

    TIMESWAY Registered

    Joined:
    Jun 8, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I second this issue.

    CPANEL INSTALLATION IS NOT WORKING ON BRAND NEW RESTORE SERVERS.

    OS: CentOS 4.x
     
  8. azzawazzi

    azzawazzi Member

    Joined:
    Apr 21, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I tried reinstalling PERL, but it gives the same errors as the cpanel update.

    I've tried upgrading to a number of latest versions but it's not doing a thing.

    Can anyone from cPanel shed some light on this? It's very annoying having a server sitting there not being used.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you want help from cPanel you'll need to log a ticket with them through your cPanel license provider.

    I'm not seeing any problems. If File::Spec is missing it would suggest an incomplete server installation of perl before cPanel is installed as that's a standard perl module.

    Either way, if you install that perl module in the normal way from cpan you should then be able to continue.

    One thing that doesn't make sense is that you say this is a new server, but your output shows this:

    Which suggests that you have 7 versions of perl installed. That seems mighty odd for a new server. I'd suggest you wipe it and install it on a clean OS build which that clearly isn't.
     
  10. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    Ya. The last install I did a couple of days ago has quite a number issues. But if you trace the error and fix them individually, you will get a working cpanel.

    Start with the first:

    cpan install File::Spec

    or if you have working /scripts

    /scripts/perlinstaller File::Spec


    just work through it and you can get it working. It's not what I like to do but ya, whenever cpanel do a lot of changes at a shot, lots of things get broken

    (example now I got this error: Unknown License File Version on existing servers ;) )
     
  11. consultorpc

    consultorpc Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    We have the same problem on a new fresh system:

    Can't locate File/Spec.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.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .)

    Did you fixed it ?
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Then you need to install that perl module, i.e. File::Spec from cpan.
     
Loading...

Share This Page