Can't run Sonar Server caused by Elasticsearch cannot running as root
Change the root access to the sonar file. Try running in normal user access.
chown <another user>:<user group> sonar.sh
how to launch sonarqube?
SonarQube 6.7 includes an upgraded version of Elasticsearch which cannot be run as root. Thus, SonarQube can no longer be run as root.
The blog post you followed seems to recommend / assume that you're running as root. To not start SonarQube as root, simply end your su
session, or log back in as yourself to start the process. Note that you'll need to make sure the user you are starting SonarQube as has 7 (read, write, execute) on the SonarQube directory, recursively, and 6 (read, write) on the log files if they already exist.
Related Topics
Dependency Walker Equivalent for Linux
Get Parent Directory of a File in Bash
Getting Current Path in Variable and Using It
Accessing .So Libraries Using Dlopen() Throws Undefined Symbol Error
Docker Copy with File Globbing
How to View and Edit the Ephemeral Port Range on Linux
Tcp: Server Sends [Rst, Ack] Immediately After Receiving [Syn] from Client
How to Generate Plain-Text Source-Code PDF Examples That Work in a Document Viewer
How to Determine Stack Size of a Program in Linux
Why Do I Have to 'Wait()' for Child Processes
Which Jdk's Distributions Can Run 'Javac -Source 1.6 -Target 1.5'
/Usr/Bin/Perl: Bad Interpreter: Text File Busy
Bash: Delete Based on File Date Stamp
How to Remove Only the First Occurrence of a Line in a File Using Sed
Nginx: [Emerg] Unknown Directive " " in /Etc/Nginx/Sites-Enabled/Example.Com:3