<?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: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130441#M22997</link>
    <description>&lt;P&gt;Am running Kali with Snort on it.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2015 04:30:32 GMT</pubDate>
    <dc:creator>chaicl</dc:creator>
    <dc:date>2015-06-01T04:30:32Z</dc:date>
    <item>
      <title>forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130438#M22994</link>
      <description>&lt;P&gt;Guys, i'm getting crazy with the installation of the universal forwarder for ARM&lt;/P&gt;

&lt;P&gt;I followed all the instructions &lt;A href="https://apps.splunk.com/app/1611/"&gt;here provided&lt;/A&gt;.&lt;BR /&gt;
I'm root user.&lt;BR /&gt;
The system is an arm 32 bit:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@arm:/# uname -a
Linux arm 3.0.35-wand6.3 #2 SMP PREEMPT Fri Oct 17 15:59:49 CEST 2014 armv7l GNU/Linux
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I downloaded the tgz, and installed it with :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tar zxvf forwarder-for-linux-arm-raspberry-pi_10.tgz -C /opt
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I tried to setup the start at the boot, i get the error. &lt;BR /&gt;
All other binaries get the same error.&lt;BR /&gt;
Here is the output after invoked splunk&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@arm:/# /opt/splunkforwarder/bin/splunk
-bash: /opt/splunkforwarder/bin/splunk: No such file or directory
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Permissions should be ok:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;¨root@arm:/opt/splunkforwarder/bin#  ls -l
total 17336
-r-xr-xr-x 1 root root    34304 Sep 28  2013 btool
-r-xr-xr-x 1 root root    34304 Sep 28  2013 btprobe
-r-xr-xr-x 1 root root    26748 Sep 28  2013 bzip2
-r-xr-xr-x 1 root root    34304 Sep 28  2013 classify
-r--r--r-- 1 root root       57 Sep 28  2013 copyright.txt
-r-xr-xr-x 1 root root     2367 Sep 28  2013 genRootCA.sh
-r-xr-xr-x 1 root root      206 Sep 28  2013 genSignedServerCert.sh
-r-xr-xr-x 1 root root      144 Sep 28  2013 genWebCert.sh
-r-xr-xr-x 1 root root   508556 Sep 28  2013 openssl
drwxr-xr-x 2 root root     4096 Sep 28  2013 scripts
-r--r--r-- 1 root root     1135 Sep 28  2013 setSplunkEnv
-r-xr-xr-x 1 root root   266296 Sep 28  2013 splunk
-r-xr-xr-x 1 root root 16790988 Sep 28  2013 splunkd
-r-xr-xr-x 1 root root    11144 Sep 28  2013 splunkmon
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Dependencies seems that are all satisfied:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@arm:/# ldd /opt/splunkforwarder/bin/splunk
        libdl.so.2 =&amp;gt; /lib/arm-linux-gnueabihf/libdl.so.2 (0x402a4000)
        libpthread.so.0 =&amp;gt; /lib/arm-linux-gnueabihf/libpthread.so.0 (0x400e1000)
        libc.so.6 =&amp;gt; /lib/arm-linux-gnueabihf/libc.so.6 (0x402af000)
        /lib/ld-linux.so.3 =&amp;gt; /lib/ld-linux-armhf.so.3 (0x400c2000)
root@arm:/opt/splunkforwarder/bin# eu-readelf -d /opt/splunkforwarder/bin/splunk  | grep NEEDED
  NEEDED            Shared library: [libdl.so.2]
  NEEDED            Shared library: [libpthread.so.0]
  NEEDED            Shared library: [libc.so.6]
root@arm:/opt/splunkforwarder/bin# find / -name "libdl.so.2"
/lib/arm-linux-gnueabihf/libdl.so.2
root@arm:/opt/splunkforwarder/bin# find / -name "libpthread.so.0"
/lib/arm-linux-gnueabihf/libpthread.so.0
root@arm:/opt/splunkforwarder/bin# find / -name "libc.so.6"
/lib/arm-linux-gnueabihf/libc.so.6
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the /lib content:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@arm:/lib# ls
arm-linux-gnueabihf  libip4tc.so.0      libipq.so.0       libxtables.so.7      modules   xtables
firmware             libip4tc.so.0.1.0  libipq.so.0.0.0   libxtables.so.7.0.0  systemd
init                 libip6tc.so.0      libiptc.so.0      lsb                  terminfo
ld-linux-armhf.so.3  libip6tc.so.0.1.0  libiptc.so.0.0.0  modprobe.d           udev
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this is the strace output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@arm:/opt/splunkforwarder/bin# strace /opt/splunkforwarder/bin/splunk
execve("/opt/splunkforwarder/bin/splunk", ["/opt/splunkforwarder/bin/splunk"], [/* 16 vars */]) = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x20002 (flags O_RDWR|O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400ca000
_llseek(3, 0, 0xbec7e8d0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3)                                = 0
munmap(0x400ca000, 4096)                = 0
exit_group(1)                           = ?
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any idea? &lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2014 15:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130438#M22994</guid>
      <dc:creator>idsiano</dc:creator>
      <dc:date>2014-11-21T15:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130439#M22995</link>
      <description>&lt;P&gt;looks like on a raspberry pi &lt;CODE&gt;/lib/ld-linux.so.3&lt;/CODE&gt; is missing. Creating it with &lt;CODE&gt;ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib&lt;/CODE&gt; solved it.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 10:26:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130439#M22995</guid>
      <dc:creator>idsiano</dc:creator>
      <dc:date>2014-11-24T10:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130440#M22996</link>
      <description>&lt;P&gt;Did not work for me on my Pi2 B+.  Still same "command not found" bash error.,Did not work for me on Pi2 B+.  Still trying to figure out why...&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 04:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130440#M22996</guid>
      <dc:creator>chaicl</dc:creator>
      <dc:date>2015-06-01T04:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130441#M22997</link>
      <description>&lt;P&gt;Am running Kali with Snort on it.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 04:30:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130441#M22997</guid>
      <dc:creator>chaicl</dc:creator>
      <dc:date>2015-06-01T04:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130442#M22998</link>
      <description>&lt;P&gt;Thanks.  &lt;/P&gt;

&lt;P&gt;In that case, how can I set up SSH/SCP to pull the alert.1.gz?  Is there somewhere I can look up instructions on how to set this up?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 15:31:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130442#M22998</guid>
      <dc:creator>chaicl</dc:creator>
      <dc:date>2015-06-05T15:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130443#M22999</link>
      <description>&lt;P&gt;What is alert.1.gz?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 15:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130443#M22999</guid>
      <dc:creator>mdickey_splunk</dc:creator>
      <dc:date>2015-06-05T15:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130444#M23000</link>
      <description>&lt;P&gt;It is the compressed snort alert log file on the Pi2.  Was trying to set up forwarder to send the file to my splunk on my Mac &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 15:43:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130444#M23000</guid>
      <dc:creator>chaicl</dc:creator>
      <dc:date>2015-06-05T15:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130445#M23001</link>
      <description>&lt;P&gt;you saved my day! thanks.&lt;/P&gt;

&lt;P&gt;After executing:&lt;BR /&gt;
    ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib/ld-linux.so.3&lt;/P&gt;

&lt;P&gt;I can start the splunkforwarder on my cubietruck &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Linux cubietruck 3.4.108-sun7i+ #1 SMP PREEMPT Tue Jul 28 12:54:49 CEST 2015 armv7l armv7l armv7l GNU/Linux&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2015 13:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130445#M23001</guid>
      <dc:creator>securediversity</dc:creator>
      <dc:date>2015-09-13T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130446#M23002</link>
      <description>&lt;P&gt;Thankyou.&lt;/P&gt;

&lt;P&gt;Running on a Next Thing Co C.H.I.P. after running:&lt;BR /&gt;
ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib/ld-linux.so.3&lt;/P&gt;

&lt;P&gt;Linux chip 4.3.0 #10 SMP Sat Nov 14 19:10:05 PST 2015 armv7l GNU/Linux&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130446#M23002</guid>
      <dc:creator>c73</dc:creator>
      <dc:date>2016-03-01T11:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder for ARM: /opt/splunkforwarder/bin/splunk: No such file or directory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130447#M23003</link>
      <description>&lt;P&gt;I have to say that worked for me too. I was running Armbian Linux on a banana pi and after that I was able to start the binaries. &lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 09:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/forwarder-for-ARM-opt-splunkforwarder-bin-splunk-No-such-file-or/m-p/130447#M23003</guid>
      <dc:creator>xaratos</dc:creator>
      <dc:date>2019-08-05T09:55:36Z</dc:date>
    </item>
  </channel>
</rss>

