<?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: Could not create Splunk settings directory at '/root/.splunk' in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122417#M4627</link>
    <description>&lt;P&gt;I just encountered the error so it is obviously not resolved yet.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Aug 2018 17:33:18 GMT</pubDate>
    <dc:creator>landen99</dc:creator>
    <dc:date>2018-08-13T17:33:18Z</dc:date>
    <item>
      <title>Could not create Splunk settings directory at '/root/.splunk'</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122413#M4623</link>
      <description>&lt;P&gt;Anytime I try to do anything with my deployment server I get this error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;An error occurred: Could not create Splunk settings directory at '/root/.splunk'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This includes the commands: &lt;STRONG&gt;splunk display deploy-server, splunk display deploy-client, and splunk reload deploy-server&lt;/STRONG&gt;. I'm taking this over for another and not sure when it last worked. &lt;/P&gt;

&lt;P&gt;Also, it kinda works. I deployed an app with it. However, I can tell there's a problem here and want to fix this. &lt;/P&gt;

&lt;P&gt;The /root/.splunk exists. I tried deleting it, same error. I tried creating it and giving the splunk user access to it, no go. This is on a RHEL6 box, by the way. I've also restarted splunk and the same error occurs.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122413#M4623</guid>
      <dc:creator>jizzmaster</dc:creator>
      <dc:date>2015-01-29T20:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create Splunk settings directory at '/root/.splunk'</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122414#M4624</link>
      <description>&lt;P&gt;Yeah, I noticed some funky permissions issues executing commands which use auth sessions as the root user after upgrading from splunk 6.1 to 6.2. It looks like this is because splunkd is running as a non-root user then tries to store some auth session info or the like under the current user's home. I decided to change my practice and execute splunk CLI commands against running splunk as the splunk user and I stopped seeing such errors.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122414#M4624</guid>
      <dc:creator>chanfoli</dc:creator>
      <dc:date>2015-01-29T20:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create Splunk settings directory at '/root/.splunk'</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122415#M4625</link>
      <description>&lt;P&gt;I believe that specific problem is resolved in 6.2.1.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 14:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122415#M4625</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2015-02-10T14:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create Splunk settings directory at '/root/.splunk'</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122416#M4626</link>
      <description>&lt;P&gt;Were you ever able to resolve this issue? &lt;/P&gt;

&lt;P&gt;I am also seeing the same error on a RHEL deployment server. I am suspecting Splunk should be creating the .splunk hidden file in the home directory instead of root. However, I am finding difficulty determining where this was incorrectly configured.&lt;/P&gt;

&lt;P&gt;I am running Splunk 6.3&lt;BR /&gt;
I am using the same account to run Splunk as execute the reload "deploy-server command"&lt;BR /&gt;
I am running the command from sudo&lt;BR /&gt;
The account's home is /home/accountname&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122416#M4626</guid>
      <dc:creator>jhall0007</dc:creator>
      <dc:date>2016-03-08T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create Splunk settings directory at '/root/.splunk'</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122417#M4627</link>
      <description>&lt;P&gt;I just encountered the error so it is obviously not resolved yet.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 17:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/122417#M4627</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2018-08-13T17:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create Splunk settings directory at '/root/.splunk'</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/599622#M25677</link>
      <description>&lt;P&gt;I just ran into this issue and what I did was as superuser, made the&amp;nbsp;'/root/.splunk' directory and changed the owner to splunk&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 18:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Could-not-create-Splunk-settings-directory-at-root-splunk/m-p/599622#M25677</guid>
      <dc:creator>cboillot</dc:creator>
      <dc:date>2022-05-27T18:58:58Z</dc:date>
    </item>
  </channel>
</rss>

