Hi there,
I just registered here because I have some issues after an Sonarqube installation and I’m looking for help.
I have installed Sonarqube Developer Edition 7.3 on an Oracle Linux 7.2 server. The service is running, but I still get some warnings that I was not able to get rid of.
1) In es.log
2018.09.10 13:49:53 WARN es[o.e.b.BootstrapChecks] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
I added the following lines to the file /etc/security/limits.d/20-nproc.conf, but the warning still is shown when starting the service.
sonar - nofile 65536
sonar - nproc 2048
The settings for vm.max_map_count and fs.file-max are set in /etc/sysctl.d/99-sonarqube.conf:
vm.max_map_count=800000
fs.file-max=300000
So where is this stupid warning still getting the 4096 from?
2) In ce.log
2018.09.10 13:50:11 WARN ce[o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@77cc40bb. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.09.10 13:50:11 WARN ce[o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@561939c9. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.09.10 13:50:11 WARN ce[o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@149a054f. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
I found this: Initial setup integration failing - #2 by Jaff
and did what Julien Henry suggested at the bottom:
- Stop the SQ server
- Remove the data/es folder (was named es5 in my case)
- Restart
but the warnings are still shown.
3) In web.log
2018.09.10 13:50:01 WARN web[o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@7d792f6b. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.09.10 13:50:01 WARN web[o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@3122b53f. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.09.10 13:50:01 WARN web[o.s.c.p.ComponentKeys] Bad component key: org.sonar.java.externalreport.ExternalRulesDefinition@4a679d68. Please implement toString() method on class org.sonar.java.externalreport.ExternalRulesDefinition
2018.09.10 13:50:02 WARN web[o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2018.09.10 13:50:02 WARN web[o.s.a.s.w.WebService$Action] The response example is not set on action api/security_reports/show
2018.09.10 13:50:02 WARN web[o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info
For the first 3 lines, see #2
For the “The response example is not set on action”, Google did not really lead to a hint how this could be solved.
Any help would be greatly appreciated.
Thanks
-Norman