Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Apr 2006
    Posts
    12

    Exclamation New install has boatloads of problems..

    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/cpanels...panelsync.lock (0)....@198.66.78.12......connected......receiving...100%......Done
    Fetching http://httpupdate.cpanel.net/cpanels...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. #2
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    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.
    Last edited by MMarko; 05-03-2006 at 05:49 AM.
    http://www.crohoster.com/
    quality hosting services and managed dedicated servers

  3. #3
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    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
    http://www.crohoster.com/
    quality hosting services and managed dedicated servers

  4. #4
    Member
    Join Date
    Oct 2005
    Posts
    38

    Default

    i take it you've tried to reinstall the whole thing on that server?

  5. #5
    Member
    Join Date
    Apr 2006
    Posts
    12

    Default

    This is a brand new server, the install was only done a couple of hours ago.

  6. #6
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    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.ph...48&postcount=6

  7. #7
    Member
    Join Date
    Jun 2004
    Posts
    2

    Default

    I second this issue.

    CPANEL INSTALLATION IS NOT WORKING ON BRAND NEW RESTORE SERVERS.

    OS: CentOS 4.x

  8. #8
    Member
    Join Date
    Apr 2006
    Posts
    12

    Default

    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. #9
    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

    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:

    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
    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.
    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

  10. #10
    Member
    Join Date
    Dec 2002
    Posts
    315

    Default

    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. #11
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    51

    Default

    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. #12
    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

    Then you need to install that perl module, i.e. File::Spec from cpan.
    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

Similar Threads & Tags
Similar threads

  1. Install Problems
    By droida in forum cPGS Discussions
    Replies: 5
    Last Post: 03-17-2009, 12:23 PM
  2. Install Problems
    By Lazyshot in forum New User Questions
    Replies: 8
    Last Post: 08-01-2005, 04:24 PM
  3. Install Problems
    By su1c1de in forum New User Questions
    Replies: 6
    Last Post: 07-30-2005, 11:21 AM
  4. problems with install
    By kingpin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-15-2004, 04:03 PM
  5. Install Problems?
    By bert in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2002, 03:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube