In Progress [EA-9379] Centos 8 edge version mod_brotli apache crash

vacancy

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

While testing with cpanel v91.9999.90 edge version on Centos 8.2 I saw an error in mod_brotli module. When we install the mod_brotli module, there is a conflict with mod_security, resulting in apache stops.

Code:
[2020-10-23 00:44:45 +0300] info [xml-api] Initial configuration generation failed with the following message:
[2020-10-23 00:44:45 +0300] info [xml-api] The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.b65c7e39.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 12611) reported error number 1 when it ended.
[2020-10-23 00:44:45 +0300] info [xml-api] httpd: Syntax error in -C/-c directive: Syntax error on line 14 of /etc/apache2/conf.modules.d/800-mod_security2.conf: Cannot load modules/mod_security2.so into server: /lib64/libbrotlidec.so.1: undefined symbol: BrotliTransformDictionaryWord
[2020-10-23 00:44:45 +0300] info [xml-api] Rebuilding configuration without any local modifications.
[2020-10-23 00:44:45 +0300] info [xml-api] Failed to generate a syntactically correct Apache configuration.
[2020-10-23 00:44:45 +0300] info [xml-api] Bad configuration file located at /etc/apache2/conf/httpd.conf.work.b65c7e39
[2020-10-23 00:44:45 +0300] info [xml-api] Error:
[2020-10-23 00:44:45 +0300] info [xml-api] The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.b65c7e39.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 12613) reported error number 1 when it ended.
[2020-10-23 00:44:45 +0300] info [xml-api] httpd: Syntax error in -C/-c directive: Syntax error on line 14 of /etc/apache2/conf.modules.d/800-mod_security2.conf: Cannot load modules/mod_security2.so into server: /lib64/libbrotlidec.so.1: undefined symbol: BrotliTransformDictionaryWord
Code:
 Oct 23 00:44:50 140-82-58-66 systemd[1]: Failed to start Apache web server managed by cPanel EasyApache.
 Oct 23 00:44:50 140-82-58-66 restartsrv_httpd[12679]: httpd: Syntax error on line 27 of /etc/apache2/conf/httpd.conf: Syntax error on line 14 of /etc/apache2/conf.modules.d/800-mod_security2.conf: Cannot load modules/mod_security2.so into server: /lib64/libbrotlidec.so.1: undefined symbol: BrotliTransformDictionaryWord
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Hi @vacancy

Thank you for the information, the EasyApache team opened the following case for this issue: EA-9379 mod_security2.so undefined symbols /lib64/libbrotlidec.so.1 on CentOS 8

The case was just opened so not too much to report on it besides that it exists at this point. We'll update here when there is more information/any updates on the case.
 
  • Like
Reactions: vacancy