[syslog-ng] freebsd syslog-ng error
fico gid
ficohertz at gmail.com
Tue Sep 20 11:10:16 CEST 2005
Hi there,
im trying to setup a syslogng server to collect logs from a few of my
routers. I have installed syslogng and modified the script as below :
--start--
## syslog-ng
source remote {
unix-stream("/dev/log"); internal(); pipe("/proc/kmsg");
udp(ip(158.0.1.1) port(514));
tcp(ip(158.0.1.1) port(514) keep-alive(yes));
};
destination std {
file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$FACILITY"
owner(root) group(root)
perm(0644) dir_perm(0755) create_dirs(yes));
};
log {
source(remote);
destination(std);
};
destination authlog { file("/var/log/auth.log"); };
destination cron { file("/var/log/cron.log"); };
destination debug { file("/var/log/debug.log"); };
destination kern { file("/var/log/kern.log"); };
destination user { file("/var/log/userlog"); };
--end--
somehow when i start the syslog-ng , it doesnt work and gives the error below :
io.c: bind_unix_socket(): bind failed /dev/log (Operation not supported)
Error initializing configuration, exiting.
The syslog-ng by default config works fine.
What am i doing wrong here ?
fico
More information about the syslog-ng
mailing list