Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Error while installing cPanel on centos 7

Discussion in 'General Discussion' started by jockerdz, Jun 5, 2018.

Tags:
  1. jockerdz

    jockerdz Registered

    Joined:
    Jun 5, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Algeria
    cPanel Access Level:
    Website Owner
    Hey Guys I got a problem while i tried to install whm/cpanel in my centos root
    and i got this problem can anyone help me and thanks
    Code:
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 28138  100 28138    0     0  52257      0 --:--:-- --:--:-- --:--:-- 52204
    Verifying archive integrity... All good.
    Uncompressing cPanel & WHM Installer......
            ____                  _
        ___|  _ \ __ _ _ __   ___| |
       / __| |_) / _` | '_ \ / _ \ |
      | (__|  __/ (_| | | | |  __/ |
       \___|_|   \__,_|_| |_|\___|_|
    
      Installer Version v00072 rf2c90a8d1421f3dd879f3e389491c97fa19ffdb7
    
    Beginning main installation.
    2018-06-05 07:09:26  783 ( INFO): cPanel & WHM installation started at: Tue Jun  5 07:09:26 2018!
    2018-06-05 07:09:26  784 ( INFO): This installation will require 20-50 minutes, depending on your hardware.
    2018-06-05 07:09:26  785 ( INFO): Now is the time to go get another cup of coffee/jolt.
    2018-06-05 07:09:26  786 ( INFO): The install will log to the /var/log/cpanel-install.log file.
    2018-06-05 07:09:26  787 ( INFO):
    2018-06-05 07:09:26  788 ( INFO): Beginning Installation v3...
    2018-06-05 07:09:26  462 ( INFO): CentOS 7 (Linux) detected!
    2018-06-05 07:09:26  478 ( INFO): Checking RAM now...
    2018-06-05 07:09:26  538 ( INFO): Validating that the system hostname ('cpanel.isis-coder.com') is a FQDN...
    2018-06-05 07:09:26  562 ( INFO): Checking for NetworkManager now...
    2018-06-05 07:09:27  604 ( WARN): NetworkManager is installed, but not active.  Consider removing it.
    .....
    2018-06-05 07:09:32  574 ( INFO): Checking for essential system files...
    2018-06-05 07:09:32 1500 (DEBUG):   - ssystem [BEGIN]: /usr/bin/rdate -s rdate.cpanel.net
    2018-06-05 07:09:32 1500 (DEBUG):   - ssystem [END]
    2018-06-05 07:09:32 1502 ( INFO): The system set the clock to: Tue Jun  5 07:09:32 2018
    2018-06-05 07:09:32 1512 ( INFO): The system changed the clock by 0 seconds.
    2018-06-05 07:09:32 1275 ( INFO): The installation process will now set up the necessary empty cpanel directories.
    2018-06-05 07:09:32 1296 ( INFO): The installation process will now ensure that GPG is set up properly before it imports keys.
    2018-06-05 07:09:32 1299 ( INFO): The installation process will now import GPG keys for yum.
    2018-06-05 07:09:32 1190 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS to the TIERS file...
    2018-06-05 07:09:32 1190 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS.asc to the TIERS.asc file...
    2018-06-05 07:09:32 1702 ( INFO): Downloading GPG public key, cPanelPublicKey.asc
    2018-06-05 07:09:32 1667 ( INFO): Valid signature for TIERS
    2018-06-05 07:09:32  159 ( INFO): Running health checks prior to start.
    2018-06-05 07:09:32 1080 ( INFO): Validating whether the system can look up domains...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing cpanel.net...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing www.cpanel.net...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing updates.cpanel.net...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing httpupdate.cpanel.net...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing layer2.cpanel.net...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing layer1.cpanel.net...
    2018-06-05 07:09:32 1092 (DEBUG):   Testing www.google.com...
    2018-06-05 07:09:34 1127 ( INFO): The system successfully connected to the httpupdate.cpanel.net server.
    2018-06-05 07:09:34  664 ( INFO): cPanel Layer 1 Installer Starting...
    2018-06-05 07:09:34  665 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
    2018-06-05 07:09:34  666 ( INFO): -------------------------------------------------------
    2018-06-05 07:09:34  667 ( INFO): cPanel requires a fresh, clean server!
    2018-06-05 07:09:34  668 ( INFO): If you serve websites from this server, this installer
    2018-06-05 07:09:34  669 ( INFO): will overwrite all of your configuration files.
    2018-06-05 07:09:34  670 ( INFO): Hit Ctrl+C NOW!
    2018-06-05 07:09:34  671 ( INFO): If this is a new server, please ignore this message.
    2018-06-05 07:09:34  672 ( INFO): -------------------------------------------------------
    2018-06-05 07:09:34  673 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
    2018-06-05 07:09:34  674 ( INFO): Waiting 5 seconds...
    2018-06-05 07:09:34  675 ( INFO):
    2018-06-05 07:09:34  676 ( INFO):
    2018-06-05 07:09:39  679 ( INFO): Checking for any control panels...
    2018-06-05 07:09:39  705 ( INFO): Checking for an existing MySQL or MariaDB instance...
    2018-06-05 07:09:39  176 (DEBUG):   Parsing command line arguments.
    2018-06-05 07:09:39  387 ( INFO): Install type: standard
    2018-06-05 07:09:39  190 (DEBUG):   - ssystem [BEGIN]: /usr/sbin/setenforce 0
    2018-06-05 07:09:39  190 (DEBUG):     /usr/sbin/setenforce: SELinux is disabled
    2018-06-05 07:09:39  190 (DEBUG):   - ssystem [END]
    2018-06-05 07:09:39 1500 (DEBUG):   - ssystem [BEGIN]: /usr/bin/rdate -s rdate.cpanel.net
    2018-06-05 07:09:39 1500 (DEBUG):   - ssystem [END]
    2018-06-05 07:09:39 1502 ( INFO): The system set the clock to: Tue Jun  5 07:09:39 2018
    2018-06-05 07:09:39 1512 ( INFO): The system changed the clock by 0 seconds.
    2018-06-05 07:09:39  199 ( INFO): Installing cPanel & WHM LTS version 70.
    2018-06-05 07:09:39  798 ( INFO): Installing the fastest mirror plugin...
    2018-06-05 07:09:39  799 (DEBUG):   - ssystem [BEGIN]: yum clean all
    2018-06-05 07:09:39  799 (DEBUG):     Loaded plugins: fastestmirror
    2018-06-05 07:09:39  799 (DEBUG):     Cleaning repos: base epel extras updates
    2018-06-05 07:09:39  799 (DEBUG):     Cleaning up everything
    2018-06-05 07:09:39  799 (DEBUG):     Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
    2018-06-05 07:09:39  799 (DEBUG):     Cleaning up list of fastest mirrors
    2018-06-05 07:09:39  799 (DEBUG):   - ssystem [END]
    2018-06-05 07:09:39  800 (DEBUG):   - ssystem [BEGIN]: yum -y install yum-fastestmirror
    2018-06-05 07:09:40  800 (DEBUG):     Loaded plugins: fastestmirror
    2018-06-05 07:09:40  800 (DEBUG):     Determining fastest mirrors
    2018-06-05 07:09:51  800 (DEBUG):      * base: mirror.keystealth.org
    2018-06-05 07:09:51  800 (DEBUG):      * epel: mirrors.develooper.com
    2018-06-05 07:09:51  800 (DEBUG):      * extras: mirrors.syringanetworks.net
    2018-06-05 07:09:51  800 (DEBUG):      * updates: centos.mirror.ndchost.com
    2018-06-05 07:10:07  800 (DEBUG):     Package yum-plugin-fastestmirror-1.1.31-45.el7.noarch already installed and latest version
    2018-06-05 07:10:07  800 (DEBUG):     Nothing to do
    2018-06-05 07:10:07  800 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:07  801 (DEBUG):   - ssystem [BEGIN]: yum clean all
    2018-06-05 07:10:08  801 (DEBUG):     Loaded plugins: fastestmirror
    2018-06-05 07:10:08  801 (DEBUG):     Cleaning repos: base epel extras updates
    2018-06-05 07:10:08  801 (DEBUG):     Cleaning up everything
    2018-06-05 07:10:08  801 (DEBUG):     Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
    2018-06-05 07:10:08  801 (DEBUG):     Cleaning up list of fastest mirrors
    2018-06-05 07:10:08  801 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:08  840 ( INFO): Installing Perl development packages so that the system's Perl can install from CPAN...
    2018-06-05 07:10:08  286 (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install perl-devel perl-CPAN perl-File-Copy-Recursive perl-Module-Build perl-core perl-libwww-perl crontabs sysstat
    2018-06-05 07:10:08  286 (DEBUG):     Loaded plugins: fastestmirror
    2018-06-05 07:10:08  286 (DEBUG):     Determining fastest mirrors
    2018-06-05 07:10:18  286 (DEBUG):      * base: mirror.keystealth.org
    2018-06-05 07:10:18  286 (DEBUG):      * epel: mirrors.develooper.com
    2018-06-05 07:10:18  286 (DEBUG):      * extras: mirrors.syringanetworks.net
    2018-06-05 07:10:18  286 (DEBUG):      * updates: repos.lax.quadranet.com
    2018-06-05 07:10:33  286 (DEBUG):     Package 4:perl-devel-5.16.3-292.el7.x86_64 already installed and latest version
    2018-06-05 07:10:33  286 (DEBUG):     Package perl-CPAN-1.9800-292.el7.noarch already installed and latest version
    2018-06-05 07:10:33  286 (DEBUG):     Package perl-File-Copy-Recursive-0.38-14.el7.noarch already installed and latest version
    2018-06-05 07:10:34  286 (DEBUG):     Package 2:perl-Module-Build-0.40.05-2.el7.noarch already installed and latest version
    2018-06-05 07:10:34  286 (DEBUG):     Package perl-core-5.16.3-292.el7.x86_64 already installed and latest version
    2018-06-05 07:10:34  286 (DEBUG):     Package perl-libwww-perl-6.05-2.el7.noarch already installed and latest version
    2018-06-05 07:10:34  286 (DEBUG):     Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version
    2018-06-05 07:10:34  286 (DEBUG):     Package sysstat-10.1.5-13.el7.x86_64 already installed and latest version
    2018-06-05 07:10:34  286 (DEBUG):     Nothing to do
    2018-06-05 07:10:34  286 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:34  846 (DEBUG):   - ssystem [BEGIN]: touch /etc/checkyumdisable
    2018-06-05 07:10:34  846 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:34  286 (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install kernel-headers
    2018-06-05 07:10:35  286 (DEBUG):     Loaded plugins: fastestmirror
    2018-06-05 07:10:35  286 (DEBUG):     Loading mirror speeds from cached hostfile
    2018-06-05 07:10:35  286 (DEBUG):      * base: mirror.keystealth.org
    2018-06-05 07:10:35  286 (DEBUG):      * epel: mirrors.develooper.com
    2018-06-05 07:10:35  286 (DEBUG):      * extras: mirrors.syringanetworks.net
    2018-06-05 07:10:35  286 (DEBUG):      * updates: repos.lax.quadranet.com
    2018-06-05 07:10:36  286 (DEBUG):     Package kernel-headers-3.10.0-862.3.2.el7.x86_64 already installed and latest version
    2018-06-05 07:10:36  286 (DEBUG):     Nothing to do
    2018-06-05 07:10:36  286 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:36  286 (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y update
    2018-06-05 07:10:36  286 (DEBUG):     Loaded plugins: fastestmirror
    2018-06-05 07:10:36  286 (DEBUG):     Loading mirror speeds from cached hostfile
    2018-06-05 07:10:36  286 (DEBUG):      * base: mirror.keystealth.org
    2018-06-05 07:10:36  286 (DEBUG):      * epel: mirrors.develooper.com
    2018-06-05 07:10:36  286 (DEBUG):      * extras: mirrors.syringanetworks.net
    2018-06-05 07:10:36  286 (DEBUG):      * updates: repos.lax.quadranet.com
    2018-06-05 07:10:37  286 (DEBUG):     No packages marked for update
    2018-06-05 07:10:37  286 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:37  905 ( INFO): Ensuring that prelink is disabled...
    2018-06-05 07:10:37  914 ( INFO): Ensuring that conflicting services are not installed...
    2018-06-05 07:10:40  923 ( INFO): Removing conflicting service references from the RPM database (but leaving the services installed)...
    2018-06-05 07:10:41  941 ( INFO): Installing /usr/local/cpanel files...
    2018-06-05 07:10:41  943 (DEBUG):   HTTPUPDATE is set to httpupdate.cpanel.net
    2018-06-05 07:10:41  964 (DEBUG):   /scripts symlink is set to point to /usr/local/cpanel/scripts
    2018-06-05 07:10:41  973 ( INFO): Installing bootstrap cPanel Perl
    2018-06-05 07:10:41  983 (DEBUG):   Retrieving the fix-cpanel-perl file from /cpanelsync/11.70.0.48/cpanel/scripts/fix-cpanel-perl.xz if available...
    2018-06-05 07:10:41 1190 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.70.0.48/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-perl.xz file...
    2018-06-05 07:10:42 1196 ( WARN): The system could not fetch the optional fix-cpanel-perl.xz file.
    2018-06-05 07:10:42  989 ( WARN): Script 'fix-cpanel-perl' is not available for cPanel & WHM version 11.70.0.48. Continuing installation...
    2018-06-05 07:10:42 1024 ( INFO): Downloading updatenow.static
    2018-06-05 07:10:42 1031 (DEBUG):   Retrieving the updatenow.static file from /cpanelsync/11.70.0.48/cpanel/scripts/updatenow.static.bz2...
    2018-06-05 07:10:42 1190 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.70.0.48/cpanel/scripts/updatenow.static.bz2 to the updatenow.static.bz2 file...
    2018-06-05 07:10:42 1156 (DEBUG):   - ssystem [BEGIN]: /usr/bin/bunzip2 updatenow.static.bz2
    2018-06-05 07:10:43 1156 (DEBUG):   - ssystem [END]
    2018-06-05 07:10:43 1190 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.70.0.48/cpanel/scripts/updatenow.static.asc to the updatenow.static.asc file...
    2018-06-05 07:10:43 1667 ( INFO): Valid signature for updatenow.static
    2018-06-05 07:10:43 1040 ( INFO): Closing the installation log and passing output control to the updatenow.static file...
    Name "Cpanel::Config::LoadUserDomains::counttrueuserdomains" used only once: possible typo at ./updatenow.static line 11018.
    Name "Cpanel::Config::LoadCpUserFile::has_cpuser_file" used only once: possible typo at ./updatenow.static line 18744.
    Name "Cpanel::DIp::MainIP::clear_configured_ips_cache" used only once: possible typo at ./updatenow.static line 17848.
    JSON::XS is not available (attempting to ignore). at ./updatenow.static line 11219.
    YAML::Syck is not available (attempting to ignore). at ./updatenow.static line 21037.
    YAML::Syck is not available (attempting to ignore). at ./updatenow.static line 32566.
    [2018-06-05 07:10:43 -0400]   Running version '11.70.0.48' of updatenow.
    [2018-06-05 07:10:43 -0400]   --force passed on command line. Upgrade will disregard update config settings.
    [2018-06-05 07:10:43 -0400]   Falling back to traditional TIERS version file
    [2018-06-05 07:10:43 -0400]   Using mirror '209.85.80.214' for host 'httpupdate.cpanel.net'.
    [2018-06-05 07:10:44 -0400]   Successfully verified signature for cpanel (key types: release).
    [2018-06-05 07:10:44 -0400]   Target version set to '11.70.0.48'
    [2018-06-05 07:10:44 -0400]   Initial cPanel installation detected as in progress.
    [2018-06-05 07:10:44 -0400]   Checking license
    [2018-06-05 07:10:44 -0400]   Installation in progress. Skipping license check.
    [2018-06-05 07:10:44 -0400] E Blocker found: cPanel & WHM cannot update due to insufficient disk space in the staging directory, '/usr/local/cpanel'. The system requires 3 GB to update; this directory only has 1.93 GB available. The system failed to find a new staging directory with enough space to update. You can either clear enough disk space or select a new staging directory with enough disk space at Update Preferences interface.
    info [updatenow] upcp:: Notification => root@cpanel.isis-code***** via EMAIL [eventimportance => High (1)]
    warn [updatenow] Failed to send notification of type “EMAIL”: (XID hss7e9) The system failed to load the module “Cpanel::iContact::Provider::Email” because of an error: Can't locate Cpanel/iContact/Provider/Email.pm in @INC (@INC contains: /var/cpanel/perl /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 29) line 1.
    BEGIN failed--compilation aborted at (eval 29) line 1.
    
    [2018-06-05 07:10:44 -0400]   Checking that the RPM DB is OK...
    [2018-06-05 07:10:44 -0400]   glibc-2.17-222.el7.x86_64
    [2018-06-05 07:10:44 -0400]   OK: RPM DB is responding to queries
    [2018-06-05 07:10:44 -0400]   Testing if rpm_is_working RPM is installed
    [2018-06-05 07:10:44 -0400]   package rpm_is_working is not installed
    Wide character in print at ./updatenow.static line 11579.
    info [updatenow] upcp:: Notification => root@cpanel.isis-code***** via EMAIL [eventimportance => High (1)]
    warn [updatenow] Failed to send notification of type “EMAIL”: (XID ynkfbw) The system failed to load the module “Cpanel::iContact::Provider::Email” because of an error: Can't locate Cpanel/iContact/Provider/Email.pm in @INC (@INC contains: /var/cpanel/perl /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 33) line 1.
    BEGIN failed--compilation aborted at (eval 33) line 1.
    
    [2018-06-05 07:10:44 -0400] W An attempt to up/downgrade to 11.70.0.48 was blocked. Please review blockers.
    [2018-06-05 07:10:44 -0400] E The install encountered an error: An attempt to up/downgrade to 11.70.0.48 was blocked. Please review blockers.
    Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz5373/install line 221.
    2018-06-05 07:10:44  223 (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
    Removing /root/installer.lock.

    Help me and thanks forever.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jockerdz,

    I've seen that error message appear when the server is out of disk space or inodes. Can you check to verify sufficient disk space and inodes are available? For example:

    Code:
    df -h
    df -i
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jockerdz

    jockerdz Registered

    Joined:
    Jun 5, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Algeria
    cPanel Access Level:
    Website Owner
    hey thanks for reply i think there was a problem of capacity in my sever
    Code:
     df -i
    Filesystem     Inodes IUsed  IFree IUse% Mounted on
    /dev/vda1      245760 36791 208969   15% /
    devtmpfs       189115   348 188767    1% /dev
    tmpfs          191497     1 191496    1% /dev/shm
    tmpfs          191497   386 191111    1% /run
    tmpfs          191497    16 191481    1% /sys/fs/cgroup
    tmpfs          191497     1 191496    1% /run/user/0
    
    df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/vda1       3.7G  1.6G  1.9G  45% /
    devtmpfs        739M     0  739M   0% /dev
    tmpfs           749M     0  749M   0% /dev/shm
    tmpfs           749M   26M  723M   4% /run
    tmpfs           749M     0  749M   0% /sys/fs/cgroup
    tmpfs           150M     0  150M   0% /run/user/0
    Btwn is there any solution and Thanks again
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jockerdz

    jockerdz Registered

    Joined:
    Jun 5, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Algeria
    cPanel Access Level:
    Website Owner
    oky thank you have nice day <3
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice