<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Completely right, the </div>
<div># ls -l /dev/log<BR>lrwxrwxrwx 1 root other 27 Jan 13 2009 /dev/log</div>
<div> </div>
<div>How do i go about re-creating the device node.</div>
<div> </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 <bazsi@balabit.hu><BR>Date: Tue, September 29, 2009 6:32 am<BR>To: Syslog-ng users' and developers' mailing list<BR><syslog-ng@lists.balabit.hu><BR><BR>On Tue, 2009-09-29 at 02:12 -0700, list@net-secured.com wrote:<BR>> Why does sun-streams("/dev/log" door("/var/run/syslog_door")); line<BR>> give the error below on Solaris 10: <BR>> <BR>> Error opening syslog device; filename='/dev/log', error='Operation not<BR>> supported on transport endpoint (122)' <BR>> Error initializing source driver; source='src_local',<BR>> id='src_local#0' <BR>> Error initializing message pipeline; <BR>> <BR>> <BR>> unix-stream("/dev/log"); works but no log gets generated. <BR>> The syslog-ng was downloaded from sunfreeware, Any input would be<BR>> 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 -> ../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>> <BR>> here is my config:<BR>> <BR>> <BR>> @version:3.0 <BR>> ############################################################### <BR>> # First, set some global options. <BR>> options { <BR>> chain_hostnames(0); <BR>> time_reopen(10); <BR>> time_reap(360); <BR>> log_fifo_size(2048); <BR>> create_dirs(yes); <BR>> group(adm); <BR>> perm(0640); <BR>> dir_perm(0755); <BR>> use_dns(yes); <BR>> stats_freq(0); <BR>> }; <BR>> ############################################################### <BR>> # <BR>> # This is the default behavior of sysklogd package <BR>> # Logs may come from unix stream, but not from another machine. <BR>> # <BR>> source src_local { <BR>> sun-streams("/dev/log"<BR>> door("/var/run/syslog_door")); <BR>> internal(); <BR>> }; <BR>> source s_dev { <BR>> udp(ip("0.0.0.0") port(514)); <BR>> }; <BR>> ############################################################### <BR>> # Some `catch-all' logfiles. <BR>> destination d_src_local { file("/appl/232/data/syslog-ng/messages"<BR>> owner(root) group(root) perm(0600) dir_perm(0700) cr <BR>> eate_dirs(yes) ); }; <BR>> destination d_dev { file("/appl/232/data/syslog-ng/fillit" owner(root)<BR>> group(root) perm(0600) dir_perm(0700) create_dirs(y<BR>> es) ); }; <BR>> log { source(src_local); destination(d_src_local);}; <BR>> log { source(s_dev); destination(d_dev);}; <BR>> <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>-- <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>