Author Topic: httpd: Syntax error How I solve this problem??  (Read 3027 times)

0 Members and 1 Guest are viewing this topic.

httpd: Syntax error How I solve this problem??
« on: April 17, 2021, 11:41:20 PM »

● 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 systemd[1]: Starting Web server Apache...
Apr 17 19:39:41 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/ into server: /usr/local/apache/modules/ cannot open shared object file: No such file or directory
Apr 17 19:39:41 systemd[1]: httpd.service: control process exited, code=exited status=1
Apr 17 19:39:41 systemd[1]: Failed to start Web server Apache.
Apr 17 19:39:41 systemd[1]: Unit httpd.service entered failed state.
Apr 17 19:39:41 systemd[1]: httpd.service failed.

Re: httpd: Syntax error How I solve this problem??
« Reply #1 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
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
Join our Development Team and get paid !

Installation Instructions
Get Fast Support Here