<?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 Re: Splunk Permission Error in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533192#M18338</link>
    <description>&lt;P&gt;I don't know if this is in the correct area.&amp;nbsp; I am getting this: invalid user.&lt;/P&gt;&lt;P&gt;azureuser@cb-spl-in1-p ~]$ sudo chown -R splunk:splunk /opt/splunk&lt;BR /&gt;chown: invalid user: ‘splunk:splunk’&lt;/P&gt;&lt;P&gt;Am I placing the command in the incorrect place?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 16:42:36 GMT</pubDate>
    <dc:creator>jbender72</dc:creator>
    <dc:date>2020-12-15T16:42:36Z</dc:date>
    <item>
      <title>Why are we experiencing this Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533187#M18336</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Noticed my Indexer was down and I could not sign in.&amp;nbsp; Went to restart splunk as sudo then root user and got this error:&lt;/P&gt;
&lt;P&gt;Splunk is unable to write to the directory /opt/splunk and therefore will not run. Please check for appropriate permissions on this directory and its contents as necessary.&lt;/P&gt;
&lt;P&gt;Checked what I could, I cannot come up with a solution.&amp;nbsp; Did not find much on the Internet.&amp;nbsp; Please help.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533187#M18336</guid>
      <dc:creator>jbender72</dc:creator>
      <dc:date>2022-04-27T15:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533189#M18337</link>
      <description>&lt;P&gt;Was Splunk configured to run as "root"?&lt;/P&gt;&lt;P&gt;If you configured Splunk to run as "splunk" (recommended) you should not start it as root. If you do, it may mess about with the folder permissions, which means the next time you start it as "splunk" you get permission errors.&lt;/P&gt;&lt;P&gt;If this is what happened, you should stop Splunk (if running) then (assuming linux)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo chown -R splunk:splunk /opt/splunk&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then start Splunk as "splunk" - probably easier to reboot the system and let the Splunk boot-start process handle it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 16:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533189#M18337</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-15T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533192#M18338</link>
      <description>&lt;P&gt;I don't know if this is in the correct area.&amp;nbsp; I am getting this: invalid user.&lt;/P&gt;&lt;P&gt;azureuser@cb-spl-in1-p ~]$ sudo chown -R splunk:splunk /opt/splunk&lt;BR /&gt;chown: invalid user: ‘splunk:splunk’&lt;/P&gt;&lt;P&gt;Am I placing the command in the incorrect place?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 16:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533192#M18338</guid>
      <dc:creator>jbender72</dc:creator>
      <dc:date>2020-12-15T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533206#M18339</link>
      <description>&lt;P&gt;Thats odd.&lt;/P&gt;&lt;P&gt;Can you run "sudo id splunk"&lt;/P&gt;&lt;P&gt;It should return something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uid=xxx(splunk) gid=xxx(splunk) group=xxx(splunk)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;or does it report&lt;BR /&gt;"splunk" no such user&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 17:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533206#M18339</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-15T17:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533208#M18340</link>
      <description>&lt;P&gt;It is giving no such user&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 17:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533208#M18340</guid>
      <dc:creator>jbender72</dc:creator>
      <dc:date>2020-12-15T17:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533218#M18341</link>
      <description>&lt;P&gt;How was splunk installed? rpm/deb or from the tar.gz?&lt;/P&gt;&lt;P&gt;Who owns files in /opt/splunk?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 18:26:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533218#M18341</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-15T18:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533232#M18342</link>
      <description>&lt;P&gt;as tar&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 20:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533232#M18342</guid>
      <dc:creator>jbender72</dc:creator>
      <dc:date>2020-12-15T20:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533234#M18343</link>
      <description>&lt;P&gt;In that case, unless you set up the splunk user by hand, it wont exist.&lt;/P&gt;&lt;P&gt;At a guess you were therefore running Splunk as root.&lt;BR /&gt;If root has permission issues then you probably have bigger problems!&lt;/P&gt;&lt;P&gt;Can you access the contents of /opt/splunk?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 20:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533234#M18343</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-15T20:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533235#M18344</link>
      <description>&lt;P class="lia-align-justify"&gt;I tried to set the azureuser as owner of the files who owns splunk.&amp;nbsp; I chmod 777 and it appeared to work.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;[azureuser@cb-spl-in1-p splunk]$ ls -al&lt;BR /&gt;total 3200&lt;BR /&gt;drwxrwxrwx. 10 azureuser azureuser 237 Dec 15 16:48 .&lt;BR /&gt;drwxrwxrwx. 3 root root 20 Nov 13 20:09 ..&lt;BR /&gt;drwxrwxrwx. 4 azureuser azureuser 4096 Nov 12 15:37 bin&lt;BR /&gt;-rwxrwxrwx. 1 azureuser azureuser 57 Nov 12 15:37 copyright.txt&lt;BR /&gt;drwxrwxrwx. 16 azureuser azureuser 4096 Dec 15 15:34 etc&lt;BR /&gt;drwxrwxrwx. 4 azureuser azureuser 62 Nov 12 15:37 include&lt;BR /&gt;drwxrwxrwx. 8 azureuser azureuser 4096 Nov 12 15:37 lib&lt;BR /&gt;-rwxrwxrwx. 1 azureuser azureuser 85709 Nov 12 15:37 license-eula.txt&lt;BR /&gt;drwxrwxrwx. 3 azureuser azureuser 58 Nov 12 15:37 openssl&lt;BR /&gt;-rwxrwxrwx. 1 azureuser azureuser 844 Nov 12 15:37 README-splunk.txt&lt;BR /&gt;drwxrwxrwx. 4 azureuser azureuser 108 Nov 12 15:37 share&lt;BR /&gt;-rwxrwxrwx. 1 azureuser azureuser 3168712 Nov 12 15:37 splunk-8.1.0-f57c09e87251-linux-2.6-x86_64-manifest&lt;BR /&gt;drwxrwxrwx. 2 azureuser azureuser 54 Nov 12 15:37 swidtag&lt;BR /&gt;drwxrwxrwx. 6 azureuser azureuser 52 Nov 12 15:37 var&lt;BR /&gt;[azureuser@cb-spl-in1-p splunk]$&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 21:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533235#M18344</guid>
      <dc:creator>jbender72</dc:creator>
      <dc:date>2020-12-15T21:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533240#M18345</link>
      <description>&lt;P&gt;I am pleased you have it working, but for the record, chmod'ding to 777 is not a sensible fix for a production system. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 21:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533240#M18345</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-12-15T21:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533252#M18348</link>
      <description>&lt;P&gt;Yes I can access the contents, just no splunk user anymore?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 22:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/533252#M18348</guid>
      <dc:creator>jbender72</dc:creator>
      <dc:date>2020-12-15T22:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/593657#M25532</link>
      <description>&lt;P&gt;I came across this error today. It turned out to be a disk space issue. Provisioning more storage allowed Splunk to start without issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 17:09:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/593657#M25532</guid>
      <dc:creator>Ocelot</dc:creator>
      <dc:date>2022-04-13T17:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Permission Error</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/595549#M25577</link>
      <description>&lt;P&gt;I am having same issue, how do I provision for the disk space issue? Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;chown: changing ownership of '/opt/splunk/.bash_history': Read-only file system&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;chown: changing ownership of '/opt/splunk': Read-only file system&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 10:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-we-experiencing-this-Splunk-Permission-Error/m-p/595549#M25577</guid>
      <dc:creator>Jumy</dc:creator>
      <dc:date>2022-04-27T10:25:56Z</dc:date>
    </item>
  </channel>
</rss>

