XK0-005 · Question #519
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs: Based on…
The correct answer is B. Increase the TimeoutStartUSec configuration for the logsearch.sevice. The administrator should increase the TimeoutStartUSec configuration for the logsearch.service to resolve the issue. The output of systemct1 status logsearch.service shows that the service failed to start due to a timeout. The output of cat /etc/systemd/system/logsearch.service…
Question
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs:
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?
Options
- AEnable the logsearch.service and restart the service.
- BIncrease the TimeoutStartUSec configuration for the logsearch.sevice.
- CUpdate the OnCalendar configuration to schedule the start of the logsearch.service.
- DUpdate the KillSignal configuration for the logsearch.service to use TERM.
How the community answered
(14 responses)- A7% (1)
- B86% (12)
- C7% (1)
Explanation
The administrator should increase the TimeoutStartUSec configuration for the logsearch.service to resolve the issue. The output of systemct1 status logsearch.service shows that the service failed to start due to a timeout. The output of cat /etc/systemd/system/logsearch.service shows that the service has a TimeoutStartUSec configuration of 10 seconds, which might be too short for the service to start. The administrator should increase this value to a higher number, such as 30 seconds or 1 minute, and then restart the service.
Topics
Community Discussion
No community discussion yet for this question.