Invalid command 'SSLRequireSSL'
Posted: Thu Dec 31, 2020 5:35 pm
I installed zoneminder-1.34.22-1.el8.x86_64 on centos 8.
httpd was running fine and I was able to get the default apache page at http://<ip-address>
I tried to open zoneminder in a browser with http://<ip-address>/zm but it failed. https://<ip-address>/zm also failed.
so I ran:
# ln -s /etc/zm/www/zoneminder.httpd.conf /etc/httpd/conf.d/zoneminder.conf and restarted httpd but it gave an error. this is the output from systemctl status httpd.service:
httpd was running fine and I was able to get the default apache page at http://<ip-address>
I tried to open zoneminder in a browser with http://<ip-address>/zm but it failed. https://<ip-address>/zm also failed.
so I ran:
# ln -s /etc/zm/www/zoneminder.httpd.conf /etc/httpd/conf.d/zoneminder.conf and restarted httpd but it gave an error. this is the output from systemctl status httpd.service:
how do I solve this? I did do a trawl of google but couldn't find anything. thanks for any help.● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: failed (Result: exit-code) since Thu 2020-12-31 17:23:49 GMT; 8s ago
Docs: man:httpd.service(8)
Process: 9150 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 9150 (code=exited, status=1/FAILURE)
Status: "Reading configuration..."
Dec 31 17:23:49 centos8.svr systemd[1]: Starting The Apache HTTP Server...
Dec 31 17:23:49 centos8.svr httpd[9150]: AH00526: Syntax error on line 15 of /etc/httpd/conf.d/zoneminder.conf:
Dec 31 17:23:49 centos8.svr httpd[9150]: Invalid command 'SSLRequireSSL', perhaps misspelled or defined by a module not included in the server configuration
Dec 31 17:23:49 centos8.svr systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Dec 31 17:23:49 centos8.svr systemd[1]: httpd.service: Failed with result 'exit-code'.
Dec 31 17:23:49 centos8.svr systemd[1]: Failed to start The Apache HTTP Server.