Author Topic: Fresh install apache error  (Read 4781 times)

0 Members and 1 Guest are viewing this topic.

Fresh install apache error
« 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/ into server: /usr/local/apache/modules/ 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.

Re: Fresh install apache error
« Reply #1 on: September 23, 2019, 08:38:28 PM »
it says,

Syntax Error on this two lines of those two files:

line 512 of /usr/local/apache/conf/httpd.conf
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.