<?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: nmap.sh  command not found in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39190#M1097</link>
    <description>&lt;P&gt;Try "sudo ./nmap.sh -A -O"  , also check that the nmap.sh file is executable by your logged in user.&lt;/P&gt;

&lt;P&gt;Futhermore , from the app's download page , have you read and understood this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;It assumes that the command is available and in the path. Additionally, the nmap binary works best if it is run as root or setuid root. Running as a standard user will most likely yield unexpected results.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any saved searches you create would typically go in $SPLUNK_HOME/etc/apps/asset_discovery/local/savedsearches.conf&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:49:57 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2020-09-28T12:49:57Z</dc:date>
    <item>
      <title>nmap.sh  command not found</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39189#M1096</link>
      <description>&lt;P&gt;I'm running Splunk 5.0.1 on an UBUNTU server (I'm an UBUNTU server newbie, so please be patient).&lt;BR /&gt;
I've installed the Asset_Discovery app &amp;amp; trying to determine why I have no data indexed. I navigated to /opt/splunk/etc/apps/asset_discovery/bin and ran the command sudo nmap.sh -A -O. The result was nmap.sh: command not found. I listed the directory &amp;amp; see that it contains example_nmap.path nmap.cmd nmap.sh nmap.vps. It seems to me this is probably the issue, but I don't know how to resolve it.&lt;/P&gt;

&lt;P&gt;Also, I'm confused about where to store the searches. Any documentation not included with the documentation on the app site would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39189#M1096</guid>
      <dc:creator>slowry1</dc:creator>
      <dc:date>2020-09-28T12:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: nmap.sh  command not found</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39190#M1097</link>
      <description>&lt;P&gt;Try "sudo ./nmap.sh -A -O"  , also check that the nmap.sh file is executable by your logged in user.&lt;/P&gt;

&lt;P&gt;Futhermore , from the app's download page , have you read and understood this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;It assumes that the command is available and in the path. Additionally, the nmap binary works best if it is run as root or setuid root. Running as a standard user will most likely yield unexpected results.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any saved searches you create would typically go in $SPLUNK_HOME/etc/apps/asset_discovery/local/savedsearches.conf&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39190#M1097</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2020-09-28T12:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: nmap.sh  command not found</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39191#M1098</link>
      <description>&lt;P&gt;I thought I included the 'sudo' preface yesterday, maybe not. Anyway, when I run the command today nothing happens. Where should I see the results from the command?&lt;BR /&gt;
I have read about running the command as root or setuid root. Is that something I include in the saved searches or a configuration on the server?&lt;/P&gt;

&lt;P&gt;Thanks for the help.&lt;/P&gt;

&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 14:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/nmap-sh-command-not-found/m-p/39191#M1098</guid>
      <dc:creator>SLowry</dc:creator>
      <dc:date>2012-11-20T14:07:21Z</dc:date>
    </item>
  </channel>
</rss>

