nerdexam
CompTIA

XK0-004 · Question #501

A company's httpd server has stopped working and restarting the service does not fix the issue. A junior systems administrator is investigating log files for clues. Which of the following commands…

The correct answer is A. journalctl -u httpd. journalctl -u will list the log entries associated with the httpd unit.

Troubleshooting and Diagnostics

Question

A company's httpd server has stopped working and restarting the service does not fix the issue. A junior systems administrator is investigating log files for clues. Which of the following commands should the administrator execute?

Options

  • Ajournalctl -u httpd
  • Bjournalctl -l httpd
  • Csystemctl -s httpd
  • Dsystemctl -l httpd

How the community answered

(31 responses)
  • A
    94% (29)
  • C
    3% (1)
  • D
    3% (1)

Explanation

journalctl -u will list the log entries associated with the httpd unit.

Topics

#journalctl#systemd logs#httpd#service troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice