Description of problem:mod_ssl ssl.conf file lists /var/log/ssl_error_log as the default log location. This file does not exist in the rpm file list. "systemctl start httpd" fails. Version-Release number of selected component (if applicable): mod_ssl-2.4.16-1.fc23.x86_64 How reproducible: Steps to Reproduce: 1. Install mod_ssl and configure. 2. "systemctl start httpd" fails due to above log file missing 3. Actual results: Expected results: Start of httpd with mod_ssl installed executes successfully. The log file exists and is SELinux friendly. Additional info: I did "touch /var/log/ssl_error_log; chown apache:apache /var/log/ssl_error_log" Adjusted local SELinux policy. "systemctl start httpd" executes; web server running as expected.
"chown apache:apache /var/log/ssl_error_log" This is a very bad idea and is unnecessary. The log file will be created at startup as required. It's likely your SELinux permissions or similar are wrong on /var/log/httpd, preventing creation of the log file. Or e.g. you are using a non-standard systemd unit file for httpd which doesn't start the parent as root.