In Progress CPANEL-39262 - Errors in EasyApache provisioning

quietFinn

Well-Known Member
Feb 4, 2006
2,041
551
493
Finland
cPanel Access Level
Root Administrator
Hello,

I am configuring a new server, CloudLinux v7.9.0 STANDARD vmware.
The server has LiteSpeed installed.
When I provision a profile in EasyApache, it gives error "The provision process exited with errors. Please check the log for details."
I check the log and see this:
(pity code block doesn't work)
-------------------------------------------------------------
[2023-01-20 04:00:16 +0200] info [xml-api] Installing : 1:ea-apache24-mod_lsapi-1.1-63.el7.cloudlinux.x86_64 133/160
[2023-01-20 04:00:16 +0200] info [xml-api] Cpanel::Exception::MissingParameter/(XID 33v3uk) Provide the ?type? parameter for the ?Cpanel::WebServer::Supported::apache::make_handler? function.
[2023-01-20 04:00:16 +0200] info [xml-api] at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 223.
[2023-01-20 04:00:16 +0200] info [xml-api] Cpanel::WebServer::Supported::apache::make_handler(Cpanel::WebServer::Supported::apache=HASH(0x1f73188), "lang", Cpanel::ProgLang::Supported::php=HASH(0x1e47638), "package", "ea-php56", "type", undef) called at /usr/local/cpanel/bin/rebuild_phpconf line 194
[2023-01-20 04:00:16 +0200] info [xml-api] bin::rebuild_phpconf::ea4::do_current(HASH(0x1dadaa8), Cpanel::ProgLang::Supported::php=HASH(0x1e47638), Cpanel::WebServer::Supported::apache=HASH(0x1f73188)) called at /usr/local/cpanel/bin/rebuild_phpconf line 226
[2023-01-20 04:00:16 +0200] info [xml-api] bin::rebuild_phpconf::ea4::run(ARRAY(0x1849160)) called at /usr/local/cpanel/bin/rebuild_phpconf line 246
[2023-01-20 04:00:16 +0200] info [xml-api] Cpanel::Exception::MissingParameter/(XID s489md) Provide the ?type? parameter for the ?Cpanel::WebServer::Supported::apache::make_handler? function.
[2023-01-20 04:00:16 +0200] info [xml-api] at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 223.
[2023-01-20 04:00:16 +0200] info [xml-api] Cpanel::WebServer::Supported::apache::make_handler(Cpanel::WebServer::Supported::apache=HASH(0x1a0d720), "lang", Cpanel::ProgLang::Supported::php=HASH(0x1822808), "package", "ea-php56", "type", undef) called at /usr/local/cpanel/bin/rebuild_phpconf line 194
[2023-01-20 04:00:16 +0200] info [xml-api] bin::rebuild_phpconf::ea4::do_current(HASH(0x1788c18), Cpanel::ProgLang::Supported::php=HASH(0x1822808), Cpanel::WebServer::Supported::apache=HASH(0x1a0d720)) called at /usr/local/cpanel/bin/rebuild_phpconf line 226
[2023-01-20 04:00:16 +0200] info [xml-api] bin::rebuild_phpconf::ea4::run(ARRAY(0x1224110)) called at /usr/local/cpanel/bin/rebuild_phpconf line 246
[2023-01-20 04:00:16 +0200] info [xml-api] AH00534: httpd_ls_bak: Configuration error: More than one MPM loaded.
[2023-01-20 04:00:16 +0200] info [xml-api] Initial configuration generation failed with the following message:
[2023-01-20 04:00:16 +0200] info [xml-api] The ?/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.07d2a05a.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"? command (process 47953) reported error number 1 when it ended.
[2023-01-20 04:00:16 +0200] info [xml-api] AH00534: httpd_ls_bak: Configuration error: More than one MPM loaded.
[2023-01-20 04:00:16 +0200] info [xml-api] Rebuilding configuration without any local modifications.
[2023-01-20 04:00:16 +0200] info [xml-api] Failed to generate a syntactically correct Apache configuration.
[2023-01-20 04:00:16 +0200] info [xml-api] Bad configuration file located at /etc/apache2/conf/httpd.conf.work.07d2a05a
[2023-01-20 04:00:16 +0200] info [xml-api] Error:
[2023-01-20 04:00:16 +0200] info [xml-api] The ?/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.07d2a05a.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"? command (process 47957) reported error number 1 when it ended.
[2023-01-20 04:00:16 +0200] info [xml-api] AH00534: httpd_ls_bak: Configuration error: More than one MPM loaded.
[2023-01-20 04:00:16 +0200] info [xml-api] Reconfiguration completed
[2023-01-20 04:00:16 +0200] info [xml-api] [92mInstruction: [94mhttp://docs.cloudlinux.com/index.html?apache_mod_lsapi.html[0m
[2023-01-20 04:00:16 +0200] info [xml-api] Installing : 1:ea-php74-php-fileinfo-7.4.33-1.el7.cloudlinux.x86_64 134/160
-------------------------------------------------------------

It seems that provisioning worked despite the errors, but those errors make me worry...

I found similar thread here:
 
Last edited by a moderator:

quietFinn

Well-Known Member
Feb 4, 2006
2,041
551
493
Finland
cPanel Access Level
Root Administrator
Hey hey! There were some temporary mirror issues yesterday. Do you still see this happening now?
This is a new server, no accounts yet, so since yesterday I've been trying this and that, provisioned different profiles.

If I remove mod_lsapi and provision it says " The provision process exited with errors. Please check the log for details. ", but I don't see any errors in the log file, just 2 warnings:

[2023-01-20 18:55:03 +0200] info [xml-api] warning: file /etc/apache2/conf.modules.d/001_mod_lsapi.conf: remove failed: No such file or directory

[2023-01-20 18:55:03 +0200] info [xml-api] 2023-01-20 18:36:06.546906 [WARN] [29545] [T0] [ModSecurity] WEBSERVER_ERROR_LOG "@contains Invalid URI in request" "id:210210,msg:'COMODO WAF: Apache Error: Invalid URI in Request.||%{tx.domain}|%{tx.mode}|4',phase:5,pass,setvar:'tx.points=+%{tx.points_limit1}',logdata:'%{request_line}',t:none,rev:2,severity:4,tag:'CWAF',tag:'Protocol'": Rule not supported.


EDIT:
I disabled ModSecurity, added mod_lsapi, provisioned and no errors. :rolleyes:
 

quietFinn

Well-Known Member
Feb 4, 2006
2,041
551
493
Finland
cPanel Access Level
Root Administrator
  • Like
Reactions: cPRex

MitchellJackson

Registered
Feb 22, 2023
2
0
1
US
cPanel Access Level
Website Owner
This is a new server, no accounts yet, so since yesterday I've been trying this and that, provisioned different profiles.

If I remove mod_lsapi and provision it says " The provision process exited with errors. Please check the log for details. ", but I don't see any errors in the log file, just 2 warnings:

[2023-01-20 18:55:03 +0200] info [xml-api] warning: file /etc/apache2/conf.modules.d/001_mod_lsapi.conf: remove failed: No such file or directory

[2023-01-20 18:55:03 +0200] info [xml-api] 2023-01-20 18:36:06.546906 [WARN] [29545] [T0] [ModSecurity] WEBSERVER_ERROR_LOG "@contains Invalid URI in request" "id:210210,msg:'COMODO WAF: Apache Error: Invalid URI in Request.||%{tx.domain}|%{tx.mode}|4',phase:5,pass,setvar:'tx.points=+%{tx.points_limit1}',logdata:'%{request_line}',t:none,rev:2,severity:4,tag:'CWAF',tag:'Protocol'": Rule not supported.


EDIT:
I disabled ModSecurity, added mod_lsapi, provisioned and no errors. :rolleyes:

Hi there, have you found the solution? I found this website, Free Essays on Do The Right Thing, Examples, Topics, Outlines - WritingUniverse when searching online for essay examples. Here, I can examine a number of free essay samples that help me finish my assignment on time.
Hi there, have you found the solution?
 
Last edited: