Recent Changes - Search:



My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

« November 2017 

Sites I take responsibility for

West Volusia, Florida






Places I frequent



Items for sale:


edit SideBar

Apache fails to auto-start at boot from systemd using non-standard ports

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Welcome to! - My Public Technical Notes - Software And Operating Systems - Linux - Redhat - Fedora - HOWT Os - Apache Fails To Auto Start At Boot From Systemd Using Non Standard Ports

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes

2016-03-22: This site is being moved to my main site at as part of a consolidation to one domain.

>>> This page is not yet completed. <<<
>>> Last updated at June 27, 2014, at 05:47 PM EST. <<<
>>> Please check back later or hit refresh. <<<


Release Fedora 20 with latest updates 2014-06-26.

# uname -a 
Linux xxxxxxxxxx 3.14.5-x86_64-linode42 #1 SMP Thu Jun 5 15:22:13 EDT 2014
x86_64 x86_64 x86_64 GNU/Linux

After having installed Apache from yum (sudo yum install httpd httpd-devel httpd-tools), then configuring /etc/httpd/conf/httpd.conf but removing listener for port 80 and instead using multiple https ports other than 443 (intranet with a single IP) wit no iptables or SElinux running). To ensure Apache would restart on the next boot I used command

#systemctl enable httpd.service

On system boot Apache fails to start with the following status from systemd:

# systemctl status httpd -l
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
   Active: failed (Result: exit-code) since Thu 2014-06-26 11:32:27 EDT; 3h
22min ago
  Process: 2380 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
  Process: 2296 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited,
 Main PID: 2296 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/httpd.service

Jun 26 11:32:27 web2 systemd[1]: Starting The Apache HTTP Server...
Jun 26 11:32:27 web2 httpd[2296]: (99)Cannot assign requested address: AH00072:
make_sock: could not bind to address
Jun 26 11:32:27 web2 httpd[2296]: no listening sockets available, shutting down
Jun 26 11:32:27 web2 httpd[2296]: AH00015: Unable to open logs
Jun 26 11:32:27 web2 systemd[1]: httpd.service: main process exited,
code=exited, status=1/FAILURE
Jun 26 11:32:27 web2 systemd[1]: Failed to start The Apache HTTP Server.
Jun 26 11:32:27 web2 systemd[1]: Unit httpd.service entered failed state.

Note that I can manually start the service just fine either by using the command: # apachectl start or # service httpd start.

Apache's own configtest passes ok and the IP address exists and the ports are open and not being used by another process.

# apachectl configtest
Syntax OK



Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site -

Edit - History - Print - Recent Changes - Search
Page last modified on June 27, 2014, at 05:47 PM EST