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

Balla, Hithendra (EXT-Other - IN/Bangalore) hithendra.balla.ext at nsn.com
Mon Jun 4 11:12:52 CEST 2012


Hi,
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 
nanosleep() is not accurate enough to introduce minor stalls on the
reader side, multi-threaded performance may be affected;
WARNING: Configuration file format is too old, please update it to use
the 3.4 format as some constructs might operate inefficiently;
Starting to read include file; filename='/usr/local/etc/scl.conf',
depth='1'
Global value changed; define='scl-root',
value='/usr/local/share/include/scl'
Global value changed; define='include-path',
value='/usr/local/etc:/usr/local/share/include'
Starting to read include file; filename='/usr/local/etc/modules.conf',
depth='2'
Global value changed; define='autoload-compiled-modules', value='0'
Module loaded and initialized successfully; module='syslogformat'
Module loaded and initialized successfully; module='basicfuncs'
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'
Module loaded and initialized successfully; module='affile'
Module loaded and initialized successfully; module='afprog'
Module loaded and initialized successfully; module='afuser'
Module loaded and initialized successfully; module='dbparser'
Module loaded and initialized successfully; module='csvparser'
Finishing include; filename='/usr/local/etc/modules.conf', depth='2'
Starting to read include file;
filename='/usr/local/share/include/scl/system/plugin.conf', depth='2'
Module loaded and initialized successfully; module='confgen'
Finishing include;
filename='/usr/local/share/include/scl/system/plugin.conf', depth='2'
Starting to read include file;
filename='/usr/local/share/include/scl/pacct/plugin.conf', depth='2'
Finishing include;
filename='/usr/local/share/include/scl/pacct/plugin.conf', depth='2'
Starting to read include file;
filename='/usr/local/share/include/scl/syslogconf/plugin.conf',
depth='2'
Module loaded and initialized successfully; module='confgen'
Finishing include;
filename='/usr/local/share/include/scl/syslogconf/plugin.conf',
depth='2'
Finishing include; filename='/usr/local/etc/scl.conf', depth='1'
Error parsing source, source plugin sun-streams not found in
/export/home/root/syslog_conf/mod/syslog-ng_client.conf at line 14,
column 18:

source s_local { sun-streams("/dev/log"); udp(ip(0.0.0.0) port(514)) ;};
                 ^^^^^^^^^^^

syslog-ng documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
A02-LEM-CSLPN01A#

Thanks
Hithendra

-----Original Message-----
From: Balla, Hithendra (EXT-Other - IN/Bangalore) 
Sent: Friday, June 01, 2012 5:49 PM
To: Syslog-ng users' and developers' mailing list
Subject: RE: [syslog-ng] Need help in running syslog-ng

Hi,

Please find the attached output of configure.

I tried running the command with -Fvde along with -f, but it says
"excess number of args". Can you tell me if I missed anything here.?
A02-LEM-CSLPN01A# /usr/local/sbin/syslog-ng -f -Fvde
/export/home/root/syslog_conf/mod/syslog-ng_client.conf
Excess number of arguments

Thanks
Hithendra

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of ext Gergely
Nagy
Sent: Friday, June 01, 2012 5:29 PM
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] Need help in running syslog-ng

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

> A02-LEM-CSLPN01A# /usr/local/sbin/syslog-ng -f
> /export/home/root/syslog_conf/mod/syslog-ng_client.conf
>
> WARNING: Configuration file format is too old, please update it to use
> the 3.4 format as some constructs might operate inefficiently;
> Error parsing source, source plugin sun-streams not found in
> /export/home/root/syslog_conf/mod/syslog-ng_client.conf at line 14,
> column 18:
>
> source s_local { sun-streams("/dev/log"); udp(ip(0.0.0.0) port(514));
};

Could you post the output of configure, or config.log, perhaps?

Also, you can try running syslog-ng with the -Fvde parameters (in
addition to -f), which will output quite a lot of debug info to stderr,
which might help us determine what's going wrong.



More information about the syslog-ng mailing list