<?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: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182768#M6840</link>
    <description>&lt;P&gt;Thanks for both your inputs. The issue has resolved. What it looks like is that I needed to pass in the credentials for the account that I SSHd into the splunk instance, which was admin AND once on the instance to su to the account that launches splunk which is "splunk"; so the splunk account executes the $SPLUNK_HOME/bin/splunk init shcluster-config command with the -auth parameter set to admin:adminspassword.&lt;/P&gt;

&lt;P&gt;Anyway, its all up and running now so thanks again for both your inputs.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2015 11:23:11 GMT</pubDate>
    <dc:creator>transtrophe</dc:creator>
    <dc:date>2015-03-12T11:23:11Z</dc:date>
    <item>
      <title>What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182762#M6834</link>
      <description>&lt;P&gt;I have tried user=splunk and the password that I changed for splunk but this throws a login failed error when using splunk init shcluster-config -secret &lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 02:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182762#M6834</guid>
      <dc:creator>transtrophe</dc:creator>
      <dc:date>2015-03-11T02:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182763#M6835</link>
      <description>&lt;P&gt;"admin" and then the admin password. The default is "changeme" &lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 03:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182763#M6835</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2015-03-11T03:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182764#M6836</link>
      <description>&lt;P&gt;I tried these&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@:/opt/splunk/bin# ./splunk init shcluster-config -replication_port 9997 -mgmt_uri &lt;A href="https://:8090" target="test_blank"&gt;https://:8090&lt;/A&gt; -secret 
Splunk username: admin
Password: 
Can't create directory "/root/.splunk": Permission denied

root@:/opt/splunk/bin# ./splunk init shcluster-config -replication_port 9997 -mgmt_uri &lt;A href="https://:8090" target="test_blank"&gt;https://:8090&lt;/A&gt; -secret 
Splunk username: admin
Password: 
Login failed
root@:/opt/splunk/bin# 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thought the first attempt would work, but it threw that "Can't create directory &lt;CODE&gt;"/root/.splunk": Permission denied&lt;/CODE&gt; error.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:55:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182764#M6836</guid>
      <dc:creator>transtrophe</dc:creator>
      <dc:date>2015-03-11T11:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182765#M6837</link>
      <description>&lt;P&gt;Also, tried executing the command from the admin account, and got this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;admin@:/opt/splunk/bin$ ./splunk init shcluster-config -replication_port 9997 -mgmt_uri &lt;A href="https://:8090" target="test_blank"&gt;https://:8090&lt;/A&gt; -secret 
Error setting the real and effective group id:Operation not permitted(1)
configured_asPath=splunk configured_asUID=1001 rv__drop_priv_perm=-1 Failed to set effective and real user to value of env var SPLUNK_OS_USER, "splunk"; exiting.: Operation not permitted
admin@:/opt/splunk/bin$ 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182765#M6837</guid>
      <dc:creator>transtrophe</dc:creator>
      <dc:date>2015-03-11T11:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182766#M6838</link>
      <description>&lt;P&gt;It needs to run from the account that splunk runs under (operation not permitted errors).&lt;/P&gt;

&lt;P&gt;I think you are confusing internal splunk accounts vs OS based accounts. Do you have a "splunk" OS account or is it "admin"? That command should be run from the OS based account but credentials provided should be the Splunk account (your actually verifying that you are the splunk admin to perform that splunk command).&lt;/P&gt;

&lt;P&gt;Within the account that you are going to run splunk from make sure that all settings are correct for that user name. ie. permissions on the entire directory structure under which splunk is installed ie. /opt/splunk. It also need to be set correctly. Also look in /opt/splunk/etc/splunk-launch.conf do you have SPLUNK_OS_USER set?&lt;/P&gt;

&lt;P&gt;Also make sure you havn't accidently started splunk under the root account. If you have you'll have to chown all the files back to the proper account. On a previously sucessfully running splunk install you shouldn't see any of these errors. It feels like you have a broken installation.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182766#M6838</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2020-09-28T19:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182767#M6839</link>
      <description>&lt;P&gt;When initializing the cluster, there are two passwords required:&lt;/P&gt;

&lt;P&gt;1) User with admin rights&lt;BR /&gt;
2) Password used for the SHC&lt;/P&gt;

&lt;P&gt;Make sure you are using the correct combination of both.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 07:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182767#M6839</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-03-12T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: What credentials should be used when initializing the deployer when setting up a search head cluster in enterprise 6.2.2?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182768#M6840</link>
      <description>&lt;P&gt;Thanks for both your inputs. The issue has resolved. What it looks like is that I needed to pass in the credentials for the account that I SSHd into the splunk instance, which was admin AND once on the instance to su to the account that launches splunk which is "splunk"; so the splunk account executes the $SPLUNK_HOME/bin/splunk init shcluster-config command with the -auth parameter set to admin:adminspassword.&lt;/P&gt;

&lt;P&gt;Anyway, its all up and running now so thanks again for both your inputs.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 11:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-credentials-should-be-used-when-initializing-the-deployer/m-p/182768#M6840</guid>
      <dc:creator>transtrophe</dc:creator>
      <dc:date>2015-03-12T11:23:11Z</dc:date>
    </item>
  </channel>
</rss>

