[syslog-ng]Dumping Core on FreeBSD 4.10
Emre Bastuz
syslog-ng@lists.balabit.hu
Mon, 13 Sep 2004 15:18:20 +0200
Hi,
Iīve installed syslog-ng on one of my FreeBSD 4.10 machines a couple of days
ago. I would like to have internal log-handling being done by BSDīs own syslog
and network related syslogging by syslog-ng.
Though I have checked my config file over and over again for any apparent
mistakes I can not find any reason why the proccess should die.
The config is as follows:
----------------------------------
options { use_fqdn(yes);
keep_hostname(yes);
use_dns(no);
long_hostnames(off);
sync(0);
log_fifo_size(1000); };
source network { udp(ip("192.168.0.1") port(514)); };
destination hosts {
file("/var/log/myrouters/$HOST/$FACILITY.$YEAR$MONTH$DAY.log" owner(root)
group(root) perm(0600) dir_perm(0700) create_dirs(yes)); };
log { source(network); destination(hosts); };
----------------------------------
Doing a 'strings syslog-ng.core | more' shows me things like ...
[...]
io_set_nonblocking: fcntl() failed, %z
Can't set close-on-exec flag for fd %i: %z
io.c: connecting using fd %i
io.c: listening on fd %i
io.c: Preparing fd %i for reading and writing
io.c: Preparing fd %i for reading
io.c: Preparing fd %i for writing
reopen_fd: open failedfor %S: %z
Marking fd %i for closing.
Internal error, too long message to werror()
[...]
... which I am too dumb to understand.
Does anyone have any suggestion? Any help would be greatly appreciated.
Cheers,
Emre
--
http://www.emre.de UIN: 561260
PGP Key ID: 0xAFAC77FD
I don't see why some people even HAVE cars. -- Calvin