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 failed

Discussion in 'General Discussion' started by AlainBelez, May 17, 2015.

  1. AlainBelez

    AlainBelez Registered

    Joined:
    May 17, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Manila
    cPanel Access Level:
    Website Owner
    I'm using CentOS 7 with Edge build
    Code:
    [2015-05-18 04:15:39 +0000]   Downloading http://httpupdate.cpanel.net/RPM/11.48                                     /centos/7/x86_64/MySQL55-devel-5.5.42-4.cp1148.x86_64.rpm
    [2015-05-18 04:16:15 +0000] ***** FATAL: Digest for MySQL55-devel-5.5.42-4.cp114                                     8.x86_64.rpm is different from expected
    [2015-05-18 04:16:15 +0000]   The Administrator will be notified to review this                                      output when this script completes
    [2015-05-18 04:16:15 +0000] ***** FATAL: Error staging RPM files: Digest for MyS                                     QL55-devel-5.5.42-4.cp1148.x86_64.rpm is different from expected at /usr/local/c                                     panel/scripts-cpanelsync/updatenow.static-cpanelsync line 34612.
    [2015-05-18 04:16:15 +0000]   see http://go.cpanel.net/rpmcheckfailed for more i                                     nformation
    [2015-05-18 04:16:15 +0000]   The Administrator will be notified to review this                                      output when this script completes
    [2015-05-18 04:16:15 +0000] E Detected events which require user notification du                                     ring updatenow. Will send iContact the log
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    info [updatenow] upcp Notification => root@li866-87.members.linode.com via EMAIL                                      [level => 1]
    Cpanel::iContact: icontact /usr/sbin/sendmail is not executable by 0
    info [updatenow] No such locale as 'en'
    Cpanel::iContact: icontact broken pipe
    
     
  2. AlainBelez

    AlainBelez Registered

    Joined:
    May 17, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Manila
    cPanel Access Level:
    Website Owner
    tried reinstalling...
    Code:
    [2015-05-18 08:54:15 +0000]   Downloading http://httpupdate.cpanel.net/RPM/11.42/centos/7/x86_64/cpanel-open_sans-devel-1.0-2.cp1142.noarch.rpm
    [2015-05-18 08:54:22 +0000] ***** FATAL: Digest for cpanel-open_sans-devel-1.0-2.cp1142.noarch.rpm is different from expected
    [2015-05-18 08:54:22 +0000]   The Administrator will be notified to review this output when this script completes
    [2015-05-18 08:54:22 +0000] ***** FATAL: Error staging RPM files: Digest for cpanel-open_sans-devel-1.0-2.cp1142.noarch.rpm is different from expected at /usr/local/cpanel/scripts-cpanelsync/updatenow.static-cpanelsync line 34612.
    [2015-05-18 08:54:22 +0000]   see http://go.cpanel.net/rpmcheckfailed for more information
    [2015-05-18 08:54:22 +0000]   The Administrator will be notified to review this output when this script completes
    [2015-05-18 08:54:22 +0000] E Detected events which require user notification during updatenow. Will send iContact the log
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    info [updatenow] upcp Notification => root@li866-87.members.linode.com via EMAIL [level => 1]
    Cpanel::iContact: icontact /usr/sbin/sendmail is not executable by 0
    info [updatenow] No such locale as 'en'
    Cpanel::iContact: icontact broken pipe
    
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Is there sufficient space to complete the installation?

    Also, note you are welcome to submit a support ticket with us if you want us to take a closer look and determine why the installation fails. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Are you using the CentOS 7 image as provided by Linode?
     
  5. kamyana

    kamyana Member

    Joined:
    Apr 5, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    I am also getting following error while running the install script

    Code:
    [20150521.155852] ***** FATAL: Failed to download updatenow.static from server: This program cannot function without an executable /usr/bin/lsattr at ./updatenow.static line 37937.
    [20150521.155852]   The Administrator will be notified to review this output when this script completes
    [20150521.155852] E Detected events which require user notification during updatenow. Will send iContact the log
    info [updatenow] No such locale as 'en'
    info [updatenow] upcp Notification => [EMAIL]root@kw1.domain.pk[/EMAIL] via EMAIL [level => 1]
    Cpanel::iContact: icontact /usr/sbin/sendmail is not executable by 0
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    Undefined subroutine &Cpanel::CPAN::I18N::LangTags::Detect::locale2language_tag called at ./updatenow.static line 21207.
    2015-05-21 15:58:53  650 (DEBUG):   The installation process detected a failed synchronization. The system will reattempt the synchronization with the updatenow.static file...
    2015-05-21 15:58:53  656 (FATAL): The installation process was unable to synchronize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.
    
    
     
    #5 kamyana, May 21, 2015
    Last edited by a moderator: May 22, 2015
  6. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    if getting above error then the most probably reason is that /usr/bin/lsattr not existing and you can confirm this with the command :
    lsattr /bin/ls
    -bash: lsattr: command not found

    it means its missing so you need to install it with :



    “yum install e2fsprogs” in which e2fsprogs is what provides /usr/bin/lsattr

    Now run cpanel installation, it should be completed
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, as mentioned, this should address the error message you encountered. Note that it's a separate error message compared to what the original poster reported.

    Thank you.
     
  8. encikacop

    encikacop Member

    Joined:
    Jun 29, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I encountered the following error:

    Code:
    [2015-09-07 21:24:19 +0800]   Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/7/x86_64/cpanel-perl-514-Diff-LibXDiff-0.05-1.cp1146.x86_64.rpm
    [2015-09-07 21:24:20 +0800]   Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/7/x86_64/cpanel-perl-514-Config-Tiny-2.20-1.cp1146.x86_64.rpm
    [2015-09-07 21:24:21 +0800] ***** FATAL: Digest for cpanel-perl-514-Config-Tiny-2.20-1.cp1146.x86_64.rpm is different from expected
    [2015-09-07 21:24:21 +0800]   The Administrator will be notified to review this output when this script completes
    [2015-09-07 21:24:21 +0800] ***** FATAL: Error staging RPM files: Digest for cpanel-perl-514-Config-Tiny-2.20-1.cp1146.x86_64.rpm is different from expected at ./updatenow.static line 34693.
    [2015-09-07 21:24:21 +0800]   see http://go.cpanel.net/rpmcheckfailed for more information
    [2015-09-07 21:24:21 +0800]   The Administrator will be notified to review this output when this script completes
    [2015-09-07 21:24:21 +0800] E Detected events which require user notification during updatenow. Will send iContact the log
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    info [updatenow] upcp Notification => root@cpanel.domain.local via EMAIL [level => High (1)]
    Cpanel::iContact: icontact /usr/sbin/sendmail is not executable by 0
    info [updatenow] No such locale as 'en'
    Cpanel::iContact: icontact broken pipe
    warn [updatenow] Error while writing email: Attempted to create a “ModuleLoadError” exception with arguments “HASH(0x66805c8)” while creating exception “IO::WriteError” with arguments “HASH(0x664e650)”. at ./updatenow.static line 1800.
            Cpanel::Exception::create('ModuleLoadError', 'HASH(0x66805c8)') called at ./updatenow.static line 1691
            Cpanel::LoadModule::load_perl_module('Cpanel::Exception::IO::WriteError') called at ./updatenow.static line 1816
            Cpanel::Exception::create('IO::WriteError', 'HASH(0x664e650)') called at ./updatenow.static line 4120
            Cpanel::Autodie::print(undef, 'An error was detected which prevented updatenow from completi...') called at ./updatenow.static line 28240
            Cpanel::Email::Object::_send_msg_into_fh('Cpanel::Email::Object=HASH(0x66ac9e0)', 'SCALAR(0x2788fa8)', 'GLOB(0x656daf8)') called at ./updatenow.static line 28139
            Cpanel::Email::Object::_print_body_part('Cpanel::Email::Object=HASH(0x66ac9e0)', 'GLOB(0x656daf8)', 'text_body', 'text/plain') called at ./updatenow.static line 28170
            Cpanel::Email::Object::_print_full_body('Cpanel::Email::Object=HASH(0x66ac9e0)', 'GLOB(0x656daf8)') called at ./updatenow.static line 28084
            Cpanel::Email::Object::print('Cpanel::Email::Object=HASH(0x66ac9e0)', 'GLOB(0x656daf8)') called at ./updatenow.static line 3939
            Cpanel::iContact::__ANON__() called at ./updatenow.static line 393
            eval {...} called at ./updatenow.static line 384
            Try::Tiny::try('CODE(0x6636730)', 'Try::Tiny::Catch=REF(0x348f540)') called at ./updatenow.static line 3946
            Cpanel::iContact::write_email_to_fh('GLOB(0x656daf8)', 'to', 'ARRAY(0x65ea110)', 'subject', '[cpanel.domain.local] cPanel update failure during updatenow', 'from', 'cPanel on cpanel.domain.local <cpanel@cpanel.domain.local>', 'html_related', undef, ...) called at ./updatenow.static line 3880
            Cpanel::iContact::__ANON__(__CPANEL_HIDDEN__) called at ./updatenow.static line 29322
            Cpanel::SafeRun::Object::new('Cpanel::SafeRun::Object', 'program', '/usr/sbin/sendmail', 'args', 'ARRAY(0x641f168)', 'stdin', 'CODE(0x6252678)') called at ./updatenow.static line 3882
            Cpanel::iContact::_sendemail('to', 'ARRAY(0x65ea110)', 'html_related', undef, 'from', 'cPanel on cpanel.domain.local <cpanel@cpanel.domain.local>', 'subject', '[cpanel.domain.local] cPanel update failure during updatenow', 'text_body', ...) called at ./updatenow.static line 3608
            Cpanel::iContact::_send_notifications('HASH(0x2788ae0)', 'HASH(0x27a22f0)', 'ARRAY(0x4103218)') called at ./updatenow.static line 3572
            Cpanel::iContact::icontact('application', 'upcp', 'subject', 'cPanel update failure during updatenow', 'message', 'An error was detected which prevented updatenow from completi...') called at ./updatenow.static line 1558
            Cpanel::Update::Now::send_icontact_noclass_notification('Cpanel::Update::Now=HASH(0x261c360)', '-------------------------------------------------------------...') called at ./updatenow.static line 1513
            Cpanel::Update::Now::notify('Cpanel::Update::Now=HASH(0x261c360)') called at ./updatenow.static line 1471
            Cpanel::Update::Now::terminate('Cpanel::Update::Now=HASH(0x261c360)', '') called at ./updatenow.static line 51203
    
    close() failed: No such file or directory at ./updatenow.static line 29345.
    [2015-09-07 21:50:50 +0800]   Removing staged files and directories for x3mail
    [2015-09-07 21:50:50 +0800]   Removing staged files and directories for x3
    [2015-09-07 21:50:50 +0800]   Removing staged files and directories for binaries/linux-c7-x86_64, cpanel
    Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz64467/install line 161.
    2015-09-07 21:50:52  163 (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
    Removing /root/installer.lock.
    I tried to install cPanel locally on my test VMware, CentOS 7 64bit minimal installation. Submitting support ticket is impossible without Support Access ID (as I'm still evaluating and cPanel failed during installation). lsattr is there:

    Code:
    [root@cpanel ~]# which lsattr
    /usr/bin/lsattr
    Any ideas?
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  10. encikacop

    encikacop Member

    Joined:
    Jun 29, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    There is no upcp. The cPanel installation didn't finish:
    Code:
    [root@cpanel home]# ls -al /scripts
    lrwxrwxrwx 1 root root 25 Sep  9 18:26 /scripts -> /usr/local/cpanel/scripts
    [root@cpanel home]# ls -al /usr/local/cpanel/scripts
    ls: cannot access /usr/local/cpanel/scripts: No such file or directory
    Output of df -h:
    Code:
    [root@cpanel home]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup-lv_root
                           18G  1.9G   15G  12% /
    tmpfs                 1.9G     0  1.9G   0% /dev/shm
    /dev/sda1             477M   52M  400M  12% /boot
    /dev/sdb1              40G   48M   38G   1% /home
    Today I retried again with CentOS 6.6 minimal installation and I got the similar error, but for different package:
    Code:
    [2015-09-09 20:13:19 +0800]   cpanel-perl-514-Net-Whois-IANA-0.41-4.cp1146.x86_64.rpm already downloaded
    [2015-09-09 20:13:19 +0800]   cpanel-perl-514-Clone-0.36-1.cp1146.x86_64.rpm already downloaded
    [2015-09-09 20:13:19 +0800]   Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/cpanel-php54-Date-Holidays-Australia-0.2.1-1.cp1150.noarch.rpm
    [2015-09-09 20:13:21 +0800] ***** FATAL: Digest for cpanel-php54-Date-Holidays-Australia-0.2.1-1.cp1150.noarch.rpm is different from expected
    [2015-09-09 20:13:21 +0800]   The Administrator will be notified to review this output when this script completes
    [2015-09-09 20:13:21 +0800] ***** FATAL: Error staging RPM files: Digest for cpanel-php54-Date-Holidays-Australia-0.2.1-1.cp1150.noarch.rpm is different from expected at ./updatenow.static line 34693.[2015-09-09 20:13:21 +0800]   see http://go.cpanel.net/rpmcheckfailed for more information
    [2015-09-09 20:13:21 +0800]   The Administrator will be notified to review this output when this script completes
    [2015-09-09 20:13:21 +0800] E Detected events which require user notification during updatenow. Will send iContact the log
    info [updatenow] No such locale as 'en'
    info [updatenow] No such locale as 'en'
    info [updatenow] upcp Notification => root@cpanel.domain.local via EMAIL [level => High (1)]
    Cpanel::iContact: icontact /usr/sbin/sendmail is not executable by 0
    info [updatenow] No such locale as 'en'
    Cpanel::iContact: icontact broken pipe
    warn [updatenow] Error while writing email:
    Cpanel::iContact: icontact broken pipe
    close() failed: Broken pipe at ./updatenow.static line 29345.
    [2015-09-09 20:38:40 +0800]   Removing staged files and directories for binaries/linux-c6-x86_64, cpanel
    [2015-09-09 20:38:41 +0800]   Removing staged files and directories for x3
    [2015-09-09 20:38:42 +0800]   Removing staged files and directories for x3mail
    Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz2221/install line 161.
    2015-09-09 20:38:42  163 (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
    Removing /root/installer.lock.
    Signal caught, cleaning up
    Any ideas?
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Note that you can email cs[@]cpanel.net directly if you are unable to obtain a support ID and request they direct your issue to our technical support team.

    Thank you.
     
Loading...

Share This Page