<?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: Problem with forwarder installing in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617102#M12003</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228794"&gt;@bosseres&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I should see your system, anyway, if you promote your user to su, does your command run?&lt;/P&gt;&lt;P&gt;And anyway, as I said, if you use the above command, it writes the file in $SPLUNK_HOME/etc/system/local and then you cannot manage it by Deployment Server, so&amp;nbsp;I do not recommend to use it: the TA_Forwarder Add-On is the best approach.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2022 07:45:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-10-14T07:45:57Z</dc:date>
    <item>
      <title>Problem with forwarder installing- How to resolve error?</title>
      <link>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617093#M12000</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I am trying to install forwarder on Linux&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;chown -R splunk:splunk /opt/splunkforwarder&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sudo -u splunk sh -c "/opt/splunkforwarder/bin/splunk set deploy-poll&amp;nbsp;&lt;EM&gt;deployment_address:8089"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and getting error: sh: /opt/splunkforwarder/bin/splunk: Permission denied&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What should I look? What can be problem?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 14:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617093#M12000</guid>
      <dc:creator>bosseres</dc:creator>
      <dc:date>2022-10-14T14:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with forwarder installing</title>
      <link>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617097#M12001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228794"&gt;@bosseres&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I usually create an Add-On, called TA_Forwarders, containing two fields:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;deployment clients.conf (to address the Deployment Server),&lt;/LI&gt;&lt;LI&gt;outputs.conf (to address the Indexers).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;than I copy them in $SPLUNK_HOME/etc/apps and restart Splunk.&lt;/P&gt;&lt;P&gt;Then I deploy this app to all Forwarders using Deplyment Server, in this way I can manage eventual Deployment Server or Indexers change.&lt;/P&gt;&lt;P&gt;using teh command you shared, the conf file deploymentclient.conf is located in $SPLUNK_HOME/etc/system/local.&lt;/P&gt;&lt;P&gt;You could also manually put the deploymentclient.conf file in the above folder, but I hint to use the custom Add-On.&lt;/P&gt;&lt;P&gt;For more infos about how to create the deploymentclient.conf file see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Deploymentclientconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Deploymentclientconf&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[deployment-client]

[target-broker:deploymentServer]
targetUri= https://&amp;lt;Deployment_server_hostname_or_ip:8089&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 06:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617097#M12001</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-14T06:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with forwarder installing</title>
      <link>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617101#M12002</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;, thank you for your help.&lt;/P&gt;&lt;P&gt;Yes I can manually put the deploymentclient.conf, but I don't understand why I can't to do it through command&amp;nbsp;&lt;STRONG&gt;sudo -u splunk sh -c "/opt/splunkforwarder/bin/splunk set deploy-poll&amp;nbsp;&lt;EM&gt;deployment_address:8089",&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;why Permission denied?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 07:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617101#M12002</guid>
      <dc:creator>bosseres</dc:creator>
      <dc:date>2022-10-14T07:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with forwarder installing</title>
      <link>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617102#M12003</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228794"&gt;@bosseres&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I should see your system, anyway, if you promote your user to su, does your command run?&lt;/P&gt;&lt;P&gt;And anyway, as I said, if you use the above command, it writes the file in $SPLUNK_HOME/etc/system/local and then you cannot manage it by Deployment Server, so&amp;nbsp;I do not recommend to use it: the TA_Forwarder Add-On is the best approach.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 07:45:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Problem-with-forwarder-installing-How-to-resolve-error/m-p/617102#M12003</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-14T07:45:57Z</dc:date>
    </item>
  </channel>
</rss>

