Jump to content


- - - - -

cPanel failing to start


  • Please log in to reply
1 reply to this topic

#1 FrancescoP

FrancescoP

    Newbie

  • Members
  • Pip
  • 1 posts
  • LocationAlta

Posted 27 December 2020 - 05:52 PM

i have this issue on cPanel it not works when i run

 

/scripts/rebuildhttpdconf

 

Initial configuration generation failed with the following message:

The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.b6a45fc6.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 11271) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/125_mod_cache.conf: Cannot load modules/mod_cache.so into server: /etc/apache2/modules/mod_cache.so: undefined symbol: ap_parse_strict_length

Rebuilding configuration without any local modifications.

Failed to generate a syntactically correct Apache configuration.
Bad configuration file located at /etc/apache2/conf/httpd.conf.work.b6a45fc6
Error:
The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.b6a45fc6.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 11272) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/125_mod_cache.conf: Cannot load modules/mod_cache.so into server: /etc/apache2/modules/mod_cache.so: undefined symbol: ap_parse_strict_length

 



#2 Pirate Tony

Pirate Tony

    Advanced Member

  • Members
  • PipPipPip
  • 278 posts

Posted 30 December 2020 - 12:14 AM

I test the issue and i found the fix, run this :

rpm -e --nodeps --justdb ea-apache24-config-runtime.noarch

yum install ea-apache24-config-runtime.noarch

 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users