Getting elasticsearch “can not run as root” error after upgrading from SonarQube 6.5 to 6.6. Nothing else changed

前端 未结 4 1700
我在风中等你
我在风中等你 2021-02-19 00:24

Getting elasticsearch \"can not run as root\" error after upgrading from SonarQube 6.5 to 6.6. Nothing else changed.

CentOS release 6.8 (Final) Java(TM) SE Runtime Envir

4条回答
  •  余生分开走
    2021-02-19 01:12

    Change in systemd:

    User=sonar
    Group=sonar
    

    and change all source and #RUN_AS_USER=sonar It will run. It seem the error in enviroment when run in root then su to sonar

提交回复
热议问题