________________________________ From: systemd-devel <[email protected]> on behalf of Reindl Harald <[email protected]> Sent: Monday, 23 November 2020 14:35 To: [email protected] <[email protected]> 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.
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
