[systemd-devel] Help with Systemd + Apache 2.4 - CentOS 7

Lucas Possamai l.possamai at outlook.com
Mon Nov 23 21:57:25 UTC 2020


________________________________
From: systemd-devel <systemd-devel-bounces at lists.freedesktop.org> on behalf of Reindl Harald <h.reindl at thelounge.net>
Sent: Monday, 23 November 2020 14:35
To: systemd-devel at lists.freedesktop.org <systemd-devel at lists.freedesktop.org>
Subject: Re: [systemd-devel] Help with Systemd + Apache 2.4 - CentOS 7



Am 23.11.20 um 02:32 schrieb Lucas Possamai:
> Hi,
>
> I have Apache 2.4.6-93 running on a CentOS 7.8.2003 that is not starting
> using Systemd.
>
> If I do: /systemctl start httpd/, I get the following error:
>
>     Nov 22 20:14:11 localhost systemd[1]: Failed to start The Apache
>     HTTP Server.
>     -- Subject: Unit httpd.service has failed
>     -- Defined-By: systemd
>     -- Support: https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fsystemd-devel&data=04%7C01%7C%7C5f88409cc824454e17d108d88fad9d91%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637417323125269668%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xY0O2Ju2D9HTE7hWJq%2FlyE3zitMghWzhy%2BzFn3%2Byblc%3D&reserved=0

this is outdated for years and was always wrong

>     -- Unit httpd.service has failed.
>     --
>     -- The result is failed.
>
>
> However, running 'httpd -k start' works!
>
> /usr/lib/systemd/system/httpd.service:
>
>     [Unit]
>     Description=The Apache HTTP Server
>     After=network.target remote-fs.target nss-lookup.target
>     Documentation=man:httpd(8)
>     Documentation=man:apachectl(8)
>
>     [Service]
>     Type=notify
>     EnvironmentFile=/etc/sysconfig/httpd
>     ExecStart=/usr/sbin/httpd $OPTIONS -k start
>     ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
>     ExecStop=/bin/kill -WINCH ${MAINPID}
>     KillSignal=SIGCONT
>     PrivateTmp=true
>
>     [Install]
>     WantedBy=multi-user.target
>
>
> What could it be?
who knows - look at the httpd errorlog or at least "systemctl status
httpd.service"

however, systemd is only the messenger
_______________________________________________

I<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fsystemd-devel&data=04%7C01%7C%7C5f88409cc824454e17d108d88fad9d91%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637417323125274660%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LVbVL5ibf2bexVvTGGr82V%2FQACQ%2BlySTs3xsOh7McdY%3D&reserved=0> don't find any extra info in the Apache Logs. The attached error message is the only log I can see.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20201123/ae12c7b7/attachment.htm>


More information about the systemd-devel mailing list