On Sun, 2024-09-22 at 09:46 -0400, Jonathan Billings wrote:
> On Sep 21, 2024, at 09:35, francis.montag...@inria.fr wrote:
> > 
> > HI.
> > 
> > > On Sat, 21 Sep 2024 13:16:49 +0100 Patrick O'Callaghan wrote:
> > > 4. The journal (see below) shows that httpd does resume with the rest
> > > of the system, but then is immediately deactivated. The reason for this
> > > is not stated (there's no error message), but may be because on the
> > > system resume the network is not yet up.
> > 
> > Look perhaps in /var/log/http/error_log.
> 
> I can’t see any evidence that anyone actually looked at httpd’s log to see 
> the error it produces, everything else is speculation at this point. If 
> you’re not seeing any logs at all, then I don’t think the script you use to 
> restart the daemon is actually starting ant anything at all. 
> 
> To heap on even more speculation, I seem to recall if you have DNS names in 
> your httpd.conf or associated conf.d settings, and httpd can’t resolve those 
> names upon startup, it will fail out.
> 
> If DNS resolution isn’t working shortly after resume, that might be 
> contributing to the problem. But as I said, without actual errors, my guess 
> is as good as anyone’s.

I should have been more clear in my post. There are no apparent errors
(nothing in error.log). Apache is not failing, aborting or crashing.
The journal shows it being explicitly deactivated, for reasons which
are far from clear.

More detail: everything else is working. The network is up and
connected, DNS resolution is fine. The only problem is that a second or
so after system resume, at which point *Apache is running* (I know it
is because I'm logging it separately) Apache is according to the
journal being "successfully deactivated".

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to