"Illegal Instruction" error when running Kibana 4

I am attempting to run Kibana 4 on a RHEL 6 32-bit server. Whenever I run the kibana binary, it tells me that node\bin\node ../src/bin/kibana.js attempted an illegal instruction. Am I missing a required package somewhere?

Can you paste the complete error?

Sadly, that is the entire error message when trying to run the kibana app. However, I can attach the abrt daemon log:

abrt_version:   2.0.8
cgroup:         
cmdline:        bin/../node/bin/node bin/../src/bin/kibana.js
executable:     /opt/kibana/node/bin/node
hostname:       <redacted>.com
kernel:         2.6.32-504.23.4.el6.i686
last_occurrence:    1435325769
pid:            4248
pwd:            /opt/kibana
time:           Thu 25 Jun 2015 05:21:19 PM EDT
uid:            0
username:       root

sosreport.tar.xz: Binary file, 1614588 bytes

dso_list:
:/lib/libc-2.12.so glibc-2.12-1.149.el6_6.9.i686 (Red Hat, Inc.) 1433425389
:/lib/ld-2.12.so glibc-2.12-1.149.el6_6.9.i686 (Red Hat, Inc.) 1433425389
:/lib/librt-2.12.so glibc-2.12-1.149.el6_6.9.i686 (Red Hat, Inc.) 1433425389
:/lib/libgcc_s-4.4.7-20120601.so.1 libgcc-4.4.7-11.el6.i686 (Red Hat, Inc.) 1418235236
:/lib/libm-2.12.so glibc-2.12-1.149.el6_6.9.i686 (Red Hat, Inc.) 1433425389
:/lib/libdl-2.12.so glibc-2.12-1.149.el6_6.9.i686 (Red Hat, Inc.) 1433425389
:/usr/lib/libstdc++.so.6.0.13 libstdc++-4.4.7-11.el6.i686 (Red Hat, Inc.) 1418235340
:/lib/libpthread-2.12.so glibc-2.12-1.149.el6_6.9.i686 (Red Hat, Inc.) 1433425389

environ:
:NODE_ENV=production
:CONFIG_PATH=bin/../config/kibana.yml
:HOSTNAME=<redacted>.com
:TERM=xterm
:SHELL=/bin/bash
:HISTSIZE=1000
:QTDIR=/usr/lib/qt-3.3
:QTINC=/usr/lib/qt-3.3/include
:USER=root
:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
:PATH=/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
:MAIL=/var/spool/mail/root
:PWD=/opt/kibana
:LANG=en_US.UTF-8
:MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
:LOADEDMODULES=
:HISTCONTROL=ignoredups
:HOME=/root
:SHLVL=1
:LOGNAME=root
:CVS_RSH=ssh
:QTLIB=/usr/lib/qt-3.3/lib
:MODULESHOME=/usr/share/Modules
:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:G_BROKEN_FILENAMES=1
:'BASH_FUNC_module()=() {  eval `/usr/bin/modulecmd bash $*`\n}'

limits:
:Limit                     Soft Limit           Hard Limit           Units     
:Max cpu time              unlimited            unlimited            seconds   
:Max file size             unlimited            unlimited            bytes     
:Max data size             unlimited            unlimited            bytes     
:Max stack size            10485760             unlimited            bytes     
:Max core file size        0                    unlimited            bytes     
:Max resident set          unlimited            unlimited            bytes     
:Max processes             37339                37339                processes 
:Max open files            1024                 4096                 files     
:Max locked memory         65536                65536                bytes     
:Max address space         unlimited            unlimited            bytes     
:Max file locks            unlimited            unlimited            locks     
:Max pending signals       37339                37339                signals   
:Max msgqueue size         819200               819200               bytes    
:Max nice priority         0                    0                    
:Max realtime priority     0                    0                    
:Max realtime timeout      unlimited            unlimited            us        

maps:

:006f7000-00715000 r-xp 00000000 fd:00 656372    /lib/ld-2.12.so
:00715000-00716000 r-xp 0001d000 fd:00 656372    /lib/ld-2.12.so
:00716000-00717000 rwxp 0001e000 fd:00 656372    /lib/ld-2.12.so
:00719000-00730000 r-xp 00000000 fd:00 656410    /lib/libpthread-2.12.so
:00730000-00731000 r-xp 00016000 fd:00 656410    /lib/libpthread-2.12.so
:00731000-00732000 rwxp 00017000 fd:00 656410    /lib/libpthread-2.12.so
:00732000-00734000 rwxp 00000000 00:00 0 
:00736000-00739000 r-xp 00000000 fd:00 656406    /lib/libdl-2.12.so
:00739000-0073a000 r-xp 00002000 fd:00 656406    /lib/libdl-2.12.so
:0073a000-0073b000 rwxp 00003000 fd:00 656406    /lib/libdl-2.12.so
:00753000-0077b000 r-xp 00000000 fd:00 656478     /lib/libm-2.12.so
:0077b000-0077c000 r-xp 00027000 fd:00 656478    /lib/libm-2.12.so
:0077c000-0077d000 rwxp 00028000 fd:00 656478    /lib/libm-2.12.so
:0077f000-00786000 r-xp 00000000 fd:00 656497    /lib/librt-2.12.so
:00786000-00787000 r-xp 00006000 fd:00 656497    /lib/librt-2.12.so
:00787000-00788000 rwxp 00007000 fd:00 656497    /lib/librt-2.12.so
:007ff000-0081c000 r-xp 00000000 fd:00 656568    /lib/libgcc_s-4.4.7-20120601.so.1
:0081c000-0081d000 rwxp 0001d000 fd:00 656568    /lib/libgcc_s-4.4.7-20120601.so.1
:00863000-009f3000 r-xp 00000000 fd:00 656373    /lib/libc-2.12.so
:009f3000-009f4000 ---p 00190000 fd:00 656373    /lib/libc-2.12.so
:009f4000-009f6000 r-xp 00190000 fd:00 656373    /lib/libc-2.12.so
:009f6000-009f7000 rwxp 00192000 fd:00 656373    /lib/libc-2.12.so
:009f7000-009fa000 rwxp 00000000 00:00 0 
:00b64000-00c45000 r-xp 00000000 fd:05 656927    /usr/lib/libstdc++.so.6.0.13
:00c45000-00c49000 r-xp 000e0000 fd:05 656927    /usr/lib/libstdc++.so.6.0.13
:00c49000-00c4b000 rwxp 000e4000 fd:05 656927    /usr/lib/libstdc++.so.6.0.13
:00c4b000-00c51000 rwxp 00000000 00:00 0 
:08048000-08827000 r-xp 00000000 fd:00 1573477   /opt/kibana/node/bin/node
:08827000-08835000 rwxp 007de000 fd:00 1573477   /opt/kibana/node/bin/node
:08835000-0883b000 rwxp 00000000 00:00 0 
:0a677000-0a698000 rwxp 00000000 00:00 0          [heap]
:2171b000-2171c000 r-xp 00000000 00:00 0 
:2f600000-2f639000 rwxp 00000000 00:00 0 
:31123000-31124000 r-xp 00000000 00:00 0 
:44638000-44639000 r-xp 00000000 00:00 0 
:44f00000-44f19000 rwxp 00000000 00:00 0 
:4b500000-4b549000 rwxp 00000000 00:00 0 
:4d24b000-4d24c000 rwxp 00000000 00:00 0 
:54acd000-54ace000 r-xp 00000000 00:00 0 
:55483000-55484000 r-xp 00000000 00:00 0 
:b6000000-b6700000 ---p 00000000 00:00 0 
:b6700000-b6800000 rwxp 00000000 00:00 0 
:b6800000-b7000000 ---p 00000000 00:00 0 
:b7792000-b7795000 rwxp 00000000 00:00 0 
:b77a0000-b77a1000 rwxp 00000000 00:00 0 
:b77a1000-b77a2000 r-xp 00000000 00:00 0          [vdso]
:bf832000-bf847000 rwxp 00000000 00:00 0          [stack]

open_fds:
:0:/dev/pts/0
:pos:      0
:flags:    0100002
:1:/dev/pts/0
:pos:      0
:flags:    0100002
:2:/dev/pts/0
:pos:      0
:flags:    0100002
:3:pipe:[18332]
:pos:      0
:flags:    00
:4:pipe:[18332]
:pos:      0
:flags:    01
:5:[eventpoll]
:pos:      0
:flags:    02
:6:pipe:[18333]
:pos:      0
:flags:    04000
:7:pipe:[18333]
:pos:      0
:flags:    04001
:8:[eventfd]
:pos:      0
:flags:    04002

var_log_messages:

:Jun 25 15:25:41 <redacted>.com abrt[12789]: Saved core dump of pid 12787 (/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:25:41-12787 (2199552 bytes)
:Jun 25 15:25:43 <redacted>.com abrtd: Executable '/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node' doesn't belong to any package and ProcessUnpackaged is set to 'no'
:Jun 25 15:34:42 <redacted>.com abrt[12928]: Saved core dump of pid 12926 (/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:34:42-12926 (2199552 bytes)
:Jun 25 15:34:43 <redacted>.com abrtd: Executable '/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node' doesn't belong to any package and ProcessUnpackaged is set to 'no'
:Jun 25 15:35:51 <redacted>.com abrt[13037]: Saved core dump of pid 13035 (/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node)  to /var/spool/abrt/ccpp-2015-06-25-15:35:51-13035 (2199552 bytes)
:Jun 25 15:35:52 <redacted>.com abrtd: Executable '/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node' doesn't belong to any package and ProcessUnpackaged is set to 'no'
:Jun 25 15:45:43 <redacted>.com abrt[13513]: Saved core dump of pid 13511 (/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:45:43-13511 (2199552 bytes)
:Jun 25 15:45:44 <redacted>.com abrtd: Executable '/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node' doesn't belong to any package and ProcessUnpackaged is set to 'no'
:Jun 25 15:47:23 <redacted>.com abrt[13534]: Saved core dump of pid 13532 (/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:47:23-13532 (2199552 bytes)
:Jun 25 15:47:24 <redacted>.com abrtd: Executable '/home/<redacted>/logstash/kibana-4.1.0-linux-x86/node/bin/node' doesn't belong to any package and ProcessUnpackaged is set to 'no'
:Jun 25 15:52:03 <redacted>.com abrt[13693]: Saved core dump of pid 13691 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:52:03-13691 (2199552 bytes)
:Jun 25 15:52:04 <redacted>.com abrtd: Executable '/opt/kibana/node/bin/node' doesn't belong to any package and ProcessUnpackaged is set to 'no'
:Jun 25 15:53:57 <redacted>.com abrt[13713]: Saved core dump of pid 13711 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:53:56-13711 (2199552 bytes)
:Jun 25 15:54:05 <redacted>.com abrt[13747]: Not saving repeating crash in '/opt/kibana/node/bin/node'
:Jun 25 15:56:02 <redacted>.com abrt[14194]: Saved core dump of pid 14192 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:56:02-14192 (2199552 bytes)
:Jun 25 15:59:01 <redacted>.com abrt[16016]: Saved core dump of pid 16014 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-15:59:01-16014 (2199552 bytes)
:Jun 25 16:16:29 <redacted>.com abrt[17623]: Saved core dump of pid 17621 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-16:16:29-17621 (2199552 bytes)
:Jun 25 16:37:23 <redacted>.com abrt[19273]: Saved core dump of pid 19271 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-16:37:23-19271 (2199552 bytes)
:Jun 25 16:50:44 <redacted>.com abrt[20748]: Saved core dump of pid 20747 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-16:50:44-20747 (2199552 bytes)
:Jun 25 16:59:15 <redacted>.com abrt[21968]: Saved core dump of pid 21967 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-16:59:14-21967 (2199552 bytes)
:Jun 25 17:02:33 <redacted>.com abrt[23119]: Saved core dump of pid 23118 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-17:02:32-23118 (2199552 bytes)
:Jun 25 17:03:02 <redacted>.com abrt[23286]: Saved core dump of pid 23285 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-17:03:02-23285 (2199552 bytes)
:Jun 25 17:15:03 <redacted>.com abrt[25662]: Saved core dump of pid 25660 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-17:15:03-25660 (2199552 bytes)
:Jun 25 17:20:07 <redacted>.com node 0 low ram: 00000000 - 375fe000
:Jun 25 17:20:07 <redacted>.com node 0 bootmap 0000b000 - 00011ec0
:Jun 25 17:20:07 <redacted>.com Movable zone start PFN for each node
:Jun 25 17:20:07 <redacted>.com early_node_map[3] active PFN ranges
:Jun 25 17:20:07 <redacted>.com On node 0 totalpages: 1245081
:Jun 25 17:20:07 <redacted>.com NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:4 nr_node_ids:1
:Jun 25 17:20:07 <redacted>.com Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
:Jun 25 17:20:07 <redacted>.com Initializing HighMem for node 0 (000375fe:00140000)
:Jun 25 17:20:07 <redacted>.com sizeof(inode)=352 bytes
:Jun 25 17:20:07 <redacted>.com sizeof(ext3inode)=508 bytes
:Jun 25 17:20:07 <redacted>.com pci_bus 0000:00: on NUMA node 0
:Jun 25 17:20:07 <redacted>.com pci_bus 0000:01: on NUMA node 0
:Jun 25 17:20:07 <redacted>.com pci_bus 0000:07: on NUMA node 0
:Jun 25 17:20:07 <redacted>.com alloc irq_desc for 22 on node -1
:Jun 25 17:20:07 <redacted>.com alloc kstat_irqs on node -1
:Jun 25 17:20:07 <redacted>.com alloc irq_desc for 16 on node -1
:Jun 25 17:20:07 <redacted>.com alloc kstat_irqs on node -1
:Jun 25 17:20:07 <redacted>.com alloc irq_desc for 28 on node -1
:Jun 25 17:20:07 <redacted>.com alloc kstat_irqs on node -1
:Jun 25 17:20:07 <redacted>.com SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
:Jun 25 17:20:07 <redacted>.com alloc irq_desc for 18 on node -1
:Jun 25 17:20:07 <redacted>.com alloc kstat_irqs on node -1
:Jun 25 17:20:07 <redacted>.com alloc irq_desc for 20 on node -1
:Jun 25 17:20:07 <redacted>.com alloc kstat_irqs on node -1
:Jun 25 17:20:07 <redacted>.com alloc irq_desc for 23 on node -1
:Jun 25 17:20:07 <redacted>.com alloc kstat_irqs on node -1
:Jun 25 17:21:19 <redacted>.com abrt[4251]: Saved core dump of pid 4248 (/opt/kibana/node/bin/node) to /var/spool/abrt/ccpp-2015-06-25-17:21:19-4248 (2199552 bytes)

Maybe related - https://github.com/elastic/kibana/issues/4332?

I'd try 4.1.1 and see if that fixes it.

Didn't resolve my issue:

[root@<redacted> kibana]# bin/kibana
Illegal instruction (core dumped)

I noticed you're using 32bit RHEL, double check you are using the 32bit version of Kibana

Are you sure you're running the 32-bit version of Kibana? I'm guessing you've got it right, I don't think you'd get the same message if you didn't, but good to double-check.

Are you running this on x86? When I google that message, all the posts seem to be about running node.js on arm.

This is what I downloaded and ran:

https://download.elastic.co/kibana/kibana/kibana-4.1.1-linux-x86.tar.gz

I agree that this is very symptomatic of an attempt to run a 64-bit application on a 32-bit server.

For what it's worth, I quickly tried running Kibana 4.1.1 on RHEL 6.0 32-bit (AWS AMI distributed by RedHat) and I’m not getting a core dump.

I just installed 4.1.2 from kibana-4.1.2-linux-x86.tar.gz on CentOS 6.4x32 (this is a rather new server I'm setting up so it doesn't have much)

I first installed elasticsearch, and then failed to start kibana. So I installed java 1.8 as instructed in some tutorials, but still no joy.

Here's some info:

[root@SDevQA bin]# uname -mpi
i686 i686 i386
[root@SDevQA bin]# file ./../node/bin/node
./../node/bin/node: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
[root@SDevQA bin]# ./kibana
Illegal instruction
[root@SDevQA bin]# java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) Server VM (build 25.51-b03, mixed mode)
[root@SDevQA bin]#

any ideas what to do to make this work? I'm only trying to get ntopng working with historical data, in case it helps for some other workarounds.