-
Notifications
You must be signed in to change notification settings - Fork 30
Description
I completed Sonarqube installation but web page is not accessible. I tried localhost i.e http://localhost:9000 on browser but it does not display any pages. Any feedback will be great help.
here is the steps i followed using this link https://www.fosstechnix.com/how-to-install-sonarqube-on-ubuntu-20-04/
active service is running and i am not able to access through http://localhost:9000
here is the config file
sonar.jdbc.username=sonar
sonar.jdbc.password=sonar
sonar.jdbc.url=jdbc:postgresql://localhost:5432/sonarqube
sonar.web.host=0.0.0.0
sonar.web.port=9000
sonar.web.javaAdditionalOpts=-server
sonar.search.javaOpts=-Xmx512m -Xms512m -XX:+HeapDumpOnOutOfMemoryError
sonar.log.level=INFO
sonar.path.logs=logs
here is the auto service activation status
(base) ml@javatest-Inspiron-3542:~$ sudo systemctl status sonar
● sonar.service - SonarQube service
Loaded: loaded (/etc/systemd/system/sonar.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-12-11 10:18:18 IST; 1s ago
Process: 59385 ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start (code=exited, status=0/SUCCESS)
Main PID: 59435 (wrapper)
Tasks: 36 (limit: 4499)
Memory: 294.8M
CGroup: /system.slice/sonar.service
├─59435 /opt/sonarqube/bin/linux-x86-64/./wrapper /opt/sonarqube/bin/linux-x86-64/../../conf/wrapper.conf wrapper.syslog.ident=S>
├─59437 java -Dsonar.wrapped=true -Djava.awt.headless=true -Xms8m -Xmx32m -Djava.library.path=./lib -classpath ../../lib/jsw/wra>
└─59469 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSIni>
Dec 11 10:18:18 javatest-Inspiron-3542 systemd[1]: Starting SonarQube service...
Dec 11 10:18:18 javatest-Inspiron-3542 sonar.sh[59385]: Starting SonarQube...
Dec 11 10:18:18 javatest-Inspiron-3542 sonar.sh[59385]: Started SonarQube.
Dec 11 10:18:18 javatest-Inspiron-3542 systemd[1]: Started SonarQube service.