Why does sun-streams("/dev/log" door("/var/run/syslog_door")); line give the error below on Solaris 10:
Error opening syslog device; filename='/dev/log', error='Operation not supported on transport endpoint (122)'
Error initializing source driver; source='src_local', id='src_local#0'
Error initializing message pipeline;
unix-stream("/dev/log"); works but no log gets generated.
The syslog-ng was downloaded from sunfreeware, Any input would be appreciated.
here is my config:
@version:3.0
###############################################################
# First, set some global options.
options {
chain_hostnames(0);
time_reopen(10);
time_reap(360);
log_fifo_size(2048);
create_dirs(yes);
group(adm);
perm(0640);
dir_perm(0755);
use_dns(yes);
stats_freq(0);
};
###############################################################
#
# This is the default behavior of sysklogd package
# Logs may come from unix stream, but not from another machine.
#
source src_local {
sun-streams("/dev/log" door("/var/run/syslog_door"));
internal();
};
source s_dev {
udp(ip("0.0.0.0") port(514));
};
###############################################################
# Some `catch-all' logfiles.
destination d_src_local { file("/appl/232/data/syslog-ng/messages" owner(root) group(root) perm(0600) dir_perm(0700) cr
eate_dirs(yes) ); };
destination d_dev { file("/appl/232/data/syslog-ng/fillit" owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(y
es) ); };
log { source(src_local); destination(d_src_local);};
log { source(s_dev); destination(d_dev);};