Updating cPanel Issue
I can not open a call because I do not have access to WHM and using the command:
/usr/local/cpanel/cpanel -S
I get the error:
When trying to follow what I was suggesting in this post I get the following lines:
root@server - example.org [~]# /usr/local/cpanel/cpanel -S
-bash: /usr/local/cpanel/cpanel: No such file or directory
When trying to follow what I was suggesting in this post I get the following lines:
root@server - example.org [/home]# cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest --skip-cloudlinux
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27475 100 27475 0 0 33537 0 --:--:-- --:--:-- --:--:-- 33506
Verifying archive integrity... All good.
Uncompressing cPanel & WHM Installer......
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | '_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|
Installer Version v00071 r567a617660c2d5c38ae1649f5ede2067aee6ee7e
Beginning main installation.
2018-05-16 20:36:00 777 ( INFO): cPanel & WHM installation started at: Wed May 16 20:36:00 2018!
2018-05-16 20:36:00 778 ( INFO): This installation will require 20-50 minutes, depending on your hardware.
2018-05-16 20:36:00 779 ( INFO): Now is the time to go get another cup of coffee/jolt.
2018-05-16 20:36:00 780 ( INFO): The install will log to the /var/log/cpanel-install.log file.
2018-05-16 20:36:00 781 ( INFO):
2018-05-16 20:36:00 782 ( INFO): Beginning Installation v3...
2018-05-16 20:36:00 456 ( INFO): cloudlinux 7.5 (Linux) detected!
2018-05-16 20:36:00 472 ( INFO): Checking RAM now...
2018-05-16 20:36:00 532 ( INFO): Validating that the system hostname ('server.servidornacional.org') is a FQDN...
2018-05-16 20:36:00 556 ( INFO): Checking for NetworkManager now...
2018-05-16 20:36:00 598 ( WARN): NetworkManager is installed, but not active. Consider removing it.
.....
2018-05-16 20:36:05 568 ( INFO): Checking for essential system files...
2018-05-16 20:36:05 1232 ( INFO): Checking the CloudLinux registration for updates...
2018-05-16 20:37:11 1417 (DEBUG): - ssystem [BEGIN]: /usr/bin/rdate -s rdate.cpanel.net
2018-05-16 20:37:11 1417 (DEBUG): - ssystem [END]
2018-05-16 20:37:11 1419 ( INFO): The system set the clock to: Wed May 16 20:37:11 2018
2018-05-16 20:37:11 1429 ( INFO): The system changed the clock by 0 seconds.
2018-05-16 20:37:11 1192 ( INFO): The installation process will now set up the necessary empty cpanel directories.
2018-05-16 20:37:11 1213 ( INFO): The installation process will now ensure that GPG is set up properly before it imports keys.
/root/.gnupg/pubring.gpg
------------------------
pub 1024D/450F89EC 2003-02-03 [expired: 2015-06-30]
uid PAUSE Batch Signing Key 2015
uid PAUSE Batch Signing Key 2003
uid PAUSE Batch Signing Key 2005
uid PAUSE Batch Signing Key 2007
uid PAUSE Batch Signing Key 2009
uid PAUSE Batch Signing Key 2011
2018-05-16 20:37:11 1216 ( INFO): The installation process will now import GPG keys for yum.
2018-05-16 20:37:11 1111 (DEBUG): Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS to the TIERS file...
2018-05-16 20:37:11 1111 (DEBUG): Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS.asc to the TIERS.asc file...
2018-05-16 20:37:11 1615 ( INFO): Downloading GPG public key, cPanelPublicKey.asc
2018-05-16 20:37:12 1584 ( INFO): Valid signature for TIERS
2018-05-16 20:37:12 159 ( INFO): Running health checks prior to start.
2018-05-16 20:37:12 1008 ( INFO): Validating whether the system can look up domains...
2018-05-16 20:37:12 1020 (DEBUG): Testing cpanel.net...
2018-05-16 20:37:12 1020 (DEBUG): Testing www.cpanel.net...
2018-05-16 20:37:12 1020 (DEBUG): Testing updates.cpanel.net...
2018-05-16 20:37:12 1020 (DEBUG): Testing httpupdate.cpanel.net...
2018-05-16 20:37:12 1020 (DEBUG): Testing layer2.cpanel.net...
2018-05-16 20:37:12 1020 (DEBUG): Testing layer1.cpanel.net...
2018-05-16 20:37:12 1020 (DEBUG): Testing www.google.com...
2018-05-16 20:38:06 1055 ( INFO): The system successfully connected to the httpupdate.cpanel.net server.
2018-05-16 20:38:06 658 ( INFO): cPanel Layer 1 Installer Starting...
2018-05-16 20:38:06 659 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2018-05-16 20:38:06 660 ( INFO): -------------------------------------------------------
2018-05-16 20:38:06 661 ( INFO): cPanel requires a fresh, clean server!
2018-05-16 20:38:06 662 ( INFO): If you serve websites from this server, this installer
2018-05-16 20:38:06 663 ( INFO): will overwrite all of your configuration files.
2018-05-16 20:38:06 664 ( INFO): Hit Ctrl+C NOW!
2018-05-16 20:38:06 665 ( INFO): If this is a new server, please ignore this message.
2018-05-16 20:38:06 666 ( INFO): -------------------------------------------------------
2018-05-16 20:38:06 667 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2018-05-16 20:38:06 668 ( INFO): Waiting 5 seconds...
2018-05-16 20:38:06 669 ( INFO):
2018-05-16 20:38:06 670 ( INFO):
2018-05-16 20:38:11 673 ( INFO): Checking for any control panels...
2018-05-16 20:38:11 699 ( INFO): Checking for an existing MySQL or MariaDB instance...
2018-05-16 20:38:11 710 (ERROR): The installation process found evidence that MySQL or MariaDB was installed on this server:
2018-05-16 20:38:11 711 (ERROR): The /var/lib/mysql directory is present and not completely empty.
2018-05-16 20:38:11 712 (FATAL): You must install cPanel & WHM on a clean server.
Removing /root/installer.lock.
-
Here's the important part of that log: [quote]018-05-16 20:38:11 673 ( INFO): Checking for any control panels... 2018-05-16 20:38:11 699 ( INFO): Checking for an existing MySQL or MariaDB instance... 2018-05-16 20:38:11 710 (ERROR): The installation process found evidence that MySQL or MariaDB was installed on this server: 2018-05-16 20:38:11 711 (ERROR): The /var/lib/mysql directory is present and not completely empty. 2018-05-16 20:38:11 712 (FATAL): You must install cPanel & WHM on a clean server. 0 -
Actually I want to update CPanel. I opened a call but until the moment I did not receive the return. How should I proceed. Call is 9568841 0 -
It appears you're trying to install cPanel, not update it. You'll need to install cPanel on a freshly-installed Operating System, as mentioned in the docs: Installation Guide - Version 70 Documentation - cPanel Documentation 0 -
Ok, in my case I already had the cpanel installed. And after the last update the server got all the services of line and I can not do anything else via WHM. How much do I try to update with the command: /scripts/upcp --force I get the error below: root@server - example.org [~]# /scripts/upcp --force Can't locate Cpanel/Env.pm in @INC (you may need to install the Cpanel::Env module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /scripts/upcp line 48. BEGIN failed--compilation aborted at /scripts/upcp line 48. root@server - example.org [~]#0 -
after the last update the server got all the services of line and I can not do anything else via WHM.
What does this mean exactly, can you provide any more details?0 -
This has already been done without success! 0 -
I've moved your posts to a new thread of your own. 0 -
Okay, I do not know what else to do. 0 -
More details would be nice. :) Was this server running normally with cPanel installed properly, prior to you having problems? What problems were you facing that compelled you to want to try running the cPanel installer script? 0 -
The server was working fine before the Cpanel 70 update. During the Cpanel update the WHM crashed and the service was down. I rebooted the server and the services did not come back. Any command that I try to perform to update the Cpanel I get the error below: root@server - servidornacional.org [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix Can't locate Cpanel/SafeDir/MK.pm in @INC (you may need to install the Cpanel::SafeDir::MK module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /usr/local/cpanel/Cpanel/Update/Logger.pm line 10. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Update/Logger.pm line 10. Compilation failed in require at /usr/local/cpanel/scripts/check_cpanel_rpms line 23. BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/check_cpanel_rpms line 23. I need an urgent support !! Support Order: 9568841 Has Access Data to SSH 0 -
cPanel Technical Support will be in touch via that ticket soon, I'm sure. GL with this. 0 -
Hello, I just checked in on your TicketID and found that it appears our analysts were able to resolve the issues you were having with the update. It appears that the update failed initially, leaving the server in a partially installed state. In order to resolve the issue they manually downloaded and ran the update as follows: cd /usr/local/cpanel/bin wget http://httpupdate.cpanel.net/cpanelsync/11.68.0.36/cpanel/scripts/updatenow.static.bz2 bzunzip2 updatenow.static.bz2 chmod 655 updatenow.static
created /usr/local/cpanel/version with 11.7.0.0.42 ran the command/usr/local/cpanel/bin/updatenow.static --sync
Once that was complete they ensured normal updates were working as intended and confirmed all services were online as expected. Thanks!0
Please sign in to leave a comment.
Comments
12 comments