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