Bird
0
0

A sysadmin runs the command systemctl start apache2 but gets an error. What is the most likely cause?

medium📝 Debug Q14 of 15
Linux CLI - System Administration
A sysadmin runs the command systemctl start apache2 but gets an error. What is the most likely cause?
AThe apache2 service is already running
BThe server is out of disk space
CThe user does not have permission to start services
DThe command syntax is incorrect
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the command and error context

    'systemctl start apache2' starts the web server service; error often means permission issue.
  2. Step 2: Check common causes for failure

    Without root or sudo rights, starting services fails; syntax is correct and disk space unrelated here.
  3. Final Answer:

    The user does not have permission to start services -> Option C
  4. Quick Check:

    Permission error = no rights to start service [OK]
Quick Trick: Starting services needs root or sudo rights [OK]
Common Mistakes:
  • Assuming service is already running causes error
  • Blaming syntax when command is correct
  • Thinking disk space causes start failure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes