XK0-005 · Question #559
A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command: The following output is returned Which of the following is MOST likely the…
The correct answer is A. The service does not have permissions to read write the startupfile. The most likely issue is that the service does not have permissions to read or write the startupfile. The output of systemct1 status startup.service shows that the service has failed to start and the error message is "Permission denied". The output of ls -l /etc/startupfile…
Question
A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:
The following output is returned Which of the following is MOST likely the issue?
Options
- AThe service does not have permissions to read write the startupfile.
- BThe service startupfile size cannot be 81k.
- CThe service startupfile cannot be owned by root.
- DThe service startupfile should not be owned by the root group.
How the community answered
(19 responses)- A84% (16)
- B11% (2)
- C5% (1)
Explanation
The most likely issue is that the service does not have permissions to read or write the startupfile. The output of systemct1 status startup.service shows that the service has failed to start and the error message is "Permission denied". The output of ls -l /etc/startupfile shows that the file has the permissions -rw-r--r--, which means that only the owner (root) can read and write the file, while the group (root) and others can only read the file. The service may not run as root and may need write access to the file. The administrator should change the permissions of the file by using the chmod command and grant write access to the group or others, or change the owner or group of the file by using the chown command and assign it to the user or group that runs the service.
Topics
Community Discussion
No community discussion yet for this question.