Sonarqube - service sonar does not support chkconfig in centos 7
NickName:divakar.scm Ask DateTime:2016-08-30T19:59:41

Sonarqube - service sonar does not support chkconfig in centos 7

Followed sonarqube setup instructions from below link. But executing chkconfig command failed. It is blocking me to start the sonarqube as service in centos7.

http://docs.sonarqube.org/display/SONAR/Running+SonarQube+as+a+Service+on+Linux

http://devopscube.com/setup-and-configure-sonarqube-on-linux/

[build@inches-jenkins-master ~]$ cat /etc/init.d/sonar
#! /usr/bin/sh

/usr/bin/sonar $*

[build@inches-jenkins-master ~]$ which sh
/usr/bin/sh

[build@inches-jenkins-master ~]$ ls -lrt /usr/bin/sonar
lrwxrwxrwx. 1 root root 50 Aug 30 16:59 /usr/bin/sonar -> /usr/local/sonarqube-6.0/bin/linux-x86-64/sonar.sh

[build@inches-jenkins-master init.d]$ sudo chkconfig --add sonar
service sonar does not support chkconfig

No issues while starting manually.

[build@inches-jenkins-master init.d]$ sudo sonar start
Starting SonarQube...
Started SonarQube.
[build@inches-jenkins-master init.d]$

Copyright Notice:Content Author:「divakar.scm」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/39226917/sonarqube-service-sonar-does-not-support-chkconfig-in-centos-7

More about “Sonarqube - service sonar does not support chkconfig in centos 7” related questions

Sonarqube - service sonar does not support chkconfig in centos 7

Followed sonarqube setup instructions from below link. But executing chkconfig command failed. It is blocking me to start the sonarqube as service in centos7. http://docs.sonarqube.org/display/SO...

Show Detail

Centos httpd 2.4.3 service does not support chkconfig

Had to update apache to 2.4.3 on a centos 5.9 server due to a vulnerability. It is working properly, but I can not figure out a way to make it work with chkconfig (if possible). I've searched for

Show Detail

the centos in docker how to chkconfig service?

I have install docker in my mac, then pull and run centos at the docker. I config the service: chkconfig nginx on chkconfig php-fpm on chkconfig mysql on But when I restart the docker container,...

Show Detail

CentOS Service startup with custom parameters (chkconfig)

CentOS uses the chkconfig command to add services to to the startup routine, but how do I add a service and pass parameters to that service? To be more precise, I'm setting up the Sphinx search en...

Show Detail

SonarQube is unable to start on CentOS: systemd returns (code=exited, status=203/EXEC)

Following https://www.vultr.com/docs/how-to-install-sonarqube-on-centos-7 to install SonarQube on my CentOS. When I'm trying to start the SonarQube via sudo systemctl start sonar it is giving below

Show Detail

How start service on boot using centos7?

I hava a service using installation as an init.d service (System V) on Centos 7. I would like that after reboot the service starts automatically. How can i do it?. Thanks, I have tried: 1- /sbin/

Show Detail

Does sonar-runner support C# analysis on sonarqube 5 with C# 4.2

Is it possible to analyze C# project using Sonar-runner with sonar-c#-plugin-4.2. I saw the MSBuild SonarQube Runner to be used for C# analysis on the documentation. Does sonar-runner support C#

Show Detail

SonarQube cannot start with MariaDB 10

I installed MariaDB with yum in CentOS 7. SonarQube throws this exception: org.sonar.api.utils.MessageException: Unsupported mysql version: 5.5. Minimal supported version is 5.6. When I reinstall

Show Detail

SonarQube cannot start with MariaDB 10

I installed MariaDB with yum in CentOS 7. SonarQube throws this exception: org.sonar.api.utils.MessageException: Unsupported mysql version: 5.5. Minimal supported version is 5.6. When I reinstall

Show Detail

Does Sonar for Bamboo Add-on support Maven 2?

I want to integrate Bamboo with SonarQube using Sonar for Bamboo Add-on. According to this, Sonar for Bamboo Add-on supports Maven 2. But it seems that SonarQube does not support Maven 2 according...

Show Detail