Error -bash: ./trafr: No such file or directory

root@jupiter:/usr/local/bin# ll
total 12
drwxr-xr-x 2 root root 4096 Jun 1 13:59 ./
drwxr-xr-x 10 root root 4096 Jun 1 12:09 ../
-rw-r–r– 1 root root 2629 Jun 1 13:53 trafr.tgz
root@jupiter:/usr/local/bin# tar xzf trafr.tgz
root@jupiter:/usr/local/bin# ll
total 20
drwxr-xr-x 2 root root 4096 Jun 1 13:59 ./
drwxr-xr-x 10 root root 4096 Jun 1 12:09 ../
-rwxr-xr-x 1 1003 root 4764 Mär 17 2004 trafr*
-rw-r–r– 1 root root 2629 Jun 1 13:53 trafr.tgz
root@jupiter:/usr/local/bin# ./trafr
-bash: ./trafr: No such file or directory

Masalah utama karena program TRAFR itu aplikasi 32 Bit, sedangkan anda menggunakan OS 64 Bit yang tidak mendukung 32bit compatibility libraries

Untuk melihatnya bisa dengan ketik

$file ./trafr
./trafr: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped

Di ubuntu 14.04 , solusinya
$sudo dpkg –add-architecture i386
$sudo apt-get update
$sudo apt-get install libc6:i386

Setelah itu anda mendapatkan hasil seperti
$sudo ./trafr
usage: trafr [ip_addr]
-s write output to stdout. pipe it into tcpdump for example:
./trafr -s | /usr/sbin/tcpdump -r –
ip_addr use to filter one source router by ip address

Kalau pakai ubuntu versi lama, silakan pakai cara
#apt-get install ia32-libs

Kalau anda menggunakan Centos 6 atau RHEL 6, silakan pakai cara
$sudo yum install glibc.i686

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s