ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 46 - XK0-005 discussion

Report
Export

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?

A.
Enable the logsearch.service and restart the service.
Answers
A.
Enable the logsearch.service and restart the service.
B.
Increase the TimeoutStartUSec configuration for the logsearch.sevice.
Answers
B.
Increase the TimeoutStartUSec configuration for the logsearch.sevice.
C.
Update the OnCalendar configuration to schedule the start of the logsearch.service.
Answers
C.
Update the OnCalendar configuration to schedule the start of the logsearch.service.
D.
Update the KillSignal configuration for the logsearch.service to use TERM.
Answers
D.
Update the KillSignal configuration for the logsearch.service to use TERM.
Suggested answer: B

Explanation:

The administrator should increase the TimeoutStartUSec configuration for the logsearch.service to resolve the issue. The output of systemctl 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. The other options are incorrect because they are not related to the issue. The service is already enabled, as shown by the output of systemctl is-enabled logsearch.service. The service does not use an OnCalendar configuration, as it is not a timer unit. The service does not use a KillSignal configuration, as it is not being killed by a signal. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 14: Managing Processes and Scheduling Tasks, pages 434-435.

asked 02/10/2024
FRANK THYS
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first