mulderj
New Pleskian
Hello Guys,
I have a problem with my hosting server wich is running Plesk 17.
When I started the server apache wasn't running at all.
So I logged in with ssh and did "sudo service httpd start" after that I did "sudo service httpd status".
I got the following log:
Line 64 of the server.conf contains this:
in this block of config:
The permissions of this file are:
I cannot find the issue here.
I tried to change te user to apache so the permissions would be this:
This didn't work and the server wouldnt boot
Anyone any ideas?
I have a problem with my hosting server wich is running Plesk 17.
When I started the server apache wasn't running at all.
So I logged in with ssh and did "sudo service httpd start" after that I did "sudo service httpd status".
I got the following log:
Code:
Sep 19 15:53:29 SERVERNAME systemd[1]: Starting The Apache HTTP Server...
Sep 19 15:53:30 SERVERNAME httpd[2976]: AH00526: Syntax error on line 64 of /etc/httpd/conf/plesk.conf.d/server.conf:
Sep 19 15:53:30 SERVERNAME httpd[2976]: ModSecurity: Failed to open the audit log file: /var/log/modsec_audit.log
Sep 19 15:53:30 SERVERNAME systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 19 15:53:30 SERVERNAME kill[2978]: kill: cannot find process ""
Sep 19 15:53:30 SERVERNAME systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 19 15:53:30 SERVERNAME systemd[1]: Failed to start The Apache HTTP Server.
Sep 19 15:53:30 SERVERNAME systemd[1]: Unit httpd.service entered failed state.
Sep 19 15:53:30 SERVERNAME systemd[1]: httpd.service failed.
Line 64 of the server.conf contains this:
Code:
SecAuditLog "/var/log/modsec_audit.log"
in this block of config:
Code:
<IfModule mod_security2.c>
SecRuleEngine On
SecRequestBodyAccess Off
SecResponseBodyAccess Off
SecAuditEngine RelevantOnly
SecAuditLog "/var/log/modsec_audit.log"
SecAuditLogType serial
</IfModule>
The permissions of this file are:
Code:
-rw-r-----. 1 root root 36194 Sep 1 10:41 /var/log/modsec_audit.log
I cannot find the issue here.
I tried to change te user to apache so the permissions would be this:
Code:
-rw-r-----. 1 apache root 36194 Sep 1 10:41 /var/log/modsec_audit.log
This didn't work and the server wouldnt boot
Anyone any ideas?
Last edited: