Impossible to run Sonarqube: ERROR web[][o.s.s.a.EmbeddedTomcat] Fail to start web server

All, I had the same issue, but thanks to the conversation it led me to the solution. More than likely you have SonarQube running as a service, and because of this it has the port blocked. Do the following:

  1. Uninstall SonarQube service using the file: E:\SonarQube\bin\windows-x86-64\UninstallNTService.bat
  2. Reboot the computer
  3. Start the service using E:\SonarQube\bin\windows-x86-64\StartSonar.bat

The reason why we are running into this issue is because the services is most likely set to startup with windows reboot. Therefore, the port is captured in is in maintenance mode. Removing it shuts down the service and leaves the port open for you to start SonarQube

Good luck, hope this helps

2 Likes

thanks it worked for me.