[syslog-ng] Problem with Syslog-NG 3.2.5 on Aix 7.1 ... It coredumps..
Jonathan Kaufman
jkaufman at footlocker.com
Thu Mar 1 16:21:13 CET 2012
Hello All,
I am hoping someone out there has a working installation of 3.2.5 on
Aix 7.1 and can help me get mine working.
I am currently trying to use a self-compiled version of 3.2.5 on an Power7
CPU Aix 7.1 TL1 SP3 box. I was able to get Syslog-NG to compile on Aix 7.1
after I mangled a new libtool release into the source so it would compile
shared objects.
Unfortunately, when I start syslog-ng it core dumps repeatedly.
Core dumps start filling up /sftw/syslog-ng/var and a ps -ef shows only
the "supervising syslog-ng process".
a dbx syslog-ng gives this output...
[root at mlwitt71]:[/sftw/syslog-ng/sbin] > dbx syslog-ng
Type 'help' for help.
[using memory image in core.10092546.01150742]
reading symbolic information ...
Segmentation fault in alloca at 0xd2970930 ($t1)
0xd2970930 (alloca+0x8) 800c0000 lwz r0,0x0(r12)
(dbx) where
alloca() at 0xd2970930
evt_str_append_escape_bs() at 0xd2970520
evtrec_format_plain() at 0xd296feb4
evt_format() at 0xd2970104
msg_event_send(e = 0x00000005), line 166 in "messages.c"
main_loop_run(cfg = (nil)), line 148 in "main.c"
main(argc = 1, argv = 0x2ff227f4), line 470 in "main.c"
(dbx)
I have also tried using the Syslog-ng rpm's from perzl & Bull. Both of them
core dump as well, so I went back to trying to get a self-compiled release
to work as I have some control over that.
I used IBM VisualAge C/C++ v11.1.0.9 as the C compiler.
[root at mlwitt71]:[/sftw/syslog-ng/sbin] > lslpp -L | grep vac
vac.Bnd 11.1.0.1 C F XL C for AIX Media
Defined
vac.C 11.1.0.9 C F IBM XL C Compiler
vac.aix53.lib 11.1.0.9 C F XL C for AIX Libraries
for AIX
vac.include 11.1.0.9 C F IBM XL C Compiler
Include
vac.lib 11.1.0.9 C F XL C for AIX Libraries
vacpp.Bnd 11.1.0.1 C F IBM XL C/C++ Media
Defined
vacpp.cmp.aix53.lib 11.1.0.9 C F IBM XL C/C++ Libraries
for AIX
vacpp.cmp.core 11.1.0.9 C F IBM XL C/C++ Compiler
vacpp.cmp.include 11.1.0.9 C F IBM XL C/C++ Compiler
Include
vacpp.cmp.lib 11.1.0.9 C F IBM XL C/C++ Libraries
vacpp.cmp.rte 11.1.0.9 C F IBM XL C/C++ Compiler
vacpp.cmp.tools 11.1.0.9 C F IBM XL C/C++ Tools
vacpp.tnb 11.1.0.1 C F IBM XL C/C++ Evaluation
I mangled libtool 2.4.2 into the source directories so it would
detect/compile shared libraries (it wouldn't otherwise).
I compiled and installed eventlog 0.2.12 in /sftw/syslog-ng, I also
compiled OpenSSL 1.0.0g into it staticly.
I am initially trying to start it using the default configuration files.
There were no errors during the compile, and a syslog-ng -s did NOT
coredump.
I believe syslog-ng is using the following libraries and their locations
(dynamically linked).
[root at mlwitt71]:[/sftw/syslog-ng/sbin] > ldd syslog-ng
syslog-ng needs:
/sftw/syslog-ng/lib/libsyslog-ng.a(libsyslog-ng.so.0)
/usr/lib/libnsl.a(shr.o)
/opt/freeware/lib/libgmodule-2.0.so
/opt/freeware/lib/libglib-2.0.so
/usr/lib/libpthread.a(shr_xpg5.o)
/usr/lib/libc.a(shr.o)
/sftw/syslog-ng/lib/libevtlog.a(libevtlog.so.0)
/usr/lib/librtl.a(shr.o)
/opt/freeware/lib/libpcre.a(libpcre.so.0)
/usr/lib/libthread.a(shr.o)
/usr/lib/libpthreads_compat.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libtli.a(shr.o)
/opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0)
/opt/freeware/lib/libintl.a(libintl.so.1)
/usr/lib/libiconv.a(shr4.o)
/usr/lib/libpthreads.a(shr_comm.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr.o)
/usr/lib/libc.a(pse.o)
and the configure command when compiling from source was:
./configure --prefix=/sftw/syslog-ng \
--disable-spoof-source \
--enable-dynamic-linking \
--enable-debug \
--enable-ssl
and I added -g to the CFLAGS
I am using glib2-2.28.6-1 from perzl as well..
I plan on removing the --enable-debug if I can get it working
Any ideas?
Jonathan Kaufman
More information about the syslog-ng
mailing list