XK0-005 · Question #1594
After starting an Apache web server, the administrator receives the following error: Which of the following commands should the administrator use to further troubleshoot this issue?
The correct answer is A. ss. The ss (socket statistics) command displays all active network connections, listening ports, and their associated processes. When Apache fails to start, a common cause is a port conflict - another process is already bound to port 80 or 443. Running ss -tlnp reveals which ports…
Question
Options
- Ass
- Bip
- Cdig
- Dnc
How the community answered
(39 responses)- A82% (32)
- B3% (1)
- C10% (4)
- D5% (2)
Explanation
The ss (socket statistics) command displays all active network connections, listening ports, and their associated processes. When Apache fails to start, a common cause is a port conflict - another process is already bound to port 80 or 443. Running ss -tlnp reveals which ports are in use and which PIDs/processes hold them, directly identifying the conflict. ip (B) manages network interfaces and routing but does not show port usage. dig (C) performs DNS lookups, unrelated to local port conflicts. nc (D) can test connectivity but is not the right tool for discovering which local processes are occupying specific ports.
Topics
Community Discussion
No community discussion yet for this question.