首页 > 其他分享 >sonarqube启动报错:You must address the points described in the following [2] lines before starting Elast

sonarqube启动报错:You must address the points described in the following [2] lines before starting Elast

时间:2023-10-20 18:13:51浏览次数:26  
标签:logs sonarqube XXX 报错 low sonar check

You must address the points described in the following [2] lines before starting Elasticsearch.bootstrap check failure [1] of [2]: max number of threads [3870] for user[sonar] istoo low,increase to at least [4096]bootstrap check failure [2] of [2]: max virtual memory areas vm.max map count [65530is too low,increase to at least [262144]ERROR: Elasticsearch did not exit normally- check the logs at /usr/local/sonarqube-90.0.45539/logs/sonarqube.logapp[]

 

 

 

解决如下:

修改/etc/sysctl.conf文件,文件末尾追加vm.max_map_count=262144

修改/etc/security/limits.conf文件,文件末尾追加

* soft nproc 4096* hard nproc 4096* soft nofile 1000000* hard nofile 1000000

然后重启虚拟机,再次启动sonar

浏览器访问:http://你的服务器ip:9000

登录用户admin   密码admin 作者:码同学软件测试 https://www.bilibili.com/read/cv15756601/ 出处:bilibili

标签:logs,sonarqube,XXX,报错,low,sonar,check
From: https://www.cnblogs.com/rychh/p/17777703.html

相关文章

  • dolphinscheduler报错:Connect to 192.168.xx.xx:8088 [192.168.xx.xx/110.173.196.1]
    报错信息:在dophin中抽取mysql的数据到hive中报错[ERROR]2023-10-2015:33:10.461org.apache.dolphinscheduler.common.utils.HttpUtils:[73]-Connectto192.168.xx.xx:8088[192.168.xx.xx/110.173.196.1]failed:connecttimedoutorg.apache.http.conn.ConnectTimeout......
  • jpa 连接sqlserver 发布tomcat报错 SunJSSE
    报错信息:java.ext.dirs:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-1.el7_9.x86_64/jre/lib/ext:/usr/java/packages/lib/ext20-Oct-202316:37:28.074信息[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0]com.microsoft.sqlserver.jdbc.TDSChanne......
  • “SecurityError: Error #2060: 安全沙箱冲突:ExternalInterface 调用者xxx不能访问xx
    今天,我把我的FlashPlayer插件做了一下升级,变为了10.0.42.34的版本。然后发现之前能够在本地正常运行的DVF,今天运行起来却抛出了异常信息。提示信息如下:SecurityError:Error#2060:安全沙箱冲突:ExternalInterface调用者file://D:\study\flex\service\bin\rainbowX.swf......
  • xxl-job执行java任务报错: unable to find valid certification path to requested tar
    1、错误:xxl-job调用https接口显示证书验证失败[错误信息:sun.security.validator.ValidatorException:PKIXpathbuildingfailed:sun.security.provider.certpath.SunCertPathBuilderException:unabletofindvalidcertificationpathtorequestedtarget]2023-10-2015......
  • Vivado生成bitstream时报错[Opt 31-67] Problem: A LUT3 cell in the design is missi
    这个原因主要是因为有一个引脚没有用到,解决方法。1、打开Schematic。2、根据提示的模块去找,比如说我的报错。[Opt31-67]Problem:ALUT3cellinthedesignismissingaconnectiononinputpinI1,whichisusedbytheLUTequation.Thispinhaseitherbeenleftun......
  • Windows 10连接网络打印机报错“0x0000011b”的解决方法
    网络打印,win10/11都经常遇到这样那样的问题。今天遇到一台新装的windows10系统连接网络打印机报错:0x0000011b网上查了一圈,普遍说的是这个情况,微软官方介绍:通过命名管道使用RPC  也就是网上说的最多的注册表方式:WindowsRegistryEditorVersion5.00[HKEY_LOCAL_MACHINE\S......
  • git Bash 执行 node npm run prod 执行报错?
    在本地执行`npmrunprodprodnpmrunproduction'npm'isnotrecognizedasaninternalorexternalcommand,operableprogramorbatchfile.`大概意思是npm没有配置全局变量访问本地已经配置过了最后不用gitbash去执行命令就能成功用的windowpowershell......
  • Sitecore 里删除 Item 报错 Could not create SSL/TLS secure channel.
    解决方法:前往mmc里添加你的域名win+r输入mmc打开下图面板;......
  • electron打包报错的解决方法
    报错信息:AnunhandledrejectionhasoccurredinsideForge:Error:Failedwithexitcode:1���ڳ��Դӡ�eletest.nuspec�����ɳ������Authorsisrequired.Descriptionisrequired.atChildProcess.<anonymous>(C:\WWW\eletest\node_modules\electron-winstaller\li......
  • ansibles 报错
    ansibles连接报错1:"changed": false,     "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote t......