Description of problem: I followed the section '3.4. Preparing the Installation Medium' (from RHEL OSP6 installation doc) and after creating medium.conf and restarting the httpd service, I get error shown below. 1. /etc/httpd/conf.d/medium.conf: Listen 8120 NameVirtualHost *:8120 <VirtualHost *:8120> DocumentRoot /var/www/html/ ServerName server1.cisco.com <Directory "/var/www/html/"> Options All Indexes FollowSymLinks Order allow,deny Allow from all </Directory> </VirtualHost> 2. then restarting httpd, I get the following error: # systemctl restart httpd.service Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details. # # systemctl status -l httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled) Active: failed (Result: exit-code) since Mon 2015-03-09 10:08:50 PDT; 2min 33s ago Process: 32517 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS) Process: 10801 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS) Process: 32515 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 32515 (code=exited, status=1/FAILURE) Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec" Mar 09 10:08:50 server1 httpd[32515]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/medium.conf:2 Mar 09 10:08:50 server1 httpd[32515]: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:8120 Mar 09 10:08:50 server1 httpd[32515]: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:8120 Mar 09 10:08:50 server1 httpd[32515]: no listening sockets available, shutting down Mar 09 10:08:50 server1 httpd[32515]: AH00015: Unable to open logs Mar 09 10:08:50 server1 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Mar 09 10:08:50 server1 systemd[1]: Failed to start The Apache HTTP Server. Mar 09 10:08:50 server1 systemd[1]: Unit httpd.service entered failed state. # Version-Release number of selected component (if applicable): RHEL7-OSP6 How reproducible: shown in the discription Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The problem here is selinux. The doc needs an additional step: If you run selinux enforcing, you need to run: semanage port -a -t http_port_t -p tcp 8120 before restarting httpd.
I'm on it. Fix to be published this week.
ssainkar -- Any updates from peer review?
This content is now live on the Customer Portal; closing.