<?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 Incorrect Path to Script, but Path doesn't exist in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484230#M4018</link>
    <description>&lt;P&gt;I'm trying to bring in new data to my Splunk standalone and getting this error in the _internal logs&lt;BR /&gt;
Incorrect path to script: /Applications/Splunk/etc/apps/my_app/local/bin/run_it.sh.  Script must be located inside $SPLUNK_HOME/bin/scripts.&lt;BR /&gt;
Only thing is, the path to script the log shows, doesn't exist. The path in the log has /my_app/local/bin/run_it.sh but I've triple checked and my bin folder in my app is under /my_app/bin/run_it.sh. There is no bin folder under the local directory that it appears to be referencing. &lt;BR /&gt;
Is there something that I am missing when trying to get this data in?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 05:09:57 GMT</pubDate>
    <dc:creator>wwhite12</dc:creator>
    <dc:date>2020-09-30T05:09:57Z</dc:date>
    <item>
      <title>Incorrect Path to Script, but Path doesn't exist</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484230#M4018</link>
      <description>&lt;P&gt;I'm trying to bring in new data to my Splunk standalone and getting this error in the _internal logs&lt;BR /&gt;
Incorrect path to script: /Applications/Splunk/etc/apps/my_app/local/bin/run_it.sh.  Script must be located inside $SPLUNK_HOME/bin/scripts.&lt;BR /&gt;
Only thing is, the path to script the log shows, doesn't exist. The path in the log has /my_app/local/bin/run_it.sh but I've triple checked and my bin folder in my app is under /my_app/bin/run_it.sh. There is no bin folder under the local directory that it appears to be referencing. &lt;BR /&gt;
Is there something that I am missing when trying to get this data in?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484230#M4018</guid>
      <dc:creator>wwhite12</dc:creator>
      <dc:date>2020-09-30T05:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Path to Script, but Path doesn't exist</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484231#M4019</link>
      <description>&lt;P&gt;Hello @wwhite12&lt;/P&gt;

&lt;P&gt;Place the bin outside the local directory.&lt;/P&gt;

&lt;P&gt;The &lt;CODE&gt;run_it.sh&lt;/CODE&gt; script should be located inside the &lt;CODE&gt;$SPLUNK_HOME/etc/apps/my_app/bin/&lt;/CODE&gt; for Splunk to be able to run it.&lt;/P&gt;

&lt;P&gt;If bin is not existing, you just have to create it and place the script inside with atleast a &lt;CODE&gt;chmod u+x run_it.sh&lt;/CODE&gt; permission.&lt;/P&gt;

&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 05:20:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484231#M4019</guid>
      <dc:creator>lloydknight</dc:creator>
      <dc:date>2020-04-29T05:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Path to Script, but Path doesn't exist</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484232#M4020</link>
      <description>&lt;P&gt;As said in my initial question, the run_it.sh script has been located in the /my_app/bin/ directory from the beginning. I've also given it the proper permissions. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484232#M4020</guid>
      <dc:creator>wwhite12</dc:creator>
      <dc:date>2020-09-30T05:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Path to Script, but Path doesn't exist</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484233#M4021</link>
      <description>&lt;P&gt;Apologies as I got confused on the wordings, here it is:&lt;/P&gt;

&lt;P&gt;Incorrect path: /Applications/Splunk/etc/apps/my_app/local/bin/run_it.sh&lt;BR /&gt;
Your script location: /Applications/Splunk/etc/apps/my_app/bin/run_it.sh&lt;/P&gt;

&lt;P&gt;Have you tried running the commands below already for checking?&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/bin/./splunk list monitor&lt;BR /&gt;
$SPLUNK_HOME/bin/./splunk cmd btool check&lt;BR /&gt;
$SPLUNK_HOME/bin/./splunk cmd btool check --debug&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Incorrect-Path-to-Script-but-Path-doesn-t-exist/m-p/484233#M4021</guid>
      <dc:creator>lloydknight</dc:creator>
      <dc:date>2020-09-30T05:33:16Z</dc:date>
    </item>
  </channel>
</rss>

