[syslog-ng] Need help in running syslog-ng

Gergely Nagy algernon at balabit.hu
Mon Jun 4 12:37:59 CEST 2012


"Balla, Hithendra (EXT-Other - IN/Bangalore)"
<hithendra.balla.ext at nsn.com> writes:

> This is the output with Fvde. It is showing relocation error for
> libafsocket.so. Any idea why it is coming ?
>
> A02-LEM-CSLPN01A# /usr/local/sbin/syslog-ng -fFvde
> ~/syslog_conf/mod/syslog-ng_client.conf

For the record: the reason -f -Fvde $CFGFILE didn't work is because -f
expects an argument. Using -fFvde, or -Fvde -f $CFGFILE will work, on
the other hand, as you figured out.

> Error opening plugin module; module='afsocket', error='ld.so.1:
> syslog-ng: fatal: relocation error: file
> /usr/local/lib/syslog-ng/libafsocket.so: symbol request_init: referenced
> symbol not found'

request_init() appears to be something within the tcp wrapper libs (ie,
libnet). However, from the configure output you sent earlier:

| checking for LIBNET... no

This means that tcp wrappers should not be enabled at all, and the code
that calls request_init() should not be enabled, either.

Can you check if your config.h contains something like:

/* Enable TCP wrapper support */
#define ENABLE_TCP_WRAPPER 1

If it does, remove that line, and recompile syslog-ng, and see if that
helps (I believe it should).

How it can end up enabled while libnet wasn't found, though.. that's
a tough question. But lets see first if this is the problem at all.

-- 
|8]



More information about the syslog-ng mailing list