<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> systemd-devel <systemd-devel-bounces@lists.freedesktop.org> on behalf of Reindl Harald <h.reindl@thelounge.net><br>
<b>Sent:</b> Monday, 23 November 2020 14:35<br>
<b>To:</b> systemd-devel@lists.freedesktop.org <systemd-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: [systemd-devel] Help with Systemd + Apache 2.4 - CentOS 7</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText"><br>
<br>
Am 23.11.20 um 02:32 schrieb Lucas Possamai:<br>
> Hi,<br>
> <br>
> I have Apache 2.4.6-93 running on a CentOS 7.8.2003 that is not starting <br>
> using Systemd.<br>
> <br>
> If I do: /systemctl start httpd/, I get the following error:<br>
> <br>
> Nov 22 20:14:11 localhost systemd[1]: Failed to start The Apache<br>
> HTTP Server.<br>
> -- Subject: Unit httpd.service has failed<br>
> -- Defined-By: systemd<br>
> -- Support: <a href="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">
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</a><br>
<br>
this is outdated for years and was always wrong<br>
<br>
> -- Unit httpd.service has failed.<br>
> --<br>
> -- The result is failed.<br>
> <br>
> <br>
> However, running 'httpd -k start' works!<br>
> <br>
> /usr/lib/systemd/system/httpd.service:<br>
> <br>
> [Unit]<br>
> Description=The Apache HTTP Server<br>
> After=network.target remote-fs.target nss-lookup.target<br>
> Documentation=man:httpd(8)<br>
> Documentation=man:apachectl(8)<br>
> <br>
> [Service]<br>
> Type=notify<br>
> EnvironmentFile=/etc/sysconfig/httpd<br>
> ExecStart=/usr/sbin/httpd $OPTIONS -k start<br>
> ExecReload=/usr/sbin/httpd $OPTIONS -k graceful<br>
> ExecStop=/bin/kill -WINCH ${MAINPID}<br>
> KillSignal=SIGCONT<br>
> PrivateTmp=true<br>
> <br>
> [Install]<br>
> WantedBy=multi-user.target<br>
> <br>
> <br>
> What could it be?<br>
who knows - look at the httpd errorlog or at least "systemctl status <br>
httpd.service"<br>
<br>
however, systemd is only the messenger<br>
_______________________________________________<br>
</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><a href="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">I</a>
don't find any extra info in the Apache Logs. The attached error message is the only log I can see.<br>
</div>
</span></font></div>
</body>
</html>