<?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: Error: Could not create Splunk settings directory at '\\MYUNCPATH\user\.splunk'.  When using 'Splunk reload deploy-server' on Windows 2012 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201727#M39939</link>
    <description>&lt;P&gt;You were heading down the right path figuring this out.  There was a bug logged (SPL-99953) to at least get an improved error message when this happens, but I think it's on the back burner at Splunk because the impact is low and the workaround is very simple.&lt;/P&gt;

&lt;P&gt;If you have %HOMESHARE% defined to a DFS share, it causes the Splunk cli to error out due to %HOMEPATH% getting set to root \ .  It gets set this way for unknown reasons. A very simple fix is to set your HOMEPATH to something "valid", by which I mean "normal non-DFS path"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\Splunk\bin&amp;gt;set HOMEPATH=C:\
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or any other valid local path and try your command again.  Sort of a pain, but really not a big deal.   &lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2016 02:22:08 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2016-04-15T02:22:08Z</dc:date>
    <item>
      <title>Error: Could not create Splunk settings directory at '\\MYUNCPATH\user\.splunk'.  When using 'Splunk reload deploy-server' on Windows 2012</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201726#M39938</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I am getting this UNC path error when I try to execute &lt;CODE&gt;Splunk reload deploy-server&lt;/CODE&gt;: Could not create Splunk settings directory at '\MYUNCPATH\user.splunk'.&lt;/P&gt;

&lt;P&gt;My Domain settings make my homeshare set to that UNC path, so I don't have access to the user's directory, but I do have access to my own folder.&lt;/P&gt;

&lt;P&gt;HOMEDRIVE=U:&lt;BR /&gt;
HOMEPATH=\&lt;BR /&gt;
HOMESHARE=\MYUNCPATH\user\david&lt;/P&gt;

&lt;P&gt;So my question is, why does Splunk remove my home folder and drop me down a folder level?&lt;/P&gt;

&lt;P&gt;Can I change where Splunk writes the .splunk directory myself?  I'd like to keep it local where I am local admin.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201726#M39938</guid>
      <dc:creator>mrdavidchin</dc:creator>
      <dc:date>2016-04-13T20:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not create Splunk settings directory at '\\MYUNCPATH\user\.splunk'.  When using 'Splunk reload deploy-server' on Windows 2012</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201727#M39939</link>
      <description>&lt;P&gt;You were heading down the right path figuring this out.  There was a bug logged (SPL-99953) to at least get an improved error message when this happens, but I think it's on the back burner at Splunk because the impact is low and the workaround is very simple.&lt;/P&gt;

&lt;P&gt;If you have %HOMESHARE% defined to a DFS share, it causes the Splunk cli to error out due to %HOMEPATH% getting set to root \ .  It gets set this way for unknown reasons. A very simple fix is to set your HOMEPATH to something "valid", by which I mean "normal non-DFS path"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\Splunk\bin&amp;gt;set HOMEPATH=C:\
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or any other valid local path and try your command again.  Sort of a pain, but really not a big deal.   &lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 02:22:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201727#M39939</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2016-04-15T02:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Could not create Splunk settings directory at '\\MYUNCPATH\user\.splunk'.  When using 'Splunk reload deploy-server' on Windows 2012</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201728#M39940</link>
      <description>&lt;P&gt;Great suggestion!  I didn't realize just changing the HomePath would work.  &lt;/P&gt;

&lt;P&gt;I ended up having my domain admin change my user profile path to be a local path on the machine.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:14:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-Could-not-create-Splunk-settings-directory-at-MYUNCPATH/m-p/201728#M39940</guid>
      <dc:creator>mrdavidchin</dc:creator>
      <dc:date>2016-04-15T06:14:37Z</dc:date>
    </item>
  </channel>
</rss>

