could not open locahost:9000/sonar/ - ubuntu server 16.04.3

3,609 views
Skip to first unread message

BSAI Techno Sales Pvt. Ltd.

unread,
Jan 8, 2018, 1:26:05 AM1/8/18
to SonarQube

Hello Everyone
I implement below steps for sonarqube installation but localhost i.e 192.168.0.111:9000/sonar/ does not display any page. I have been stuck from many days, any feedback will be great help.

Please see the installation steps from this url https://drive.google.com/file/d/1MTagyGCHGQjIwYkjmx0GW4TlVC5X_4PT/view?usp=sharing

Awaiting for the response

Thanks

BSAI

Installation Steps

root@storage:~/Downloads# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>


mysql> CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
Query OK, 1 row affected (0.00 sec)

mysql> CREATE USER 'sonar' IDENTIFIED BY 'sonar';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql>


root@storage:~/Downloads# wget https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-6.7.1.zip

root@storage:~/Downloads# unzip sonarqube-6.7.1.zip

root@storage:~/Downloads# mv sonarqube-6.7.1 /opt/sonar
root@storage:~/Downloads#


Edit sonar.properties

Open /opt/sonar/conf/sonar.properties with your favourite text editor, and modify it.
MySQL settings
Uncomment the user credentials and the MySQL related settings:

sonar.jdbc.username=sonar
sonar.jdbc.password=sonar

# Only the bundled driver is supported. It can not be changed.
sonar.jdbc.url=jdbc:mysql://storage.example.com:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false



Web Server settings
The following settings allow you to run the server on page http://localhost:9000/sonar

# By default, ports will be used on all IP addresses associated with the server.
sonar.web.host=192.168.0.111

# The default value is root context (empty value).
sonar.web.context=/sonar

# TCP port for incoming HTTP connections. Default value is 9000.
sonar.web.port=9000


Implement SonarQube server as a service [optional]

Copy sonar.sh to etc/init.d/sonar and modify it according to your platform.

root@storage:~/Downloads# sudo cp /opt/sonar/bin/linux-x86-64/sonar.sh /etc/init.d/sonar
root@storage:~/Downloads#

root@storage:~/Downloads# vi /etc/init.d/sonar
root@storage:~/Downloads#

Insert two new lines:

# Adding below two new lines manually
SONAR_HOME=/opt/sonar
PLATFORM=linux-x86-64

Modify the following lines:

WRAPPER_CMD="${SONAR_HOME}/bin/${PLATFORM}/wrapper"
WRAPPER_CONF="${SONAR_HOME}/conf/wrapper.conf"
...
PIDDIR="/var/run"

To

# Wrapper
#WRAPPER_CMD="./wrapper"
#WRAPPER_CONF="../../conf/wrapper.conf"
WRAPPER_CMD="${SONAR_HOME}/bin/${PLATFORM}/wrapper"
WRAPPER_CONF="${SONAR_HOME}/conf/wrapper.conf"

# Location of the pid file.
#PIDDIR="."
PIDDIR="/var/run"

Register as a Linux service:

root@storage:~/Downloads# sudo update-rc.d -f sonar remove
insserv: warning: script 'K01youtrack' missing LSB tags and overrides
insserv: warning: script 'sonar' missing LSB tags and overrides
insserv: warning: script 'youtrack' missing LSB tags and overrides

root@storage:~/Downloads# sudo chmod 755 /etc/init.d/sonar

root@storage:~/Downloads# sudo update-rc.d sonar defaults
insserv: warning: script 'K01youtrack' missing LSB tags and overrides
insserv: warning: script 'sonar' missing LSB tags and overrides
insserv: warning: script 'youtrack' missing LSB tags and overrides
root@storage:~/Downloads#


Create Desktop icons [optional]

Install gnome-panel if missing:

root@storage:~/Downloads# sudo apt-get install gnome-panel --no-install-recommends

Open Dialog for creating new item for starting SonarQube:

root@storage:~/Downloads# sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
root@storage:~/Downloads#

GUI will open where you can type as following

Type : Application in Terminal
Name : SonarQube Start
Command : sudo /etc/init.d/sonar start
Comment: Start SonarQube Service

Copy the item to the Desktop:

root@storage:~/Downloads# sudo cp /usr/share/applications/SonarQube\ Start.desktop /home/example/Desktop/
root@storage:~/Downloads#

Open Dialog for creating new item for stopping SonarQube:

root@storage:~/Downloads# sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

GUI will open, Type following or copy paste :
Type : Application in Terminal
Name : SonarQube Stop
Command: sudo /etc/init.d/sonar stop
Comment: Stop SonarQube Service

Copy the item to the Desktop:

root@storage:~/Downloads# sudo cp /usr/share/applications/SonarQube\ Stop.desktop /home/example/Desktop/
root@storage:~/Downloads#

sudo /etc/init.d/sonar start

Run SonarQube server

Start SonarQube server either by typing the direct command:

root@storage:~/Downloads# sudo /opt/sonar/bin/linux-x86-64/sonar.sh start
Starting SonarQube...
Started SonarQube.
root@storage:~/Downloads#

or by typing the service command:

sudo /etc/init.d/sonar start

or by clicking on the SonarQube Start icon which was created before (with password).

Visit SonarQube web page at http://storage.example.com:9000/sonar

Stop SonarQube server either by typing the direct command:
Stop SonarQube server either by typing the direct command:

root@storage:~/Downloads# sudo /opt/sonar/bin/linux-x86-64/sonar.sh stop
Stopping SonarQube...
SonarQube was not running.

or start by typing the service command:
root@storage:~/Downloads# sudo /etc/init.d/sonar start
Starting SonarQube...
Started SonarQube.
root@storage:~/Downloads#

You can confirm the status for Sonar by following

root@storage:~/Downloads# sudo systemctl start sonar

root@storage:~/Downloads# sudo systemctl status sonar
● sonar.service - SYSV: Test Wrapper Sample Application
   Loaded: loaded (/etc/init.d/sonar; bad; vendor preset: enabled)
   Active: active (exited) since Sun 2018-01-07 15:32:47 +0545; 17s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 18388 ExecStart=/etc/init.d/sonar start (code=exited, status=0/SUCCESS)

Jan 07 15:32:47 storage systemd[1]: Starting SYSV: Test Wrapper Sample Application...
Jan 07 15:32:47 storage sonar[18388]: Starting SonarQube...
Jan 07 15:32:47 storage sonar[18388]: Started SonarQube.
Jan 07 15:32:47 storage systemd[1]: Started SYSV: Test Wrapper Sample Application.
root@storage:~/Downloads#

Make Sure mysql is running
root@storage:~/Downloads# sudo systemctl status mysql
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-01-07 14:30:22 +0545; 1h 4min ago
 Main PID: 9044 (mysqld)
    Tasks: 28
   Memory: 149.8M
      CPU: 2.618s
   CGroup: /system.slice/mysql.service
           └─9044 /usr/sbin/mysqld

Jan 07 14:30:21 storage systemd[1]: Starting MySQL Community Server...
Jan 07 14:30:22 storage systemd[1]: Started MySQL Community Server.
root@storage:~/Downloads#


Make Sure you install Apache2

root@storage:~/Downloads# sudo apt-get install apache2

Enable mod_proxy.

root@storage:~/Downloads# sudo a2enmod proxy
Enabling module proxy.
To activate the new configuration, you need to run:
  service apache2 restart
root@storage:~/Downloads# service apache2 restart
root@storage:~/Downloads# sudo a2enmod proxy_http
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
To activate the new configuration, you need to run:
  service apache2 restart
root@storage:~/Downloads#
root@storage:~/Downloads# service apache2 restart
root@storage:~/Downloads#


Create a new virtual host.

root@storage:~/Downloads# sudo vi /etc/apache2/sites-available/sonar.example.com.conf

<VirtualHost *:80>
    ServerName sonar.example.com
    ServerAdmin exa...@gmail.com
    ProxyPreserveHost On
    ProxyPass / http://192.168.0.111:9000/
    ProxyPassReverse / http://192.168.0.111:9000/
    TransferLog /var/log/apache2/sonar.example.com_access.log
    ErrorLog /var/log/apache2/sonar.example.com_error.log
</VirtualHost>

Enable the virtual host.
sudo a2ensite sonar.example.com.conf

Start Apache and enable it to start automatically at boot time:

root@storage:~/Downloads# sudo systemctl start apache2
root@storage:~/Downloads# sudo systemctl enable apache2
apache2.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable apache2
insserv: warning: script 'K01sonar' missing LSB tags and overrides
insserv: warning: script 'K01youtrack' missing LSB tags and overrides
insserv: warning: script 'sonar' missing LSB tags and overrides
insserv: warning: script 'youtrack' missing LSB tags and overrides
insserv: warning: script 'K01sonar' missing LSB tags and overrides
insserv: warning: script 'K01youtrack' missing LSB tags and overrides
insserv: warning: script 'sonar' missing LSB tags and overrides
insserv: warning: script 'youtrack' missing LSB tags and overrides

If your server is already running, restart it using:
root@storage:~/Downloads# sudo systemctl restart apache2
root@storage:~/Downloads#

Step 6: Finish install

Start the SonarQube service:
root@storage:~/Downloads# sudo systemctl start sonar

SonarQube is installed on your server, access the dashboard at the following address.

nicolas...@sonarsource.com

unread,
Jan 8, 2018, 4:50:46 AM1/8/18
to SonarQube
Hi there,

For starters I would suggest to put aside any 'run as a service', 'gnome-panel', reverse-proxy, ssl and other non-SonarQube considerations that are listed in your post. That will allow you to diagnose the situation on a more lightweight setup. At that point check-out the SonarQube Troubleshooting documentation , which will introduce you to the couple of files you should check in case of any startup failures. These logs will help you identify any startup error, and focus your investigations on that error. (if any follow-up is needed then make sure to provide actual logs of the failure)

Best regards,
Nicolas

Nicolas Bontoux

unread,
Jan 9, 2018, 7:54:59 AM1/9/18
to BSAI Techno Sales Pvt. Ltd., SonarQube
Hi there,

This is a community group so please keep on including the group in your responses, that way the overall community benefits from our investigations/findings here.

Your initial report was about the SonarQube server not starting, so it's expected that scanners can then not reach that same server (ERROR: Sonar server 'http://192.168.0.227:9000' can not be reached). The reason why I mentioned the SonarQube Troubleshooting documentation is because it goes through the various log files that will help you understand why your SonarQube does not start. Try to start it, understand at which point it fails, identify the actual startup error in one of the log files, and that should help in moving forward by resolving it.

Best regards,
Nicolas

On Tue, 9 Jan 2018 at 10:59 BSAI Techno Sales Pvt. Ltd. <bsaitec...@gmail.com> wrote:
Hi Nicholas
I did not find the solution on the documentation url which you have send me. However, I am getting following error output while checking sonar status

root@storage:/opt/sonar/sonar-runner-2.4/conf# /opt/sonar/sonar-runner-2.4/bin/sonar-runner status -X
SonarQube Runner 2.4
Java 1.8.0_151 Oracle Corporation (64-bit)
Linux 4.4.0-104-generic amd64
INFO: Error stacktraces are turned on.
INFO: Runner configuration file: /opt/sonar/sonar-runner-2.4/conf/sonar-runner.properties
INFO: Project configuration file: NONE
ERROR: Sonar server 'http://192.168.0.227:9000' can not be reached
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 0.056s
Final Memory: 2M/240M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution

org.sonar.runner.kevinsawicki.HttpRequest$HttpRequestException: java.net.ConnectException: Connection refused (Connection refused)
    at org.sonar.runner.kevinsawicki.HttpRequest.code(HttpRequest.java:1392)
    at org.sonar.runner.kevinsawicki.HttpRequest.ok(HttpRequest.java:1417)
    at org.sonar.runner.impl.ServerConnection.downloadString(ServerConnection.java:93)
    at org.sonar.runner.impl.ServerVersion.downloadVersion(ServerVersion.java:47)
    at org.sonar.runner.impl.ServerVersion.version(ServerVersion.java:38)
    at org.sonar.runner.impl.ServerVersion.is37Compatible(ServerVersion.java:58)
    at org.sonar.runner.impl.JarDownloader.checkVersionAndDownload(JarDownloader.java:36)
    at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:71)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
    at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
    at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
    at org.sonar.runner.api.Runner.execute(Runner.java:100)
    at org.sonar.runner.Main.executeTask(Main.java:70)
    at org.sonar.runner.Main.execute(Main.java:59)
    at org.sonar.runner.Main.main(Main.java:53)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    at org.sonar.runner.kevinsawicki.HttpRequest.code(HttpRequest.java:1390)
    ... 15 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)

    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:357)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3000)
    at org.sonar.runner.kevinsawicki.HttpRequest.header(HttpRequest.java:1903)
    at org.sonar.runner.kevinsawicki.HttpRequest.contentType(HttpRequest.java:2308)
    at org.sonar.runner.impl.ServerConnection.downloadString(ServerConnection.java:89)
    ... 13 more
root@storage:/opt/sonar/sonar-runner-2.4/conf#


--

Nicolas Bontoux | SonarSource

Support Engineer

http://sonarsource.com

G. Ann Campbell

unread,
Jan 9, 2018, 3:46:25 PM1/9/18
to SonarQube
Hi,

There's a lot of "root@storage" in your initial message. Starting with 6.6, you can't run SonarQube as root.


Ann

BSAI Techno Sales Pvt. Ltd.

unread,
Jan 9, 2018, 11:46:35 PM1/9/18
to SonarQube
Hi  Ann
Apology for sending you a private email. I I tried running sonarqube from the user but still the problem exist. Its been a one week now i am still facing this issue. Please help me Ann please.

Also I check the log file where i see connection refused issue under elasticsearch log file and sonarqube log file below is the detail logoutput file for view

root@storage:/opt/sonar/logs# ls -ltr total 116 -rw-r--r-- 1 root root 42640 Jan 7 18:12 es.2018-01-07.log -rw-r--r-- 1 root root 5330 Jan 8 16:39 es.2018-01-08.log -rw-r--r-- 1 root root 21320 Jan 9 16:42 es.log -rw-r--r-- 1 root root 30319 Jan 9 16:42 sonar.log root@storage:/opt/sonar/logs#

https://drive.google.com/file/d/1dh60U8z5NZNBxU6U2hAoEZ9sjsSsdpFm/view?usp=sharing

https://drive.google.com/file/d/1iFc5ibZRtAe8TtggI0gb87oJxv_Wtqpo/view?usp=sharing


NMAP Output

root@storage:/opt/sonar/logs# nmap -v -p 9000 192.168.0.227

Starting Nmap 7.01 ( https://nmap.org ) at 2018-01-09 16:54 +0545 Initiating SYN Stealth Scan at 16:54 Scanning storage.bsaitechnosales.com (192.168.0.227) [1 port] Completed SYN Stealth Scan at 16:54, 0.22s elapsed (1 total ports) Nmap scan report for storage.example.com (192.168.0.227) Host is up (0.000041s latency). PORT STATE SERVICE 9000/tcp closed cslistener

Read data files from: /usr/bin/../share/nmap Nmap done: 1 IP address (1 host up) scanned in 0.32 seconds Raw packets sent: 1 (44B) | Rcvd: 2 (84B)

ES LOG OUTPUT 2018.01.09 09:21:25 ERROR es[][o.e.b.Bootstrap] Exception java.lang.RuntimeException: can not run elasticsearch as root at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:106) ~[ elasticsearch-5.6.3.jar:5.6.3] at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:195) ~[elasticsearc h-5.6.3.jar:5.6.3] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) [elasticsearch- 5.6.3.jar:5.6.3]


SONAR.LOG Output

root@storage:/opt/sonar/logs# more sonar.log Wrapper Started as Daemon Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2018.01.07 15:23:08 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonar/temp 2018.01.07 15:23:08 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0. 1:9001 2018.01.07 15:23:08 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ip cIndex=1, logFilenamePrefix=es]] from [/opt/sonar/elasticsearch]: /opt/sonar/elasticsearc h/bin/elasticsearch -Epath.conf=/opt/sonar/temp/conf/es 2018.01.07 15:23:08 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up a nd running 2018.01.07 15:23:08 INFO app[][o.e.p.PluginsService] no modules loaded 2018.01.07 15:23:08 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.tr ansport.Netty4Plugin] 2018.01.07 15:23:08 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 1 2018.01.07 15:23:08 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped 2018.01.07 15:23:08 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped Wrapper Stopped


example@storage:~$ sudo /etc/init.d/sonar stop
[sudo] password for bsaitechnosales:
Stopping SonarQube...
SonarQube was not running.
example@storage:~$ sudo /etc/init.d/sonar start
Starting SonarQube...
Started SonarQube.
example@storage:~$ sudo /etc/init.d/sonar status
SonarQube is not running.
example@storage:~$


BSAI Techno Sales Pvt. Ltd.

unread,
Jan 10, 2018, 12:22:28 AM1/10/18
to SonarQube
Hi Nicholas
Checking log file shows connection refused. Also ufw status is showing as following. I have added 9000 port via ufw command but still its not working

To                         Action      From
--                         ------      ----
80                         ALLOW       Anywhere                 
OpenSSH                    ALLOW       Anywhere                 
9000/tcp                   ALLOW       Anywhere                 
80 (v6)                    ALLOW       Anywhere (v6)            
OpenSSH (v6)               ALLOW       Anywhere (v6)            
9000/tcp (v6)              ALLOW       Anywhere (v6)            




Thanks

BSAI Techno Sales Pvt. Ltd.

unread,
Jan 10, 2018, 12:56:31 AM1/10/18
to SonarQube
Hi Nicholas
Checking log file shows connection refused. Also ufw status is showing as following. I have added 9000 port via ufw command but still its not working

To                         Action      From
--                         ------      ----
80                         ALLOW       Anywhere                 
OpenSSH                    ALLOW       Anywhere                 
9000/tcp                   ALLOW       Anywhere                 
80 (v6)                    ALLOW       Anywhere (v6)            
OpenSSH (v6)               ALLOW       Anywhere (v6)            
9000/tcp (v6)              ALLOW       Anywhere (v6)            

Simon Brandhof

unread,
Jan 10, 2018, 2:09:55 AM1/10/18
to BSAI Techno Sales Pvt. Ltd., SonarQube
Hi,

The error message in logs is "can not run elasticsearch as root". Indeed since version 6.6 it's no longer possible to use root to start SonarQube (see https://docs.sonarqube.org/display/SONAR/Release+6.6+Upgrade+Notes and https://docs.sonarqube.org/display/SONAR/Troubleshooting). You should use another account.

Regards

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/6988313c-7879-4b76-8cce-05089bf23dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Simon Brandhof | SonarSource

Co-Founder & Tech Lead

@SimonBrandhof

http://sonarsource.com

BSAI Techno Sales Pvt. Ltd.

unread,
Jan 10, 2018, 2:24:16 AM1/10/18
to Simon Brandhof, SonarQube
Hi Simon
Thanks for the response. So what is the solution ? As i am begineers in this. It will be great help if you can guide me to make sonarqube make work.

To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.

Simon Brandhof

unread,
Jan 10, 2018, 6:34:48 AM1/10/18
to BSAI Techno Sales Pvt. Ltd., SonarQube
You should not run /opt/sonar/bin/linux-x86-64/sonar.sh with sudo.

To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.


--

Simon Brandhof | SonarSource

Co-Founder & Tech Lead

@SimonBrandhof

http://sonarsource.com

BSAI Techno Sales Pvt. Ltd.

unread,
Jan 10, 2018, 6:58:24 AM1/10/18
to Simon Brandhof, SonarQube
So what to do now in order to solve the issue ? I did the installation by following this url

http://dev.mamikon.net/installing-sonarqube-on-ubuntu/

Please help me what is the solution steps

With Best

On Wed, Jan 10, 2018 at 5:19 PM, Simon Brandhof <simon.b...@sonarsource.com> wrote:
You should not run /opt/sonar/bin/linux-x86-64/sonar.sh with sudo.
On Wed, 10 Jan 2018 at 08:24 BSAI Techno Sales Pvt. Ltd. <bsaitec...@gmail.com> wrote:
Hi Simon
Thanks for the response. So what is the solution ? As i am begineers in this. It will be great help if you can guide me to make sonarqube make work.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.


--

Simon Brandhof | SonarSource

Co-Founder & Tech Lead

@SimonBrandhof

http://sonarsource.com
Reply all
Reply to author
Forward
0 new messages