do you have selinux enabled? What does /var/log/messages show?  <br><br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 12:43 PM, Paul Reilly <span dir="ltr"><<a href="mailto:pareilly@tcd.ie">pareilly@tcd.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br><br>I've a new stock 6.1 box, and having some trouble with rsyslog.<br>I've added some additional syslog facilities to log to different files.<br>
In my /etc/rsyslog.conf  I have entries for<br><br><span style="font-family:courier new,monospace">local1.*        /logs/app1.log</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">local2.*        /logs/app2.log</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
</span><br>These files exist already, with 755 permissions. However when I restart rsyslogd, I get the following errors:<br><br><span style="font-family:courier new,monospace">Sep 21 17:29:23 sys rsyslogd-2039: Could no open output file '/logs/app1.log' [try <a href="http://www.rsyslog.com/e/2039" target="_blank">http://www.rsyslog.com/e/2039</a> ]</span><br>

<span style="font-family:courier new,monospace"><br></span>If I remove the log files, rsyslogd  does not create them, which is what I would have expected.<br>Any ideas what the problem is?<br><font color="#888888"><br>Paul<br>
<br>
</font><br>_______________________________________________<br>
rhelv6-list mailing list<br>
<a href="mailto:rhelv6-list@redhat.com">rhelv6-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rhelv6-list" target="_blank">https://www.redhat.com/mailman/listinfo/rhelv6-list</a><br>
<br></blockquote></div><br>