<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Sense Enterprise on Windows Repository Database does not start in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Repository-Database-does-not/ta-p/1715872</link>
    <description>&lt;P&gt;The Qlik Sense Repository Database does not start.&lt;BR /&gt;&lt;BR /&gt;The service fails with the error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;The Qlik Sense Repository Database service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The Qlik Sense Repository Database Service does not start.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54012iBC7C632AB38C7F68/image-size/large?v=v2&amp;amp;px=999" role="button" title="The Qlik Sense Repository Database Service does not start.png" alt="The Qlik Sense Repository Database Service does not start.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;The Windows Application log reads:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;PostgreSQL "PANIC:&amp;nbsp; could not open control file "global/pg_control": Permission denied"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PostgreSQL error in Windows Application log.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54013i06B047CCC0D1DB7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="PostgreSQL error in Windows Application log.png" alt="PostgreSQL error in Windows Application log.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;The Qlik Sense Repository Database Service needs to at all times be run by the &lt;I&gt;&lt;STRONG&gt;Local System&lt;/STRONG&gt;&lt;/I&gt; account.&amp;nbsp;If the account has been changed, the service cannot start.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To change the account:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the Windows Services Console&lt;/LI&gt;
&lt;LI&gt;Locate the &lt;STRONG&gt;Qlik Sense Repository Database&amp;nbsp;&lt;/STRONG&gt;Service&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Right-click&amp;nbsp;&lt;/STRONG&gt;go to&amp;nbsp;&lt;STRONG&gt;Properties&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Go to the &lt;STRONG&gt;Log On &lt;/STRONG&gt;tab&lt;/LI&gt;
&lt;LI&gt;Select the &lt;STRONG&gt;Local System account&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;The Qlik Sense Repository Database service will now start.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Local System Account QSR.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54014i15FDB23C8FA17874/image-size/large?v=v2&amp;amp;px=999" role="button" title="Local System Account QSR.png" alt="Local System Account QSR.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If the service still does not start, then then the database files may have been set to &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Read Only&lt;/SPAN&gt;,&amp;nbsp;which can happen as a result of permissions inheritance in the file system.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To fix this:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;On the database server navigate to the &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;postgres &lt;/SPAN&gt;directory (if installed with Qlik Sense it will be located at&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt; %ProgramData%\Qlik\Sense\Repository\PostgreSQL\9.6&lt;/SPAN&gt;)&lt;/LI&gt;
&lt;LI&gt;Select all&lt;/LI&gt;
&lt;LI&gt;Click Properties&lt;/LI&gt;
&lt;LI&gt;Uncheck &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Read Only&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Click Apply&lt;/LI&gt;
&lt;LI&gt;Ensure Apply Changes to the selected items, subfolders and files is select&lt;/LI&gt;
&lt;LI&gt;Click OK&lt;/LI&gt;
&lt;LI&gt;Restart the Database service&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Related Content:&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-Repository-Database-starts-and-stops-quot-FATAL-lock/ta-p/1712102" target="_blank" rel="noopener"&gt;Qlik Sense Repository Database starts and stops: "FATAL: lock file "postmaster.pid" already exists"&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-repository-service-fails-to-start-due-to-error-quot/ta-p/1716067" target="_blank" rel="noopener"&gt;Qlik Sense repository service fails to start due to error " 'SeSecurityPrivilege " error &lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 08:14:08 GMT</pubDate>
    <dc:creator>Bastien_Laugiero</dc:creator>
    <dc:date>2021-04-30T08:14:08Z</dc:date>
    <item>
      <title>Qlik Sense Enterprise on Windows Repository Database does not start</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Repository-Database-does-not/ta-p/1715872</link>
      <description>&lt;P&gt;The Qlik Sense Repository Database does not start.&lt;BR /&gt;&lt;BR /&gt;The service fails with the error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;The Qlik Sense Repository Database service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The Qlik Sense Repository Database Service does not start.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54012iBC7C632AB38C7F68/image-size/large?v=v2&amp;amp;px=999" role="button" title="The Qlik Sense Repository Database Service does not start.png" alt="The Qlik Sense Repository Database Service does not start.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;The Windows Application log reads:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;PostgreSQL "PANIC:&amp;nbsp; could not open control file "global/pg_control": Permission denied"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PostgreSQL error in Windows Application log.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54013i06B047CCC0D1DB7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="PostgreSQL error in Windows Application log.png" alt="PostgreSQL error in Windows Application log.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;The Qlik Sense Repository Database Service needs to at all times be run by the &lt;I&gt;&lt;STRONG&gt;Local System&lt;/STRONG&gt;&lt;/I&gt; account.&amp;nbsp;If the account has been changed, the service cannot start.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To change the account:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the Windows Services Console&lt;/LI&gt;
&lt;LI&gt;Locate the &lt;STRONG&gt;Qlik Sense Repository Database&amp;nbsp;&lt;/STRONG&gt;Service&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Right-click&amp;nbsp;&lt;/STRONG&gt;go to&amp;nbsp;&lt;STRONG&gt;Properties&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Go to the &lt;STRONG&gt;Log On &lt;/STRONG&gt;tab&lt;/LI&gt;
&lt;LI&gt;Select the &lt;STRONG&gt;Local System account&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;The Qlik Sense Repository Database service will now start.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Local System Account QSR.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54014i15FDB23C8FA17874/image-size/large?v=v2&amp;amp;px=999" role="button" title="Local System Account QSR.png" alt="Local System Account QSR.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If the service still does not start, then then the database files may have been set to &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Read Only&lt;/SPAN&gt;,&amp;nbsp;which can happen as a result of permissions inheritance in the file system.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To fix this:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;On the database server navigate to the &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;postgres &lt;/SPAN&gt;directory (if installed with Qlik Sense it will be located at&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt; %ProgramData%\Qlik\Sense\Repository\PostgreSQL\9.6&lt;/SPAN&gt;)&lt;/LI&gt;
&lt;LI&gt;Select all&lt;/LI&gt;
&lt;LI&gt;Click Properties&lt;/LI&gt;
&lt;LI&gt;Uncheck &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Read Only&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Click Apply&lt;/LI&gt;
&lt;LI&gt;Ensure Apply Changes to the selected items, subfolders and files is select&lt;/LI&gt;
&lt;LI&gt;Click OK&lt;/LI&gt;
&lt;LI&gt;Restart the Database service&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Related Content:&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-Repository-Database-starts-and-stops-quot-FATAL-lock/ta-p/1712102" target="_blank" rel="noopener"&gt;Qlik Sense Repository Database starts and stops: "FATAL: lock file "postmaster.pid" already exists"&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-repository-service-fails-to-start-due-to-error-quot/ta-p/1716067" target="_blank" rel="noopener"&gt;Qlik Sense repository service fails to start due to error " 'SeSecurityPrivilege " error &lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 08:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Repository-Database-does-not/ta-p/1715872</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-04-30T08:14:08Z</dc:date>
    </item>
  </channel>
</rss>

