<?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 reload deployment server error in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375876#M7807</link>
    <description>&lt;P&gt;How can i do that in CLI ?&lt;BR /&gt;
to run the command ./splunk reload deploy-server&lt;/P&gt;</description>
    <pubDate>Mon, 07 May 2018 10:22:38 GMT</pubDate>
    <dc:creator>jadengoho</dc:creator>
    <dc:date>2018-05-07T10:22:38Z</dc:date>
    <item>
      <title>splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375873#M7804</link>
      <description>&lt;P&gt;Hi, just want to ask why im getting this error and how to make this right :&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;Ialways get that when i am reloading the Splunk Deployment server&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 09:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375873#M7804</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-05-07T09:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375874#M7805</link>
      <description>&lt;P&gt;I see this answer but i cant really understand it : &lt;A href="https://answers.splunk.com/answers/211892/could-not-create-splunk-settings-directory-at-root.html"&gt;https://answers.splunk.com/answers/211892/could-not-create-splunk-settings-directory-at-root.html&lt;/A&gt;&lt;BR /&gt;
 can somebody tell me the procedure ?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 09:42:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375874#M7805</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-05-07T09:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375875#M7806</link>
      <description>&lt;P&gt;It's basically: Splunk is not running as root (which is good), but you're logged in as root (which is not so good).&lt;BR /&gt;
When you try to login (which is required to reload the deployment server), Splunk saves your login (which would be a cookie if you we're using a browser) in a folder in your home directory (/root/.splunk/). But as Splunk does not run as root, it has no permissions to do that, therefore the error message.&lt;/P&gt;

&lt;P&gt;Solution: Do not work as root, especially not while editing files on a non-root Splunk, it will bring you into trouble.&lt;BR /&gt;
I'd suggest using a normal user, you could use the user Splunk is running at.&lt;/P&gt;

&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 10:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375875#M7806</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-07T10:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375876#M7807</link>
      <description>&lt;P&gt;How can i do that in CLI ?&lt;BR /&gt;
to run the command ./splunk reload deploy-server&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 10:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375876#M7807</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-05-07T10:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375877#M7808</link>
      <description>&lt;P&gt;./splunk reload deploy-server&lt;BR /&gt;
ERROR: Couldn't determine $SPLUNK_HOME or $SPLUNK_ETC; perhaps one should be set in environment&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:21:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375877#M7808</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2020-09-29T19:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375878#M7809</link>
      <description>&lt;P&gt;if is do SUDO =  An error occurred: Could not create Splunk settings directory at '/root/.splunk'.&lt;BR /&gt;
if no SUDO =Couldn't determine $SPLUNK_HOME or $SPLUNK_ETC; perhaps one should be set in environment&lt;BR /&gt;
how can i reload the deployment server ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375878#M7809</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2020-09-29T19:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375879#M7810</link>
      <description>&lt;P&gt;Try this, it depends on your system environment:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source /opt/splunk/bin/setSplunkEnv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will set the variables and also allow you to issue Splunk commands from any folder, just by starting with &lt;CODE&gt;splunk...&lt;/CODE&gt;. You could then put that line into your &lt;CODE&gt;.bashrc&lt;/CODE&gt; or &lt;CODE&gt;.bash_profile&lt;/CODE&gt; or whatever your system runs when you login. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 13:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375879#M7810</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-07T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375880#M7811</link>
      <description>&lt;P&gt;That doesn't work on my side.&lt;/P&gt;

&lt;P&gt;But I Finally know the answer :&lt;BR /&gt;
We are login to our Username (e.g: FirstName.LastName)&lt;BR /&gt;
and for us to do the command&lt;BR /&gt;&lt;BR /&gt;
     ./splunk reload deploy-server&lt;/P&gt;

&lt;P&gt;We need to log in as a user in the splunk  :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo su splunk
./splunk reload deploy-server
(this prompt me to enter my splunk credentials) 
and then it will RUN the command
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 May 2018 03:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/375880#M7811</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-05-08T03:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/754237#M23236</link>
      <description>&lt;P&gt;For your information:&lt;BR /&gt;To resolve the issue, please log in to Splunk and reload the deploy server:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;$ /opt/splunk/bin/splunk login Splunk username: admin &lt;SPAN class=""&gt;# (use your actual username)&lt;/SPAN&gt; Password: $ /opt/splunk/bin/splunk reload deploy-server -class XYZ&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;This will reload the specified server class(es).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/754237#M23236</guid>
      <dc:creator>orezaie</dc:creator>
      <dc:date>2025-10-13T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/754238#M23237</link>
      <description>&lt;P&gt;Here is the best answer:&lt;BR /&gt;To resolve the issue, please log in to Splunk and reload the deploy server:&lt;/P&gt;&lt;P&gt;$ /opt/splunk/bin/splunk login&lt;/P&gt;&lt;P&gt;Splunk username: admin&amp;nbsp; # (use your actual username)&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;$ /opt/splunk/bin/splunk reload deploy-server -class XYZ&lt;/P&gt;&lt;P&gt;This will reload the specified server class(es).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/754238#M23237</guid>
      <dc:creator>orezaie</dc:creator>
      <dc:date>2025-10-13T12:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: splunk reload deployment server error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/754239#M23238</link>
      <description>&lt;P&gt;Here is the best answer:&lt;BR /&gt;To resolve the issue, please log in to Splunk and reload the deploy server:&lt;/P&gt;&lt;P&gt;$ /opt/splunk/bin/splunk login&lt;/P&gt;&lt;P&gt;Splunk username: admin&amp;nbsp; # (use your actual username)&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;$ /opt/splunk/bin/splunk reload deploy-server -class XYZ&lt;/P&gt;&lt;P&gt;This will reload the specified server class(es).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-reload-deployment-server-error/m-p/754239#M23238</guid>
      <dc:creator>orezaie</dc:creator>
      <dc:date>2025-10-13T12:37:09Z</dc:date>
    </item>
  </channel>
</rss>

