Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: sizarbd on April 17, 2021, 11:41:20 PM

Title: httpd: Syntax error How I solve this problem??
Post by: sizarbd on April 17, 2021, 11:41:20 PM
WARNING!

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2021-04-17 19:39:41 EDT; 3s ago
  Process: 6824 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Apr 17 19:39:41 bdix.bkwebhosting.com systemd[1]: Starting Web server Apache...
Apr 17 19:39:41 bdix.bkwebhosting.com apachectl[6824]: httpd: Syntax error on line 512 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: cannot open shared object file: No such file or directory
Apr 17 19:39:41 bdix.bkwebhosting.com systemd[1]: httpd.service: control process exited, code=exited status=1
Apr 17 19:39:41 bdix.bkwebhosting.com systemd[1]: Failed to start Web server Apache.
Apr 17 19:39:41 bdix.bkwebhosting.com systemd[1]: Unit httpd.service entered failed state.
Apr 17 19:39:41 bdix.bkwebhosting.com systemd[1]: httpd.service failed.
Title: Re: httpd: Syntax error How I solve this problem??
Post by: Igor S. on April 21, 2021, 06:23:07 AM
Try to rebuild WEB servers with httpd only and then with nginx.
Also, you can manually rebuild mod_rpaf or (re)move /usr/local/apache/conf.d/rpaf.conf