Re: httpd fails to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 28, 2016 at 12:37:16PM +0200, Jose Maria Terry Jimenez wrote:
> El 28/6/16 a las 11:28, David A. De Graaf escribió:
> > On a newly installed F24 ...
> > 
> > However, when the machine boots (quiet, without rhgb) the messages
> > include
> >    [FAILED] Failed to start The Apache HTTP Server.
> >    See 'systemctl status httpd.service' for details.
> > and, sure enough, httpd isn't running.
> > 
> > It can be started manually later, readily enough, with
> >    systemctl start httpd
> > but that's a PITA.
> > 
> Perhaps this helps you (search in this link for NetworkManager-wait-online)
> http://forums.fedoraforum.org/showthread.php?t=298983

Thank you, Jose Maria Terry Jimenez.
Your answer, combined with Sam Varshavchik's, has solved my problem.

It is necessary to fix TWO things:

1)  systemctl enable NetworkManager-wait-online

2)  Correct the starting criteria for httpd.service:
  # diff /usr/lib/systemd/system/httpd.service \
    /etc/systemd/system/httpd.service
  19c19,21
  < After=network.target remote-fs.target nss-lookup.target
  ---
  > Wants=network-online.target
  > After=network-online.target remote-fs.target nss-lookup.target
  > ## After=network.target remote-fs.target nss-lookup.target

With BOTH fixes, httpd now starts correctly.

> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org

-- 
        David A. De Graaf    DATIX, Inc.    Hendersonville, NC
        dad@xxxxxxxx         www.datix.us


I have wondered at times about what the Ten Commandments would have
looked like if Moses had run them through the  U.S.  Congress...
	- Ronald Reagan 
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux