hello
some while i got below error on /scripts/rebuildhttpdconf:
Error: The system failed to configure access permissions for the “/home/customer/public_html/00cod/back” directory because of an error: Apache detected an error in the Rewrite config. <pre>httpd_ls_bak: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/150_mod_dav.conf: Cannot load modules/mod_dav.so into server: /etc/apache2/modules/mod_dav.so: undefined symbol: ap_parse_strict_length </pre> Please try again. at /usr/local/cpanel/Cpanel/HttpUtils/Htaccess.pm line 316.
so, at that time, when i checking httpd -v output, i see that apache version is 2.4.43 but when i check rpm -qa output it shows that its installed rpm is on 2.4.46!!!!
like this:
[[email protected] apache2_4]# httpd -v
Server version: Apache/2.4.43 (cPanel)
[[email protected] apache2_4]# rpm -qa | grep ea-apache24-2
ea-apache24-2.4.46-1.el7.cloudlinux.x86_64
it seams that some one installs 2.4.43 like compile it by source on the server on installed rpm and so that error happening because apache turn 2.4.43 but all of its modules are on 2.4.46 yet!
i solved the problem by yum reinstall ea-apache24 -y but this problem is happening some while later without any frequently times....also i was disabled update by /etc/cpupdate.conf like:
[[email protected] apache2_4]# cat /etc/cpupdate.conf
CPANEL=release
RPMUP=never
SARULESUP=never
STAGING_DIR=/usr/local/cpanel
please note that i'm using litespeed as webserver for this server
some while i got below error on /scripts/rebuildhttpdconf:
Error: The system failed to configure access permissions for the “/home/customer/public_html/00cod/back” directory because of an error: Apache detected an error in the Rewrite config. <pre>httpd_ls_bak: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/150_mod_dav.conf: Cannot load modules/mod_dav.so into server: /etc/apache2/modules/mod_dav.so: undefined symbol: ap_parse_strict_length </pre> Please try again. at /usr/local/cpanel/Cpanel/HttpUtils/Htaccess.pm line 316.
so, at that time, when i checking httpd -v output, i see that apache version is 2.4.43 but when i check rpm -qa output it shows that its installed rpm is on 2.4.46!!!!
like this:
[[email protected] apache2_4]# httpd -v
Server version: Apache/2.4.43 (cPanel)
[[email protected] apache2_4]# rpm -qa | grep ea-apache24-2
ea-apache24-2.4.46-1.el7.cloudlinux.x86_64
it seams that some one installs 2.4.43 like compile it by source on the server on installed rpm and so that error happening because apache turn 2.4.43 but all of its modules are on 2.4.46 yet!
i solved the problem by yum reinstall ea-apache24 -y but this problem is happening some while later without any frequently times....also i was disabled update by /etc/cpupdate.conf like:
[[email protected] apache2_4]# cat /etc/cpupdate.conf
CPANEL=release
RPMUP=never
SARULESUP=never
STAGING_DIR=/usr/local/cpanel
please note that i'm using litespeed as webserver for this server
Last edited: