[syslog-ng]FW: UNSTABLE syslog-ng 1.4.15 + redhat-7.3
_/CaT\_
cat_roger22@hotmail.com
Thu, 25 Jul 2002 10:14:10 +0200
After Core's dump problem I've got another with FREE-BSD 4.6, I'm still
waiting for an helping hand ;).
I tried to install syslog-ng 1.4.15 on a redhat-7.3 system but it's
Unstable without CORE Dump File. The attachment is the debug's backtrace
with installed packets and configuration files...
Another question, the last, what is the most STABLE version of REDHAT or
FreeBDS I'd use??
Thnks.
_/CaT\_
PS: If I succeed in my syslog-server Mission when you'll come to Rome
(Caput Mundi), I 'll offer you the real pizza with a real red wine to
"ZOZZONE's"
---
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
flex version 2.5.4 (rpm flex-2.5.4a-23)
bison (GNU Bison) 1.35 (rpm bison-1.35-1)
yacc 1.9 (rpm byacc-1.9-19)
scsh-0.6.2
libol-0.2.23
syslog-ng-1.4.15
---
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions. There is
absolutely no warranty for GDB. Type "show warranty" for details. This
GDB was configured as "i386-redhat-linux"...
(gdb) run -v
Starting program: /usr/local/sbin/syslog-ng -v
binding fd 5, inetaddr: 0.0.0.0, port: 514
Program received signal SIGTERM, Terminated.
0x420b4ae7 in pause () from /lib/i686/libc.so.6
(gdb) bt
#0 0x420b4ae7 in pause () from /lib/i686/libc.so.6
#1 0x08049d0d in go_background ()
#2 0x08049e93 in main ()
#3 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
----
########################################################################
##
options {
long_hostnames(off);
keep_hostname(no);
sync(0);
use_dns(no);
log_fifo_size(1000);
gc_idle_threshold(100);
gc_busy_threshold(3000);
};
########################################################################
##
source src {
internal();
udp(ip(0.0.0.0) port(514));
};
########################################################################
###
###Destination
#Sorting degl'hosts
#
destination hosts {
file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$FACILITY$YEAR$MONTH$DAY"
owner(root)
group(mspns)
perm(0644)
dir_perm(0700)
create_dirs(yes));
};
#
destination all {
file("/var/log/all.log"
owner(root)
group(mspns)
perm(0644));
};
#
destination send_trap_prova {
program("/usr/local/script/syslogtrapper_test");
};
#
########################################################################
####
####Filtering
#
filter f_prova {
host ("10.11.5.37") and not match ("message repeated");
};
#
########################################################################
#####
###Logging
#
log {
source(src);
destination(hosts);
};
#
log {
source(src);
destination(all);
};
#
log {
source(src);
filter(f_prova);
destination(send_trap_prova);
};
#
########################################################################
#####
# /usr/local/script/syslogtrapper_test
#
#!/bin/bash
while read line
do
snmptrap -c xxxxxx! 10.11.8.14 .1.3.6.1.4.1.2620.1.1.0
10.11.5.48 6 2 '' .1.3.6.1.4.1.2620.1.1.6 s "prova invio trap V1: $line"
done exit