Segfault when starting filebeat on RHEL5.5


(Joshua) #1

Having issues getting filebeat to run on RHEL5.5. Running kernel 2.6.18-238. Any ideas?

strace -f
/usr/bin/filebeat -c /etc/filebeat/filebeat.yml -e figtest
execve("/usr/bin/filebeat", ["/usr/bin/filebeat",
"-c", "/etc/filebeat/filebeat.yml",", "-configtest"],
[/* 23 vars */]) = 0

brk(0) = 0x18473000

mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b63b1ce mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b63b1ce

access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=64050, ...}) = 0
mmap(NULL, 64050, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b63b1cec000

close(3) = 0

open("/lib64/libpthread.so.0", O_RDONLY) = 3 read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W\00076\0\0\0"...,
832) = fstat(3, {st_mode=S_IFREG|0755, st_size=145824, ...}) = 0
mmap(0x3637000000, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 07000000 mprotect(0x3637016000, 2093056, PROT_NONE) = 0 mmap(0x3637215000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 315000) =
0x3637215000 mmap(0x3637217000, 13168, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0) = 0x3637217000

close(3)
= 0

open("/lib64/libc.so.6", O_RDONLY) = 3

read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332A66\0\0\0"...,
832) = fstat(3, {st_mode=S_IFREG|0755, st_size=1722304, ...}) = 0
mmap(0x3636400000, 3502424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 06400000 mprotect(0x363654e000, 2097152, PROT_NONE) = 0 mmap(0x363674e000,
20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, x14e000) =
0x363674e000 mmap(0x3636753000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
0) = 0x3636753000

close(3) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b63b1cf mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b63b1cf
arch_prctl(ARCH_SET_FS, 0x2b63b1cfcb10) = 0 mprotect(0x363674e000, 16384,
PROT_READ) = 0 mprotect(0x3637215000, 4096, PROT_READ) = 0
mprotect(0x363621b000, 4096, PROT_READ) = 0

munmap(0x2b63b1cec000, 64050) = 0

set_tid_address(0x2b63b1cfcba0) = 8810

set_robust_list(0x2b63b1cfcbb0, 0x18) = 0

futex(0x7fffad7d7f0c, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x3637005380, [], SA_RESTORER|SA_SIGINFO,
0x363700eb10}, NULL = 0 rt_sigaction(SIGRT_1, {0x36370052b0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO,
0x363700e, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
sched_getaffinity(0, 8192, { ffff, 0, 0,
0 }) = 32 mmap(0xc000000000, 65536, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xc000000000

munmap(0xc000000000, 65536) = 0

mmap(NULL, 262144, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b63b100 mmap(0xc820000000, 1048576,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =820000000
mmap(0xc81fff8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0fff8000 mmap(0xc000000000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x000000 mmap(NULL, 65536,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b63b1d0

--- SIGSEGV (Segmentation fault) @ 0 (0) ---

+++ killed by SIGSEGV +++


(Andrew Kroh) #2

Hi @jkpaye, please see https://github.com/elastic/beats/issues/727. I think you need a slightly newer kernel.


(system) #3