# Not able to start sonar.bat

**URL:** <https://community.sonarsource.com/t/not-able-to-start-sonar-bat/41222>\
**Category:** SonarQube Server / Community Build\
**Created:** [April 6, 2021, 7:08pm UTC](https://community.sonarsource.com/t/not-able-to-start-sonar-bat/41222 "2021-04-06T19:08:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil\_Kumar1](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/anil_kumar1/32/15917_2.png) [@Anil\_Kumar1](https://community.sonarsource.com/u/Anil_Kumar1)\
**Post date:** [April 6, 2021, 7:08pm UTC](https://community.sonarsource.com/t/not-able-to-start-sonar-bat/41222/1 "2021-04-06T19:08:48Z")

</div>

java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\Users\AnilY\Downloads\sonarqube-8.8.0.42792\sonarqube-8.8.0.42792\data\es7]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max\_local\_storage\_nodes] (was [1])?  
at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:292)  
at org.elasticsearch.node.Node.(Node.java:351)  
at org.elasticsearch.node.Node.(Node.java:278)  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:216)  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:216)  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:387)  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159)  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)  
at org.elasticsearch.cli.Command.main(Command.java:79)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81)

version-8.8

---

<div class="post-metadata">

**Author:** ![Tobias\_Trabelsi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tobias_trabelsi/32/31755_2.png) [@Tobias\_Trabelsi](https://community.sonarsource.com/u/Tobias_Trabelsi)\
**Post date:** [April 7, 2021, 6:23am UTC](https://community.sonarsource.com/t/not-able-to-start-sonar-bat/41222/2 "2021-04-07T06:23:09Z")

</div>

Hi @Anil_Kumar1 ,

i have seen that you already added a post with this information [here](https://community.sonarsource.com/t/failed-to-obtain-node-locks/41224). i would suggest you stick to one thread at a time so it is easier to consolidate all the information 🙂

---

<div class="post-metadata">

**Author:** ![Tobias\_Trabelsi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tobias_trabelsi/32/31755_2.png) [@Tobias\_Trabelsi](https://community.sonarsource.com/u/Tobias_Trabelsi)\
**Post date:** [April 7, 2021, 6:23am UTC](https://community.sonarsource.com/t/not-able-to-start-sonar-bat/41222/3 "2021-04-07T06:23:15Z")

</div>


