<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>&nbsp;</div>
<div><FONT size=2 face=Arial>I deleted the /dev/log</FONT> <BR><FONT size=2 face=Arial>and did a soft link ln -s /devices/pseudo/log@0:log\@0\:log /dev/log</FONT> </div>
<div>&nbsp;</div>
<div><FONT size=2 face=Arial>#ls -l /dev/log</FONT> <BR><FONT size=2 face=Arial>lrwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 31 Sep 29 16:54 /dev/log -&gt; /devices/pseudo/log@0:log@0:log</FONT> </div>
<div><BR></div>
<div><FONT size=2 face=Arial>but I am still geting the same error:</FONT> </div>
<div><FONT size=2 face=Arial>yslog-ng -f /usr/local/etc/syslog-ng.conf</FONT> <BR><FONT size=2 face=Arial>Error opening syslog device; filename='/dev/log', error='No such file or directory (2)'</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> <BR><FONT size=2 face=Arial><A href="mailto:root@server:/usr/local/etc">root@server:/usr/local/etc</A>#</FONT> </div>
<div><SPAN lang=en-us><BR></SPAN>&nbsp;</div>
<div>&nbsp;</div>
<BLOCKQUOTE style="BORDER-LEFT: blue 2px solid; PADDING-LEFT: 8px; FONT-FAMILY: verdana; COLOR: black; MARGIN-LEFT: 8px; FONT-SIZE: 10pt" mce_style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div   >-------- Original Message --------<BR>Subject: Re: [syslog-ng] sun solaris syslogng error<BR>From: Balazs Scheidler &lt;bazsi@balabit.hu&gt;<BR>Date: Tue, September 29, 2009 6:32 am<BR>To: Syslog-ng users' and developers' mailing list<BR>&lt;syslog-ng@lists.balabit.hu&gt;<BR><BR>On Tue, 2009-09-29 at 02:12 -0700, list@net-secured.com wrote:<BR>&gt; Why does sun-streams("/dev/log" door("/var/run/syslog_door")); line<BR>&gt; give the error below on Solaris 10: <BR>&gt; <BR>&gt; Error opening syslog device; filename='/dev/log', error='Operation not<BR>&gt; supported on transport endpoint (122)' <BR>&gt; Error initializing source driver; source='src_local',<BR>&gt; id='src_local#0' <BR>&gt; Error initializing message pipeline; <BR>&gt; <BR>&gt; <BR>&gt; unix-stream("/dev/log"); works but no log gets generated. <BR>&gt; The syslog-ng was downloaded from sunfreeware, Any input would be<BR>&gt; appreciated. <BR><BR>the unix-stream() driver might have overwritten your /dev/log device<BR>with a unix domain socket, instead of being a device node.<BR><BR>check your /dev/log file, it should look like this:<BR><BR># ls -l /dev/log<BR>lrwxrwxrwx 1 root other 27 Jan 13 2009 /dev/log -&gt; ../devices/pseudo/log@0:log<BR><BR>And the file under /devices:<BR><BR>crw-r----- 1 root sys 21, 5 Jan 13 2009 /devices/pseudo/log@0:log<BR><BR><BR><BR>&gt; <BR>&gt; here is my config:<BR>&gt; <BR>&gt; <BR>&gt; @version:3.0 <BR>&gt; ############################################################### <BR>&gt; # First, set some global options. <BR>&gt; options { <BR>&gt; chain_hostnames(0); <BR>&gt; time_reopen(10); <BR>&gt; time_reap(360); <BR>&gt; log_fifo_size(2048); <BR>&gt; create_dirs(yes); <BR>&gt; group(adm); <BR>&gt; perm(0640); <BR>&gt; dir_perm(0755); <BR>&gt; use_dns(yes); <BR>&gt; stats_freq(0); <BR>&gt; }; <BR>&gt; ############################################################### <BR>&gt; # <BR>&gt; # This is the default behavior of sysklogd package <BR>&gt; # Logs may come from unix stream, but not from another machine. <BR>&gt; # <BR>&gt; source src_local { <BR>&gt; sun-streams("/dev/log"<BR>&gt; door("/var/run/syslog_door")); <BR>&gt; internal(); <BR>&gt; }; <BR>&gt; source s_dev { <BR>&gt; udp(ip("0.0.0.0") port(514)); <BR>&gt; }; <BR>&gt; ############################################################### <BR>&gt; # Some `catch-all' logfiles. <BR>&gt; destination d_src_local { file("/appl/232/data/syslog-ng/messages"<BR>&gt; owner(root) group(root) perm(0600) dir_perm(0700) cr <BR>&gt; eate_dirs(yes) ); }; <BR>&gt; destination d_dev { file("/appl/232/data/syslog-ng/fillit" owner(root)<BR>&gt; group(root) perm(0600) dir_perm(0700) create_dirs(y<BR>&gt; es) ); }; <BR>&gt; log { source(src_local); destination(d_src_local);}; <BR>&gt; log { source(s_dev); destination(d_dev);}; <BR>&gt; <BR>&gt; <BR>&gt; ______________________________________________________________________________<BR>&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target=_blank mce_href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><BR>&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target=_blank mce_href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><BR>&gt; FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target=_blank mce_href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a><BR>&gt; <BR>-- <BR>Bazsi<BR><BR>______________________________________________________________________________<BR>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target=_blank mce_href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><BR>Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target=_blank mce_href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><BR>FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target=_blank mce_href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a><BR><BR></DIV></BLOCKQUOTE></span></body></html>