<div dir="ltr">Hi <br><br>it is me again <br><br>no one had answered my previous questions until now but i 'll never loose hope so here is another one<br><br><br>I am killing my self to add a file as a source driver in syslog-ng <br>
<br>repeat i installed 1.6.12-76.2 in open suse 11.0 <br><br>i used <br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">source my_src {<br>
<br>#internal();<br> <br> #file("/var/log/apache2/error_log");<br> #perm(0666);<br><br> #unix-dgram("/dev/log"); <b>see i tried alot of thing before i asked you</b><br>file("/var/lib/mysql/mysqld.log"); <br>
<br><br> <br> <br>};</blockquote><div>and here is the error <br></div><br>Shutting down syslog services done<br>Re-Starting syslog servicesError opening file /var/lib/mysql/mysqld.log for r<b>eading (Permission denied)</b><br>
Error initializing configuration, exiting.<br><br><br>I also tried to change the file's permission<br><br>by the way <br><br>is this the best way to log mysql arror log to a syslog client <br><br>thks <br></div>