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

0 Members and 1 Guest are viewing this topic.

Offline
*
httpd: Syntax error How I solve this problem??
« 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.

Offline
*****
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
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services