Difficulty: Easy
Correct Answer: httpd
Explanation:
Introduction / Context:
The Apache HTTP Server is one of the most widely deployed web servers. On UNIX/Linux, it runs as a daemon process that listens on TCP port 80 (HTTP) and optionally 443 (HTTPS). Recognizing its service name is essential for starting, stopping, and troubleshooting web services.
Given Data / Assumptions:
Concept / Approach:
The Apache daemon is traditionally named httpd (HTTP daemon). Distributions package it under names like httpd (RHEL/CentOS) or apache2 (Debian/Ubuntu), but the underlying process binary is typically httpd. Administrators manage it with systemctl start httpd or service httpd start, depending on the init system.
Step-by-Step Solution:
Verification / Alternative check:
Check listening sockets with ss -lntp | grep :80 or journalctl -u httpd for logs and errors. Confirm firewall rules allow inbound HTTP/HTTPS traffic.
Why Other Options Are Wrong:
a: apached is not the standard daemon name.
c: html is a document format, not a daemon.
d: shttp is not the default Apache service name.
e: Not applicable since httpd is correct.
Common Pitfalls:
Confusing package names with service names (apache2 vs httpd), ignoring SELinux contexts on content directories, and forgetting to open ports 80/443 in the firewall.
Final Answer:
httpd
Discussion & Comments