首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Azure应用程序服务上运行SonarQube在启动该服务时出现访问被拒绝错误

在Azure应用程序服务上运行SonarQube在启动该服务时出现访问被拒绝错误
EN

Stack Overflow用户
提问于 2019-03-21 05:40:17
回答 1查看 381关注 0票数 2

我正在使用位于https://github.com/vanderby/SonarQube-AzureAppService的ARM模板将SonarQube部署到Azure应用程序服务。部署完成后,访问网站时,我在日志中看到以下内容:

代码语言:javascript
复制
5:13:06 PM Starting HttpPlatformHandler Script
5:13:06 PM HTTP_PLATFORM_PORT is: 20471
5:13:06 PM Searching for sonar.properties file
5:13:14 PM File found at: D:\home\site\wwwroot\sonarqube-7.7\conf\sonar.properties
5:13:14 PM Writing to sonar.properties file
5:13:14 PM Searching for wrapper.conf file
5:13:15 PM File found at: D:\home\site\wwwroot\sonarqube-7.7\conf\wrapper.conf
5:13:15 PM Writing to wrapper.conf file
5:13:15 PM Searching for StartSonar.bat
5:13:16 PM File found at: D:\home\site\wwwroot\sonarqube-7.7\bin\windows-x86-64\StartSonar.bat
5:13:16 PM Executing StartSonar.bat
wrapper  | Unable to set the process priority:  Access is denied. (0x0)
wrapper  | Attempt to set the console title failed: The handle is invalid. (0x6)
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
wrapper  | Startup failed: Timed out waiting for a signal from the JVM.
wrapper  | JVM did not exit on request, terminated
wrapper  | JVM Restarts disabled.  Shutting down.
wrapper  | <-- Wrapper Stopped
Press any key to continue . . . 

当我尝试通过Kudu编辑文件时,我得到了各种各样的访问被拒绝的错误,所以这似乎是一个一般的权限问题。

知道是怎么回事吗?我已经在谷歌上搜索了这个问题,但还没有找到解决方案。

EN

回答 1

Stack Overflow用户

发布于 2019-04-06 10:37:29

此日志可能来自第二次启动。如果站点在应用程序服务知道其启动之前被多次访问,它将尝试多次启动SQ,并且只有一次会成功。我刚刚尝试了GitHub的模板,它在SQ7.7下工作。

还有一些其他需要注意的事情:

不支持

  • 自由和共享环境。SQ不是从他们身上开始的。您需要B1或更高版本。
  • 初始启动时间可能需要5分钟,尤其是在B1应用程序服务上。
  • 您可以在www.root\sonarqube-x.x\logs\Web.log和\sonar.log

中找到其他信息

感谢你发现这个模板很有用!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55270599

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档