Skip to main content

httpd not running

Comments

5 comments

  • ankeshanand
    Try the following: /scripts/rebuildhttpdconf /scripts/restartsrv_httpd
    0
  • hmaddy
    rebuild not working /scripts/rebuildhttpdconf Initial configuration generation failed with the following message: The "/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.99f70c1b.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"" command (process 3431297) reported error number 1 when it ended. httpd: Syntax error on line 275 of /etc/apache2/conf/httpd.conf.work.99f70c1b.cfgcheck: Syntax error on line 33 of /etc/apache2/conf.d/modsec2.conf: Syntax error on line 31 of /etc/apache2/conf.d/modsec/modsec2.cpanel.conf: Could not open configuration file /etc/apache2/conf.d/modsec_vendor_configs/imunify360-full-litespeed/003_i360_2_bruteforce.conf: No such file or directory 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.99f70c1b Error: The "/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.99f70c1b.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"" command (process 3431299) reported error number 1 when it ended. httpd: Syntax error on line 275 of /etc/apache2/conf/httpd.conf.work.99f70c1b.cfgcheck: Syntax error on line 33 of /etc/apache2/conf.d/modsec2.conf: Syntax error on line 31 of /etc/apache2/conf.d/modsec/modsec2.cpanel.conf: Could not open configuration file /etc/apache2/conf.d/modsec_vendor_configs/imunify360-full-litespeed/003_i360_2_bruteforce.conf: No such file or directory
    0
  • ankeshanand
    Try This: mv /etc/apache2 /etc/apache2bk yum reinstall ea-apache* -y /scripts/rebuildhttpdconf /scripts/restartsrv_httpd This will solve your problem!;)
    0
  • cPRex Jurassic Moderator
    I'm actually not sure that will solve the issue as the error is related to the ModSecurity tools. Have you made any changes to ModSecurity or Imunify recently?
    0
  • Luis G. Bringas
    Try This: mv /etc/apache2 /etc/apache2bk yum reinstall ea-apache* -y /scripts/rebuildhttpdconf /scripts/restartsrv_httpd This will solve your problem!;)

    Hello! I just had the same issue today, thanx, this solve it
    0

Please sign in to leave a comment.