Control Web Panel
WebPanel => Apache => Topic started by: cwp_user2018 on September 23, 2019, 11:29:59 AM
-
I have fresh CWP install on Centos 7.
Apache running ok.
Then I change webserwer to: Apache + nGinx
After that I can not start Apache
I get error
systemd: Starting Web server Apache...
apachectl: 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
systemd: httpd.service: control process exited, code=exited status=1
systemd: Failed to start Web server Apache.
systemd: Unit httpd.service entered failed state.
systemd: httpd.service failed.
-
it says,
Syntax Error on this two lines of those two files:
line 512 of /usr/local/apache/conf/httpd.conf
and
line 2 of /usr/local/apache/conf.d/rpaf.conf:
in those two files, on those two lines, your setup is looking for something (on those lines #512, and #2 respectively) that is not available/"could not be found"..
fix that, and it should work.
Possibly, all you may need to do is #, "comment out" those lines, or Add the area it cannot find.
Hope that helps.
Cheers
.