[systemd-devel] Help with Systemd + Apache 2.4 - CentOS 7
Reindl Harald
h.reindl at thelounge.net
Mon Nov 23 10:54:53 UTC 2020
Am 23.11.20 um 11:22 schrieb Michael Biebl:
> 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?
surely, at least the binaries from CentOS/Redhat
More information about the systemd-devel
mailing list