How Do You Troubleshoot “Failed to start sonar.service: Unit not found” Error?

Problem scenario
You run "sudo systemctl start sonar", but you get this message: "Failed to start sonar.service: Unit not found"

What should you do?

Solution
Run this: sudo systemctl enable sonar

Now you should be able to run your command to start the "sonar" service.

Leave a comment

Your email address will not be published. Required fields are marked *