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.