Score:0

Apache running but saying it's failed [CentOS 8 Stream]

us flag

On a clean install of CentOS 8 Stream I run the following commands

yum install httpd -y  
yum install mod_ssl -y  
httpd -k start  
systemctl enable httpd

At this point Apache is running and pages are being served, but if I execute systemctl status httpd it will show me the following: screenshot

Does anybody have any idea what is happening?

Apache version is 2.4.37 and there are no errors in the logs.

Score:1
in flag

You manually launch the webserver with httpd -k start rather than with the systemd service unit and systemctl start httpd .

That means that Apache httpd is running, but not as a service managed by systemd and systemctl status httpd can't effectively determine what's happening there.

Doing httpd -k start breaks for instance the systemd PrivateTmp setting

Adrien Hingert avatar
us flag
Thank you very much!
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.