<div>Thanks for the quick reply, However I'm using the "syslog-ng.conf" as below;</div> <div>--------------------------------------------------------------------------------------------------------------------------</div> <div>options { sync (0);<BR> time_reopen (10);<BR> log_fifo_size (1000);<BR> long_hostnames (off);<BR> use_dns (no);<BR> use_fqdn (no);<BR> create_dirs (yes);<BR> keep_hostname (yes);<BR> };</div> <div><BR>source s_sys { file ("/proc/kmsg" log_prefix("kernel: ")); unix-stream ("/dev/log"); internal(); };</div> <div>#Everything going to one
location<BR>destination d_syslognglog { file("/var/adm/messages-ng"); };</div> <div>log { source(s_sys); destination(d_syslognglog); };<BR>------------------------------------------------------------------------------------------------------------------------------<BR><BR><EM><STRONG>Note:</STRONG>And I've tried with </EM>unix-dgram , but stuck up with the same problem. I'll very thankful for any help.</div> <div><B><I></I></B> </div> <div><EM>Regards</EM></div> <div><EM>Shamim, CSC India</EM></div> <div><STRONG><EM></EM></STRONG> </div> <div><B><I>"Geller, Sandor (IT)" <Sandor.Geller@morganstanley.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hello,<BR><BR>> Hi ,<BR>> <BR>> When there was no daemon of "syslog-ng" was running<BR>> ********************************************************************<BR>> [root@svllgg181 tmp]# ps -eaf |grep -i
syslog-ng<BR>> root 2631 2597 0 10:58 pts/0 00:00:00 grep -i syslog-ng<BR>> [root@svllgg181 tmp]#<BR>> *********************************************************************<BR>> in the absence of "syslog-ng" daemon I was easily able to <BR>> restart the "setroubleshootd" daemon<BR>> [root@svllgg181 tmp]# /etc/init.d/setroubleshoot restart<BR>> Stopping setroubleshootd: [ OK ]<BR>> Starting setroubleshootd: [ OK ]<BR>> [root@svllgg181 tmp]#<BR>> **************************************************************<BR>> *****************************<BR>> Now I started the "syslog-ng" daemon<BR>> [root@svllgg181 tmp]# ps -eaf |grep -i syslog-ng<BR>> root 2718 1 0 10:59 ? 00:00:00 syslog-ng<BR>> root 2746 2597 0 11:00 pts/0 00:00:00 grep -i syslog-ng<BR>> [root@svllgg181 tmp]#<BR>> **************************************************************<BR>> ***************************<BR>> And I tried to start the "setroubleshoot", now
it gives error.<BR>> <BR>> [root@svllgg181 tmp]# /etc/init.d/setroubleshoot restart<BR>> Stopping setroubleshootd: [ OK ]<BR>> Starting setroubleshootd: [ OK ]<BR>> [root@svllgg181 tmp]# Traceback (most recent call last):<BR>> File "/usr/sbin/setroubleshootd", line 59, in ?<BR>> from setroubleshoot.config import cfg<BR>> File <BR>> "/usr/lib/python2.4/site-packages/setroubleshoot/__init__.py",<BR>> line 24, in ?<BR>> log_init(sys.argv[0])<BR>> File <BR>> "/usr/lib/python2.4/site-packages/setroubleshoot/log.py", <BR>> line 127, in log_init<BR>> syslog = logging.handlers.SysLogHandler(address='/dev/log')<BR>> File "/usr/lib64/python2.4/logging/handlers.py", line 602, <BR>> in __init__<BR>> self._connect_unixsocket(address)<BR>> File "/usr/lib64/python2.4/logging/handlers.py", line 617, <BR>> in _connect_unixsocket<BR>> self.socket.connect(address)<BR>> File "<STRING>", line 1, in connect<BR>> socket.error:
(13, 'Permission denied')<BR>> [root@svllgg181 tmp]#<BR>> <BR>> [root@svllgg181 tmp]# /etc/init.d/setroubleshoot restart<BR>> Stopping setroubleshootd: [FAILED]<BR>> Starting setroubleshootd: [ OK ]<BR>> [root@svllgg181 tmp]# Traceback (most recent call last):<BR>> File "/usr/sbin/setroubleshootd", line 59, in ?<BR>> from setroubleshoot.config import cfg<BR>> File <BR>> "/usr/lib/python2.4/site-packages/setroubleshoot/__init__.py",<BR>> line 24, in ?<BR>> log_init(sys.argv[0])<BR>> File <BR>> "/usr/lib/python2.4/site-packages/setroubleshoot/log.py", <BR>> line 127, in log_init<BR>> syslog = logging.handlers.SysLogHandler(address='/dev/log')<BR>> File "/usr/lib64/python2.4/logging/handlers.py", line 602, <BR>> in __init__<BR>> self._connect_unixsocket(address)<BR>> File "/usr/lib64/python2.4/logging/handlers.py", line 617, <BR>> in _connect_unixsocket<BR>> self.socket.connect(address)<BR>> File "<STRING>",
line 1, in connect<BR>> socket.error: (13, 'Permission denied')<BR><BR>Please show how is /dev/log configured in your syslog-ng.conf<BR><BR>I suppose you're using unix-dgram not unix-stream, and the program<BR>you're trying to use doesn't handle this case.<BR><BR>Regards,<BR><BR>Sandor<BR>--------------------------------------------------------<BR><BR>NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.<BR></BLOCKQUOTE><BR><p> 
<hr size=1>
Yahoo! Mail is the world's favourite email. Don't settle for less, <a
href="http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html">sign up for your free
account today</a>.