{"id":2617,"date":"2017-12-09T08:12:57","date_gmt":"2017-12-09T08:12:57","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2617"},"modified":"2020-01-09T07:42:37","modified_gmt":"2020-01-09T07:42:37","slug":"sonar-lock-db-what-it-this-file","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/sonar-lock-db-what-it-this-file\/","title":{"rendered":"Sonar.lock.db what it this file ??"},"content":{"rendered":"<p><strong>hareesh.aims created the topic: sonar.lock.db what it this file ??<\/strong><\/p>\n<p>Hi Rajesh , I installed Sonarqube in AWS, later i Unzipped to Opt directory , I tried to delete the sonarqube folder using this command rm -rf sonarqube-6.4.<br \/>\nMy question is , after deleting the Sonaqube folder i see a file called &#8220;sonar.lock.db&#8221; and I see the contents as in this link <a href=\"http:\/\/github.com\/saravanan-na\/sonar\/blob\/maste...1\/data\/sonar.lock.db\" target=\"_blank\" rel=\"noopener\">github.com\/saravanan-na\/sonar\/blob\/maste&#8230;1\/data\/sonar.lock.db<\/a> . Can you explain me what is for ?????<\/p>\n<p><strong>rajeshkumar replied the topic: sonar.lock.db what it this file ??<\/strong><\/p>\n<p>It seems like that before deleting the directory, you have not stopped the SonarQube servers and that a reason H2 alogn existing java process is holding the lock. You need to reboot the server or follow the instructions here<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/8158969\/h2-d...d-by-another-process\" target=\"_blank\" rel=\"noopener\">stackoverflow.com\/questions\/8158969\/h2-d&#8230;d-by-another-process<\/a><\/p>\n<p>Regards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>hareesh.aims created the topic: sonar.lock.db what it this file ?? Hi Rajesh , I installed Sonarqube in AWS, later i Unzipped to Opt directory , I tried to delete the sonarqube folder using this command rm -rf sonarqube-6.4. My question is , after deleting the Sonaqube folder i see a file called &#8220;sonar.lock.db&#8221; and I&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[516],"class_list":["post-2617","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-sonar"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2617"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2617\/revisions"}],"predecessor-version":[{"id":2618,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2617\/revisions\/2618"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}