do you have selinux enabled? What does /var/log/messages show?

On Wed, Sep 21, 2011 at 12:43 PM, Paul Reilly <[email protected]> wrote:

> Hi,
>
> I've a new stock 6.1 box, and having some trouble with rsyslog.
> I've added some additional syslog facilities to log to different files.
> In my /etc/rsyslog.conf  I have entries for
>
> local1.*        /logs/app1.log
> local2.*        /logs/app2.log
>
> These files exist already, with 755 permissions. However when I restart
> rsyslogd, I get the following errors:
>
> Sep 21 17:29:23 sys rsyslogd-2039: Could no open output file
> '/logs/app1.log' [try http://www.rsyslog.com/e/2039 ]
>
> If I remove the log files, rsyslogd  does not create them, which is what I
> would have expected.
> Any ideas what the problem is?
>
> Paul
>
>
> _______________________________________________
> rhelv6-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv6-list
>
>
_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list

Reply via email to