Syslog-ng
experiences a segmentation fault whenever a message is
processed:
<stop syslogd
first>
# syslog-ng -d -d -v
-F -e
syslog-ng starting up; version='2.0.5'
Incoming log entry;
line='<28>Nov 9 10:11:24 xinetd[12285]: Exiting...'
Filter rule
evaluation begins; filter_rule='f_emerg'
Filter node evaluation result;
filter_result='not-match', filter_type='level'
Filter rule evaluation result;
filter_result='not-match', filter_rule='f_emerg'
Filter rule evaluation
begins; filter_rule='f_secure'
Filter node evaluation result;
filter_result='not-match', filter_type='facility'
Filter rule evaluation
result; filter_result='not-match', filter_rule='f_secure'
Filter rule
evaluation begins; filter_rule='f_cron'
Filter node evaluation result;
filter_result='not-match', filter_type='facility'
Filter rule evaluation
result; filter_result='not-match', filter_rule='f_cron'
Filter rule
evaluation begins; filter_rule='f_spooler'
Filter node evaluation result;
filter_result='not-match', filter_type='facility'
Filter node evaluation
result; filter_result='not-match', filter_type='AND'
Filter rule evaluation
result; filter_result='not-match', filter_rule='f_spooler'
Filter rule
evaluation begins; filter_rule='f_local7'
Filter node evaluation result;
filter_result='not-match', filter_type='facility'
Filter rule evaluation
result; filter_result='not-match', filter_rule='f_local7'
Filter rule
evaluation begins; filter_rule='f_messages'
Filter node evaluation result;
filter_result='match', filter_type='level'
Filter rule evaluation result;
filter_result='match', filter_rule='f_messages'
Initializing destination file
writer; template='/var/log/messages',
filename='/var/log/messages'
Segmentation fault
Platform is VMware
Guest running RHEL5 x86_64.
I used the following
steps to build from source:
Download
eventlog-0.2.5 source
./configure --prefix=/usr
--sysconfdir=/etc
make
make install
export
PKG_CONFIG_PATH="/usr/lib/pkgconfig"
Download
syslog-ng-2.0.5 source.
./configure --sysconfdir=/etc
make
make
install
I've basically used
the supplied config file for Redhat in contrib folder. I'm uncommented the
relevant lines in order to use syslog-ng in place of
syslogd.
Syslog-ng runs OK
but as soon as it tries to process a syslog message, it dies with a segmentation
fault.
Any ideas
anyone?
Daniel
This email and any attachments transmitted with it are confidential and may contain legally privileged information. If you are not the intended recipient you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, please notify the sender immediately by return email and then delete all copies of this transmission together with any attachments.
It is the addressee's/recipient's duty to virus scan and otherwise test the email before loading it onto any computer system. IMC Communications does not accept liability in connection with any computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment in relation to this email.
For information about our privacy policy, visit the IMC Communications website at www.imc.net.au
This email has been checked by IMC's SMTP gateway.
-&-