The background process EA4 Install failed with a fatal error: The subprocess reported error number 127 when it ened

Operating System & Version
Ubuntu 20.04
cPanel & WHM Version
Latest

wasimaliawan

Registered
Jul 4, 2023
3
0
1
Islamabad
cPanel Access Level
Root Administrator
Hi,

I am having issue installing cpanel on ubuntu 20.04

I'm getting bellow mentioned error. Can you please help me out.

>>> The background process EA4 Install failed with a fatal error: The subprocess reported error number 127 when it ended
 

wasimaliawan

Registered
Jul 4, 2023
3
0
1
Islamabad
cPanel Access Level
Root Administrator
There are the logs at /var/log/cpanel-install.log. Is it helpful?

[2023-07-05 10:06:42 +0500] [36374] (DEBUG): [2023-07-05 10:06:42 +0500] Downloading http://httpupdate.cpanel.net/ubuntu...-http-webdav-server_1.0.0-1.cp110~u20_all.deb
[2023-07-05 10:06:42 +0500] [36374] (DEBUG): [2023-07-05 10:06:42 +0500] Downloading http://httpupdate.cpanel.net/ubuntu...l-perl-536-oidc-lite_0.10-1.cp108~u20_all.deb
[2023-07-05 10:06:42 +0500] [36374] (DEBUG): - ssystem [END]
[2023-07-05 10:06:42 +0500] [36374] ( INFO): Completed execution of “/usr/local/cpanel/scripts/check_cpanel_pkgs --fix --no-broken --no-digest --download-only” in 12.196 second(s)
[2023-07-05 10:06:42 +0500] [36374] (DEBUG): _wait_for_background_pids: 37370
[2023-07-05 10:06:42 +0500] [36374] (FATAL): The background process “EA4 Install” failed with a fatal error: The subprocess reported error number 127 when it ended.
2023-07-05 10:06:42 44 [12008] ( INFO): cPanel is here to help! Our TechnicalSupport team is just a click away at https://support.cpanel.net/ or you can contact Customer Service via email [email protected]
2023-07-05 10:06:42 128 [12008] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,525
2,607
363
cPanel Access Level
Root Administrator
Hey there! Are you able to access the WHM interface with how the system is right now?

If so, can you try running these commands on the machine and let me know if that allows the EasyApache 4 interface to load?

Code:
touch /etc/cpanel/ea4/is_ea4
ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/default.json
 

wasimaliawan

Registered
Jul 4, 2023
3
0
1
Islamabad
cPanel Access Level
Root Administrator
It gets stuck to initial page after root login and did not get from here when i browse the whm. I have attached screenshot.

And this response of the two commands you shared.

root@server:/home# touch /etc/cpanel/ea4/is_ea4
root@server:/home# ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/default.json
ea_install_profile: command not found
 

Attachments

speckados

Well-Known Member
Same problem

Code:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest --skip-wptoolkit --skip-imunifyav


...





[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/manage_plugins/index.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/market_provider_manager/index.cmb.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/base/frontend/jupiter/js2/ftp/list_ftp.js” …


[2023-08-04 13:39:12 +0200] [19195] (DEBUG):     [2023-08-04 13:39:12 +0200]   Downloading http://httpupdate.cpanel.net/RPM/11.110/centos/8/x86_64/cpanel-php81-pear-command-packaging-0.3.0-1.cp110~el8.noarch.rpm


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/market_provider_manager/views/editCPStoreController.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/market_provider_manager/views/editProductsController.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/base/frontend/jupiter/js2/mail/archive.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/market_provider_manager/views/manageController.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/mod_security/config.cmb.js” …


[2023-08-04 13:39:12 +0200] [26015] (DEBUG):            Creating cache for “/usr/local/cpanel/whostmgr/docroot/templates/mod_security/config.js” …


[2023-08-04 13:39:12 +0200] [19195] (DEBUG):   - ssystem [END]


[2023-08-04 13:39:12 +0200] [19195] ( INFO): Completed execution of “/usr/local/cpanel/scripts/check_cpanel_pkgs --fix --no-broken --no-digest --download-only” in 3.501 second(s)


[2023-08-04 13:39:12 +0200] [19195] (DEBUG):   _wait_for_background_pids: 19299


[2023-08-04 13:39:12 +0200] [19195] (FATAL): The background process “EA4 Install” failed with a fatal error: The subprocess reported error number 127 when it ended.


2023-08-04 13:39:12   44 [10393] ( INFO): cPanel is here to help! Our Technical Support team is just a click away at https://support.cpanel.net/ or you can contact Customer Service via email [email protected]


2023-08-04 13:39:12  128 [10393] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
NOTE: I can use button for format code. Show me a list of forums instead code share window or tag ofr code
 

speckados

Well-Known Member
@cPRex the ticket is... 95102007

The little explain...

Looking at the provided log, it appears that EasyApache4 had failed to install. As such, I went ahead and tried to re-run the installation to replicate that error. However, this time it did go through without issue and now cPanel is fully installed:
 

HaNi Ghaith

Member
Feb 21, 2020
18
2
3
Palestine
cPanel Access Level
Root Administrator
I faced the same error with AlmaLinux 9.1 base, then I tried again and it worked.
Today I tried using AlmaLinux 8.7 base more than 4 times with the same problem.
I also tried with Rocky Linux 8.7 and the same problem occurred twice.
 

HaNi Ghaith

Member
Feb 21, 2020
18
2
3
Palestine
cPanel Access Level
Root Administrator
In the last attempt, I did not update the operating system.
I tried to install and it was successful.
Then I updated the operating system, but I rebooted, but it did not boot successfully.
I am currently doing a clean install and will try to provide more information on the issue.
 
  • Like
Reactions: cPRex

HaNi Ghaith

Member
Feb 21, 2020
18
2
3
Palestine
cPanel Access Level
Root Administrator
Yes, I did not succeed in installing the control panel after executing the update command at all.
But I managed to do that before executing the update command
yum update
The reason for not booting is to change the network configuration of the server. I was able to fix it through KVM, then I executed the operating system update command.

I hope I don't run into additional problems during the setup process.
 

Musa66

Registered
Aug 14, 2023
1
0
0
Austria
cPanel Access Level
Root Administrator
am currently experiencing the same error as you described, and I have attempted to install it on AlmaLinux 9.2 four times and once on AlmaLinux 8, but it has not worked on any of them. It's actually an urgent situation, and I've been dealing with this for hours. Is there anyone who knows the solution to this? Has this issue been resolved? Even Hetzner company is refusing to perform the installation now.
 

ilanh

Registered
Mar 18, 2005
4
0
226
Same error on Alma 9.2:

[2023-09-05 14:34:35 +0300] [7324] ( INFO): Completed execution of “/usr/local/cpanel/scripts/check_cpanel_pkgs --fix --no-broken --no-digest --download-only” in 3.768 second(s)
[2023-09-05 14:34:35 +0300] [7324] (DEBUG): _wait_for_background_pids: 7436
[2023-09-05 14:34:35 +0300] [7324] (FATAL): The background process “EA4 Install” failed with a fatal error: The subprocess reported error number 127 when it ended.


In /var/log/messages i get this:
Sep 5 14:35:12 cs21 restartsrv_cpanel_php_fpm[13335]: (XID 3wdmgz) The system could not find the “/usr/local/cpanel/3rdparty/sbin/cpanel_php_fpm” binary for the “cpanel_php_fpm” service because of an error: No such file or directory

This is the content of /usr/local/cpanel/3rdparty/sbin/
drwxr-xr-x 2 root root 4096 Sep 5 14:26 .
drwxr-xr-x 12 root root 4096 Sep 5 14:26 ..
-rwxr-xr-x 1 bin bin 79856 Nov 8 2022 unbound-anchor
-rwxr-xr-x 1 bin bin 91088 Nov 8 2022 unbound-host


Installed php packages:
rpm -qa | grep -i php
cpanel-perl-536-php-serialization-0.34-1.cp108~el9.noarch
cpanel-ng-whm-multiphp-manager-ng7-114.16.11-1.cp11114.noarch



Errors from /var/log/dnf.log
grep -A1 -i error dnf.log
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql55-community.
2023-09-05T14:29:30+0300 CRITICAL Error: No matching repo to modify: Mysql55-community.
2023-09-05T14:29:30+0300 DEBUG Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: mysql55-community.
2023-09-05T14:29:31+0300 CRITICAL Error: No matching repo to modify: mysql55-community.
2023-09-05T14:29:31+0300 DEBUG ---> Package mysql80-community-release.noarch el9-4 will be erased
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql56-community.
2023-09-05T14:29:31+0300 CRITICAL Error: No matching repo to modify: Mysql56-community.
2023-09-05T14:29:31+0300 INFO --- logging initialized ---
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: mysql56-community.
2023-09-05T14:29:31+0300 CRITICAL Error: No matching repo to modify: mysql56-community.
2023-09-05T14:29:31+0300 DDEBUG RPM transaction over.
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql57-community.
2023-09-05T14:29:31+0300 CRITICAL Error: No matching repo to modify: Mysql57-community.
2023-09-05T14:29:31+0300 INFO --- logging initialized ---
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: mysql57-community.
2023-09-05T14:29:31+0300 CRITICAL Error: No matching repo to modify: mysql57-community.
2023-09-05T14:29:31+0300 DDEBUG Plugins were unloaded.
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql80-community.
2023-09-05T14:29:32+0300 CRITICAL Error: No matching repo to modify: Mysql80-community.
2023-09-05T14:29:32+0300 INFO --- logging initialized ---
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql55-community.
2023-09-05T14:29:34+0300 CRITICAL Error: No matching repo to modify: Mysql55-community.
2023-09-05T14:29:34+0300 DEBUG User-Agent: constructed: 'libdnf (AlmaLinux 9.2; generic; Linux.x86_64)'
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: mysql55-community.
2023-09-05T14:29:34+0300 CRITICAL Error: No matching repo to modify: mysql55-community.
2023-09-05T14:29:34+0300 DEBUG epel: using metadata from Tue Sep 5 03:55:11 2023.
--
2023-09-05T14:29:34+0300 ERROR Unable to resolve argument mysql
2023-09-05T14:29:34+0300 DDEBUG Plugins were unloaded.
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql56-community.
2023-09-05T14:29:34+0300 CRITICAL Error: No matching repo to modify: Mysql56-community.
2023-09-05T14:29:34+0300 DDEBUG Cleaning up.
--
raise dnf.exceptions.MarkingErrors(no_match_group_specs=no_match_specs,
dnf.exceptions.MarkingErrors: Problems in request:
missing groups or modules: mysql
2023-09-05T14:29:34+0300 CRITICAL Error: Problems in request:
missing groups or modules: mysql
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: mysql56-community.
2023-09-05T14:29:34+0300 CRITICAL Error: No matching repo to modify: mysql56-community.
2023-09-05T14:29:34+0300 DEBUG Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql57-community.
2023-09-05T14:29:34+0300 CRITICAL Error: No matching repo to modify: Mysql57-community.
2023-09-05T14:29:34+0300 INFO --- logging initialized ---
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: mysql57-community.
2023-09-05T14:29:35+0300 CRITICAL Error: No matching repo to modify: mysql57-community.
2023-09-05T14:29:35+0300 DDEBUG timer: sack setup: 366 ms
--
2023-09-05T14:29:35+0300 ERROR Unable to resolve argument mariadb
2023-09-05T14:29:35+0300 DDEBUG Cleaning up.
--
raise dnf.exceptions.MarkingErrors(no_match_group_specs=no_match_specs,
dnf.exceptions.MarkingErrors: Problems in request:
missing groups or modules: mariadb
2023-09-05T14:29:35+0300 CRITICAL Error: Problems in request:
missing groups or modules: mariadb
--
raise dnf.exceptions.Error(_("No matching repo to modify: %s.")
dnf.exceptions.Error: No matching repo to modify: Mysql80-community.
2023-09-05T14:29:35+0300 CRITICAL Error: No matching repo to modify: Mysql80-community.
2023-09-05T14:29:35+0300 DEBUG Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
--
raise dnf.exceptions.PackagesNotAvailableError(_("Unable to find a match"),
dnf.exceptions.PackagesNotAvailableError: Unable to find a match: dnf-plugin-universal-hooks ea-cpanel-tools ea-profiles-cpanel
2023-09-05T14:29:38+0300 CRITICAL Error: Unable to find a match: dnf-plugin-universal-hooks ea-cpanel-tools ea-profiles-cpanel
2023-09-05T14:29:39+0300 INFO --- logging initialized ---
--
2023-09-05T14:29:39+0300 ERROR Unable to resolve argument mysql
2023-09-05T14:29:39+0300 DDEBUG Cleaning up.
--
raise dnf.exceptions.MarkingErrors(no_match_group_specs=no_match_specs,
dnf.exceptions.MarkingErrors: Problems in request:
missing groups or modules: mysql
2023-09-05T14:29:39+0300 CRITICAL Error: Problems in request:
missing groups or modules: mysql
--
2023-09-05T14:29:40+0300 ERROR Unable to resolve argument mariadb
2023-09-05T14:29:40+0300 DDEBUG Cleaning up.
--
raise dnf.exceptions.MarkingErrors(no_match_group_specs=no_match_specs,
dnf.exceptions.MarkingErrors: Problems in request:
missing groups or modules: mariadb
2023-09-05T14:29:40+0300 CRITICAL Error: Problems in request:
missing groups or modules: mariadb



Hope this helps to troubleshoot.