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

Michael Biebl mbiebl at gmail.com
Mon Nov 23 10:22:04 UTC 2020


Am Mo., 23. Nov. 2020 um 02:33 Uhr schrieb Lucas Possamai
<l.possamai at outlook.com>:
>
> 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: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- 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

Are you sure that apache2 supports sd_notify?


More information about the systemd-devel mailing list