Cpanel new install fatal error database server

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
Hi

When I want to install cpanel on Centos 7.9, after the installation progresses, the following error appears and the installation process fails.

Code:
[2022-01-17 11:52:29 -0500] [2771] (DEBUG):   - ssystem [END]
[2022-01-17 11:52:29 -0500] [2771] ( INFO): Completed execution of “/usr/local/cpanel/scripts/check_cpanel_pkgs --fix --no-broken --no-digest” in 46.089 second(s)
[2022-01-17 11:52:29 -0500] [2771] ( INFO): Waiting for MySQL/MariaDB installation to complete
[2022-01-17 11:52:29 -0500] [2771] (FATAL): The background process “SQL Databases and dependent apps” failed with a fatal error: The subprocess reported error number 127 when it ended.
2022-01-17 11:52:29   44 [2173] ( 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]
2022-01-17 11:52:29  118 [2173] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
942
421
363
cPanel Access Level
DataCenter Provider
I'm pretty sure that error number 127 is "command not found" (at least in bash). Per the other message, I'd open a cPanel support ticket and have them look at the installation logs.
 

medennis

Registered
Nov 5, 2012
2
0
51
cPanel Access Level
Root Administrator
Same here - also fresh centos 7 install
(FATAL): The background process “SQL Databases and dependent apps” failed with a fatal error: The subprocess reported error number 127 when it ended.
 

mvandemar

Well-Known Member
Jun 17, 2006
175
52
178
Hello! Could anyone having issues open a ticket using the link in my signature? Please provide the ID once done.
@cPanelAnthony Would this be the same error people are getting when updating?


If so let me know and I can open a ticket for you.

-Michael
 

quietFinn

Well-Known Member
Feb 4, 2006
2,019
540
493
Finland
cPanel Access Level
Root Administrator
I believe it's the same issue, tried to install cPalel with MySQL, failed, then installed cPanel with MariaDB without problems.
 

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
The problem still persists in the default installation of mysql 5.7.

When we re-install by adding the mariadb server from the /root/cpanel_profile/cpanel.config file, the installation is completed.
 

andrew.n

Well-Known Member
Jun 9, 2020
982
363
63
EU
cPanel Access Level
Root Administrator
  • Like
Reactions: vacancy

stevodude

Registered
Dec 21, 2021
1
0
1
mackay
cPanel Access Level
Root Administrator
Hi,
I have run through the insatllation and included updating the mysql GPG key before running the installer but I get the following:
[2360] (FATAL): The background process "SQL Databases and dependent apps" filed with a fatal error: the subprocess reported error number 127 when it ended
then
[1520] (FATAL) the system failed to run the /urs/loca/cpanel/scripts/cpanel_initial_install script
#
I've run the installer from fresh Centos 7 minimal a dozen times now, with some preconfig changes fora each failure, but now, and not sure where to go from here.

Cheers, S.
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,041
112
118
Houston, TX
cPanel Access Level
Root Administrator
Hi,
I have run through the installation and included updating the mysql GPG key before running the installer but I get the following:
[2360] (FATAL): The background process "SQL Databases and dependent apps" filed with a fatal error: the subprocess reported error number 127 when it ended
then
[1520] (FATAL) the system failed to run the /urs/loca/cpanel/scripts/cpanel_initial_install script
#
I've run the installer from fresh Centos 7 minimal a dozen times now, with some preconfig changes fora each failure, but now, and not sure where to go from here.

Cheers, S.
Hello! If the fix from the article doesn't work, please open a ticket using the link in my signature so we can investigate.
 
  • Like
Reactions: vacancy

domaincolony

Member
Aug 18, 2019
6
0
1
uk
cPanel Access Level
Root Administrator
Had the same issue - I use a USB Stick I configured about 4 weeks ago to install centos 7.9. After about 10 efforts, found you need to run the yum kernel update and rpm -import processes. Looks like the new sh latest is intolerant of older kernels and sql. On its own the rpm - update did not work nor the kernel update - it needed both.
 

monies222

Registered
Jan 20, 2022
1
0
1
Ghana
cPanel Access Level
Reseller Owner
Hi, please i having this issue anytime i try to create whm please i need help serious
I have run through the installation and included updating the mysql GPG key before running the installer but I get the following:
[2360] (FATAL): The background process "SQL Databases and dependent apps" filed with a fatal error: the subprocess reported error number 127 when it ended
then
[1520] (FATAL) the system failed to run the /urs/loca/cpanel/scripts/cpanel_initial_install script
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,041
112
118
Houston, TX
cPanel Access Level
Root Administrator
Hi, please i having this issue anytime i try to create whm please i need help serious
I have run through the installation and included updating the mysql GPG key before running the installer but I get the following:
[2360] (FATAL): The background process "SQL Databases and dependent apps" filed with a fatal error: the subprocess reported error number 127 when it ended
then
[1520] (FATAL) the system failed to run the /urs/loca/cpanel/scripts/cpanel_initial_install script
Can you please see the following article and let me know if it helps?