# Sonarqube Developer edition application on Linux not starting

**URL:** <https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 15, 2024, 5:53pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147 "2024-10-15T17:53:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadepusa](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tadepusa](https://community.sonarsource.com/u/tadepusa)\
**Post date:** [October 15, 2024, 5:53pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/1 "2024-10-15T17:53:29Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):  
**sonarqube-developer-10.5.1.90531** and **plugin sonar-atl-plugin-85.0.1**

- how is SonarQube deployed: zip.
- what are you trying to achieve
- i am trying to get the application back running. saw the logs and the command sonar.sh start does not work. looked into sonar log file and all other files
- 
- what have you tried so far to achieve this  
We have a load balancer and the application is installed in the Linux Ec2. have troubleshooted and then the health check on port 9000 is unhealthy status. This application is not stable. please help  
**Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!**

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [October 16, 2024, 12:27pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/2 "2024-10-16T12:27:20Z")

</div>

Hi,

Welcome to the community!

There’s not a lot to go on here.

What do your [server logs](https://docs.sonarqube.org/latest/setup/troubleshooting/) say?

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![tadepusa](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tadepusa](https://community.sonarsource.com/u/tadepusa)\
**Post date:** [October 17, 2024, 1:55pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/3 "2024-10-17T13:55:05Z")

</div>

the logs (sonar.log) have the below error and its not valid as i have the user speciffically create and have all the permissions to the folders and sub folders. and wen i use sonar.sh start or stop command there is a messaged pid removed and then the status say not running.

Version java matches.  
Permissions are all good, but in log earlier throwed an error and later i have granted accesses to all the subfolders.  
we use AWS RDS Postgress.

**Weird part is its not giving new logs**

log Error:

caused by: java.nio.file.AccessDeniedException: /var/sonarqube/temp/conf/es  
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)  
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)  
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)  
at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:248)  
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)  
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)  
at org.sonar.application.ProcessLauncherImpl.pruneElasticsearchConfDirectory(ProcessLauncherImpl.java:154)  
… 10 common frames omitted

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [October 17, 2024, 2:05pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/4 "2024-10-17T14:05:57Z")

</div>

Hi,

> [@tadepusa](#):
>
> AccessDeniedException: /var/sonarqube/temp/conf/es

> [@tadepusa](#):
>
> i have granted accesses to all the subfolders.

I’m not sure what to tell you. The error speaks for itself. Perhaps you have some other “helpful” process on the box interfering. Microsoft Defender & antivirus scanners in general are notorious for this.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![tadepusa](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tadepusa](https://community.sonarsource.com/u/tadepusa)\
**Post date:** [October 17, 2024, 2:07pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/5 "2024-10-17T14:07:37Z")

</div>

yes the logs look straight forward, as told the permissions were give to the folder and the path.

---

<div class="post-metadata">

**Author:** ![tadepusa](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tadepusa](https://community.sonarsource.com/u/tadepusa)\
**Post date:** [October 17, 2024, 2:08pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/6 "2024-10-17T14:08:22Z")

</div>

its a aws linux instance.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [October 17, 2024, 2:13pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/7 "2024-10-17T14:13:19Z")

</div>

Hi,

I don’t know what else to tell you. As I said, the error is straightforward.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![tadepusa](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tadepusa](https://community.sonarsource.com/u/tadepusa)\
**Post date:** [October 17, 2024, 2:54pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/8 "2024-10-17T14:54:44Z")

</div>

thank you for the response and part of the troubleshoot. i was able to fix and make the server runnig. the issu is the subfolder owner keeps changing to root and idk why and did a restart cleared cash temp files.  
sudo chmod -R 755 /var/sonarqube  
sudo rm -rf /var/sonarqube/temp

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [October 24, 2024, 2:55pm UTC](https://community.sonarsource.com/t/sonarqube-developer-edition-application-on-linux-not-starting/128147/9 "2024-10-24T14:55:39Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
