<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.5730.13" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2><SPAN class=082374106-04032011>Hi
Peter,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=082374106-04032011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=082374106-04032011>Thanks, disabling
apparmor really worked. Thank you very much</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#800080 size=2>Thanks and regards,</FONT></DIV>
<DIV><FONT face=Arial color=#800080
size=2><STRONG>Hidayath</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial color=#800080 size=2></FONT></STRONG> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=082374106-04032011> </SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
syslog-ng-bounces@lists.balabit.hu
[mailto:syslog-ng-bounces@lists.balabit.hu]<B>On Behalf Of </B>Peter
Czanik<BR><B>Sent:</B> Thursday, March 03, 2011 7:06 PM<BR><B>To:</B>
Syslog-ng users' and developers' mailing list<BR><B>Subject:</B> Re:
[syslog-ng] Permission Denied (13)<BR><BR></FONT></DIV>Hello,<BR><BR>On
03/03/2011 02:28 PM, Hidayath Basha wrote:
<BLOCKQUOTE cite=mid:NNEEJGHFADGOILPBHHKLOEPECDAA.hidayath.basha@saventech.com
type="cite">
<DIV><FONT face=Arial size=2>When I start the service at client, I'm getting
the following error<BR><FONT face="Courier New" size=3>Starting syslog
servicesError opening file for reading; filename='/some/file.log',
error='Permission denied (13)'<BR>Error initializing source driver;
source='s_mysrc'<BR>startproc: exit status of parent of
/sbin/syslog-ng: 2</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The file /some/file.log has -rw-rw-rw-
permissions</FONT></DIV><BR></BLOCKQUOTE>You should try to disable AppArmor
(rcapparmor stop), and if it helps, then add the file to
/etc/apparmor.d/sbin.syslog-ng<BR>Bye,<BR><PRE class=moz-signature cols="72">--
Peter Czanik (CzP) <A class=moz-txt-link-rfc2396E href="mailto:czanik@balabit.hu"><czanik@balabit.hu></A>
BalaBit IT Security / syslog-ng upstream
<A class=moz-txt-link-freetext href="http://czanik.blogs.balabit.com/">http://czanik.blogs.balabit.com/</A>
</PRE></BLOCKQUOTE></BODY></HTML>