<?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>topic Why permission error after upgrade during restart? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626175#M15001</link>
    <description>&lt;P&gt;Exception: &amp;lt;class 'PermissionError'&amp;gt;, Value: [Errno 13] Permission denied: '/opt/splunk/etc/system/local/authentication.conf.migratepreview'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unable to restart Splunk after upgrade&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 22:23:42 GMT</pubDate>
    <dc:creator>jljackson3</dc:creator>
    <dc:date>2023-01-06T22:23:42Z</dc:date>
    <item>
      <title>Why permission error after upgrade during restart?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626175#M15001</link>
      <description>&lt;P&gt;Exception: &amp;lt;class 'PermissionError'&amp;gt;, Value: [Errno 13] Permission denied: '/opt/splunk/etc/system/local/authentication.conf.migratepreview'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unable to restart Splunk after upgrade&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 22:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626175#M15001</guid>
      <dc:creator>jljackson3</dc:creator>
      <dc:date>2023-01-06T22:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error after upgrade during restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626201#M15002</link>
      <description>&lt;P&gt;Make sure you performed the upgrade as the right user (the owner of Splunk as opposed to root).&amp;nbsp; Ensure all files in $SPLUNK_HOME are owned by the user running Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626201#M15002</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-06T14:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error after upgrade during restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626204#M15003</link>
      <description>&lt;P&gt;I have inherited this system and the original owner is no longer with us.&lt;/P&gt;&lt;P&gt;How do I determine which account to use?&lt;/P&gt;&lt;P&gt;Is it better to uninstall and reinstall?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 15:23:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626204#M15003</guid>
      <dc:creator>jljackson3</dc:creator>
      <dc:date>2023-01-06T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error after upgrade during restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626210#M15004</link>
      <description>&lt;P&gt;If Splunk is running : you can find the user running Splunk using&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ps -aux | grep -i Splunk&lt;/LI-CODE&gt;&lt;P&gt;And find which user is running the process&lt;/P&gt;&lt;P&gt;If Splunk is not running : you can check who owns the $SPLUNK_HOME folder (usually under /opt/splunk)&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;mentioned, you can try this command o be sure the user that will run Splunk has the ownership of the install path :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;chown -R &amp;lt;user_meant_to_run_splunk&amp;gt; /opt/splunk&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 16:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626210#M15004</guid>
      <dc:creator>GaetanVP</dc:creator>
      <dc:date>2023-01-06T16:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error after upgrade during restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626242#M15007</link>
      <description>&lt;P&gt;What system is this? I assume this is some flavor of linux. Which distribution? How did you do the upgrade? (rpm? deb? tgz?) How was the original system installed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 19:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/626242#M15007</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-01-06T19:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error after upgrade during restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/659323#M17490</link>
      <description>&lt;P&gt;Similar has happened to me for my last 2 upgrades (9.0.5 and 9.1.0.2).&amp;nbsp; In both cases after the upgrade, some conf files end up with root:root ownership.&amp;nbsp; Before the upgrade they were splunk:splunk.&lt;/P&gt;&lt;P&gt;Offending files (plus 1 .pyc file and migration.log in var/log/splunk):&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;etc/system/local/eventtypes.conf&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;etc/system/local/web-features.conf&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;etc/system/local/authorize.conf&lt;/P&gt;&lt;P&gt;Primary concern are the conf files.&amp;nbsp; The upgrade is by .tgz file run as splunk:splunk.&amp;nbsp; The initial start is run by root cuz it needs root permissions to create the systemd boot-start file.&amp;nbsp; Is this just going to keep happening since I need to run "splunk enable boot-start . . . " as root?&lt;BR /&gt;It's not a big deal to run chown to fix everything, but it is a manually step when is sometimes forgotten.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 17:33:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/659323#M17490</guid>
      <dc:creator>JyPl4wNYu7GV1uL</dc:creator>
      <dc:date>2023-10-02T17:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error after upgrade during restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/659342#M17495</link>
      <description>&lt;P&gt;Things don't happen by themselves usually. You must have sone something as root so that resulting files ended up being owned by root.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 21:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-permission-error-after-upgrade-during-restart/m-p/659342#M17495</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-02T21:13:39Z</dc:date>
    </item>
  </channel>
</rss>

