<?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 permission denied error while applying cluster bundle from cluster master to slave indexers in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235775#M21522</link>
    <description>&lt;P&gt;I add stanzas to indexes.conf and props.conf in cluster-master at location : /opt/splunk/etc/master-apps/_cluster/local/ .&lt;BR /&gt;
After making the changes I tried applying bundle. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@machine1 bin]# ./splunk apply cluster-bundle
 Warning: Under some circumstances, this command will initiate a rolling restart of all peers. This depends on the contents of the configuration bundle. For details, refer to the documentation. Do you wish to continue? [y/n]: y
Splunk username: admin
Password:
Can't write file "/root/.splunk/authToken_machine1_8089": Permission denied
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;OL&gt;
&lt;LI&gt;Whats the solution to this error ? &lt;/LI&gt;
&lt;LI&gt;Why am I getting this error ?&lt;/LI&gt;
&lt;LI&gt;Is there way around, other than doing it manually on each indexer ?&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 11 Jan 2017 12:24:13 GMT</pubDate>
    <dc:creator>abhinav_maxonic</dc:creator>
    <dc:date>2017-01-11T12:24:13Z</dc:date>
    <item>
      <title>permission denied error while applying cluster bundle from cluster master to slave indexers</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235775#M21522</link>
      <description>&lt;P&gt;I add stanzas to indexes.conf and props.conf in cluster-master at location : /opt/splunk/etc/master-apps/_cluster/local/ .&lt;BR /&gt;
After making the changes I tried applying bundle. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@machine1 bin]# ./splunk apply cluster-bundle
 Warning: Under some circumstances, this command will initiate a rolling restart of all peers. This depends on the contents of the configuration bundle. For details, refer to the documentation. Do you wish to continue? [y/n]: y
Splunk username: admin
Password:
Can't write file "/root/.splunk/authToken_machine1_8089": Permission denied
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;OL&gt;
&lt;LI&gt;Whats the solution to this error ? &lt;/LI&gt;
&lt;LI&gt;Why am I getting this error ?&lt;/LI&gt;
&lt;LI&gt;Is there way around, other than doing it manually on each indexer ?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:24:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235775#M21522</guid>
      <dc:creator>abhinav_maxonic</dc:creator>
      <dc:date>2017-01-11T12:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied error while applying cluster bundle from cluster master to slave indexers</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235776#M21523</link>
      <description>&lt;P&gt;Make sure your pass4SymmKey is properly configured and contains the same value across the infrastructure&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Configurepeerswithserverconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Configurepeerswithserverconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 18:18:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235776#M21523</guid>
      <dc:creator>craigv_splunk</dc:creator>
      <dc:date>2017-01-11T18:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied error while applying cluster bundle from cluster master to slave indexers</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235777#M21524</link>
      <description>&lt;P&gt;Yeah. pass4SymmKey is different on all the indexers and cluster master. Will change them and will keep it same for cluster master and all slave indexers. And will test then. &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 04:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235777#M21524</guid>
      <dc:creator>abhinav_maxonic</dc:creator>
      <dc:date>2017-01-12T04:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied error while applying cluster bundle from cluster master to slave indexers</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235778#M21525</link>
      <description>&lt;P&gt;This is occuring because you are running this command as root, and not as the splunk user. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo su - splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then rerun the command. This is doing this because Splunk doesnt have permissions to write the authentication token to the /root home directory, since splunk isnt running as a root user.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 05:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235778#M21525</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-01-12T05:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied error while applying cluster bundle from cluster master to slave indexers</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235779#M21526</link>
      <description>&lt;P&gt;Either run the command as the same user as Splunk runs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo -u splunk_user /path/to/splunk command
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or do the following for every user you want to run the commands (you have to insert the hostname and the mgmt port of your Splunk instance):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cd ~
mkdir .splunk
chmod 777 -R .splunk
touch .splunk/authToken_hostname_port
chmod 600 .splunk/authToken_hostname_port
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Feb 2017 17:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/235779#M21526</guid>
      <dc:creator>goelli</dc:creator>
      <dc:date>2017-02-20T17:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied error while applying cluster bundle from cluster master to slave indexers</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/710893#M29161</link>
      <description>&lt;P&gt;You also need to give permission to the splunk user to write to the volumes you are writing to on the indexer, i.e. if you have a /hot and /cold volume on the indexer, the splunk user needs to have ownership and permissions to write to these volumes.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 07:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/permission-denied-error-while-applying-cluster-bundle-from/m-p/710893#M29161</guid>
      <dc:creator>gatundu_</dc:creator>
      <dc:date>2025-02-07T07:05:29Z</dc:date>
    </item>
  </channel>
</rss>

