Hello,
The filebeat-7.5.2-1.aix7.2.ppc.rpm works fine on our AIX 7.2-TL3-SP2 systems but we stil have several hundreds of AIX 7.1 VM and the Linux Toolbox for AIX does not contain the AIX 7.1 filebeat RPM.
In despite I installed the RPM filebeat-7.5.2-1.aix7.2.ppc.rpm on an AIX 7.1-TL5-SP3 (on Power8) with the --ignoreos option.
When I launch the binary I see a SIGSEGV signal (see below).
Any solution or any plans to provide filebeat in version AIX 7.1 ?
Thanks
Pierre
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x33 addr=0x100000019 pc=0x10006873c]
runtime stack:
runtime.throw(0x101119445, 0x2a)
/opt/freeware/lib/golang/src/runtime/panic.go:774 +0x68
runtime.sigpanic()
/opt/freeware/lib/golang/src/runtime/signal_unix.go:378 +0x498
asmsyscall6(0xa00000001122228, 0xa0001000016d9c8, 0x100039810, 0x4c0, 0xa00010000000180, 0xa00010000000180, 0x100065684, 0x0, 0x100067d50, 0x0, ...)
/opt/freeware/lib/golang/src/runtime/sys_aix_ppc64.s:57 +0x3c
runtime.asmcgocall(0xbadc0ffee0ddf00d, 0x111353db0)
/opt/freeware/lib/golang/src/runtime/asm_ppc64x.s:633 +0x88
goroutine 1 [syscall, locked to thread]:
runtime.syscall_syscall6(0x11134b4c0, 0x3, 0x1, 0x5401, 0xa0001000016dc90, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/opt/freeware/lib/golang/src/runtime/syscall_aix.go:91 +0x4c fp=0xa0001000016dbc8 sp=0xa0001000016db60 pc=0x10005651c
github.com/elastic/beats/vendor/golang.org/x/sys/unix.callioctl(...)
/opt/freeware/src/packages/BUILD/beats-7.5.2/src/github.com/elastic/beats/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go:420
github.com/elastic/beats/vendor/golang.org/x/sys/unix.ioctl(0x1, 0x5401, 0xa0001000016dc90, 0x1110f1f40, 0x1010d9034)
/opt/freeware/src/packages/BUILD/beats-7.5.2/src/github.com/elastic/beats/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go:96 +0x64 fp=0xa0001000016dc48 sp=0xa0001000016dbc8 pc=0x100232dc4
github.com/elastic/beats/vendor/golang.org/x/sys/unix.IoctlGetTermios(...)
/opt/freeware/src/packages/BUILD/beats-7.5.2/src/github.com/elastic/beats/vendor/golang.org/x/sys/unix/syscall_aix.go:392
github.com/elastic/beats/vendor/github.com/mattn/go-isatty.IsTerminal(0x1, 0x1)
/opt/freeware/src/packages/BUILD/beats-7.5.2/src/github.com/elastic/beats/vendor/github.com/mattn/go-isatty/isatty_tcgets.go:11 +0x4c fp=0xa0001000016dcb0 sp=0xa0001000016dc48 pc=0x10043374c
github.com/elastic/beats/vendor/github.com/fatih/color.init()
/opt/freeware/src/packages/BUILD/beats-7.5.2/src/github.com/elastic/beats/vendor/github.com/fatih/color/color.go:21 +0x134 fp=0xa0001000016dcf0 sp=0xa0001000016dcb0 pc=0x1004353d4
runtime.doInit(0x1110f2a80)
/opt/freeware/lib/golang/src/runtime/proc.go:5222 +0xc4 fp=0xa0001000016dd38 sp=0xa0001000016dcf0 pc=0x1000448c4
runtime.doInit(0x1110f1d60)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016dd80 sp=0xa0001000016dd38 pc=0x10004486c
runtime.doInit(0x1110f7880)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016ddc8 sp=0xa0001000016dd80 pc=0x10004486c
runtime.doInit(0x1110fb960)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016de10 sp=0xa0001000016ddc8 pc=0x10004486c
runtime.doInit(0x111105da0)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016de58 sp=0xa0001000016de10 pc=0x10004486c
runtime.doInit(0x1110fb300)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016dea0 sp=0xa0001000016de58 pc=0x10004486c
runtime.doInit(0x1110fb240)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016dee8 sp=0xa0001000016dea0 pc=0x10004486c
runtime.doInit(0x1110eae80)
/opt/freeware/lib/golang/src/runtime/proc.go:5217 +0x6c fp=0xa0001000016df30 sp=0xa0001000016dee8 pc=0x10004486c
runtime.main()
/opt/freeware/lib/golang/src/runtime/proc.go:190 +0x240 fp=0xa0001000016dfc0 sp=0xa0001000016df30 pc=0x1000365d0
runtime.goexit()
/opt/freeware/lib/golang/src/runtime/asm_ppc64x.s:884 +0x4 fp=0xa0001000016dfc0 sp=0xa0001000016dfc0 pc=0x100067ff4
------------------------------
Pierre BERNHARD
------------------------------
Original Message:
Sent: Sun July 19, 2020 12:33 PM
From: SANKET RATHI
Subject: Filebeat on AIX 7.2
Hi Suresh,
filebeat 7.5.2 on AIX linux toolbox is built using golang on AIX.
golang on AIX is supported only on AIX 7.2 and Power8 or higher processor.
Hence filebeat 7.5.2 from AIX linux toolbox will not work on Power7 or older hardware.
------------------------------
SANKET RATHI
Original Message:
Sent: Sat July 18, 2020 01:22 PM
From: Suresh Velupula
Subject: Filebeat on AIX 7.2
Is filebeat 7.5.2 from AIX linux toobox supported on AIX 7.2 POWER7 systems?
------------------------------
Suresh Velupula
Original Message:
Sent: Fri July 10, 2020 01:55 AM
From: SANGAMESH MALLAYYA
Subject: Filebeat on AIX 7.2
Which version of power processor you are running ?
/opt/freeware/bin/filebeat shell scripts which executes the binary /opt/freeware/share/filebeat/bin/filebeat with some default settings.
7.5.2 doesn't have any dependency on libgcc or libgo and we don't have older version-5.5.1 in our AIX Toolbox.
# rpm -qR filebeat
/usr/bin/env
config(filebeat) = 7.5.2-1
libc.a(shr_64.o)
libperfstat.a(shr_64.o)
libpthreads.a(shr_xpg5_64.o)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
------------------------------
SANGAMESH
Original Message:
Sent: Thu July 09, 2020 08:35 PM
From: Anand Sivasubramanian
Subject: Filebeat on AIX 7.2
I downloaded the filebeat 7.5.2-1 rpm today and installed it on an LPAR running 7200-04-01-1939.
I am trying to start it and could not get it to start
$ ./filebeat
Illegal instruction(coredump)
$ ./filebeat start
Illegal instruction(coredump)
$ ./filebeat -e
I can see two filbeat files, /opt/freeware/bin/filebeat
which is a shell script & the other is /opt/freeware/share/filebeat/bin/filebeat
Also, when I had installed the older version of filebeat (filebeat-5.5.1-1.aix7.2.ppc.rpm)
it had prompted me to install libgcc and libgo as dependencies, but this version did not have a dependency on either libgo or libgcc
I also installed libgo-8.3.0-2.aix7.2.ppc.rpm
& libgcc-8.3.0-2.aix7.2.ppc.rpm
, but looks like they are not required or not used
Can one of you tell me the correct way to start it.
------------------------------
Anand. S
------------------------------