Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2010, 06:09 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Red face Problem with syslog-ng on SUSE11

I am encountering a probelm with syslog-ng after I upgraded SUSE to 11 (suse-1164

If I run the following commandline with the default syslog-ng.conf - logger -p local0.err "hello today", I am able to see the log message in /var/log/localmessages. But if I modify syslog-ng.conf with following statements -

destination localmessages { file("/home/mydirectory/myfile"); };
log { source(src); filter(f_local); destination(localmessages); };

then I won't see any log message in /home/mydirectory/myfile. Instead, I observe that there is an error message in /var/log/messages showing "Error opening file for writing; filename='/home/mydirectory/myfile', error='Permission denied (13)'".

This scenario works with SUSE 10. So I am wondering if I miss out some configuration or settings.

Anybody can help me out. Thanks a lot.
Old 10-20-2010, 06:37 PM   #2
Registered: May 2004
Location: Orlando, Florida
Distribution: SLES10/11, RH4/5 svrs, Fedora, Debian/Ubuntu/Mint; FreeBSD/OpenBSD
Posts: 63

Rep: Reputation: 26
My guess...AppArmor. But usually that is only seen on a fresh install, not an upgrade...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
urgent----installed suse11 mbr croution problem khushbu.smit Linux - Newbie 6 11-12-2009 08:33 AM
problem installing fortran77 on suse11 minaesm Linux - Software 54 03-01-2009 11:14 AM
Open Suse11 RC wifi/ndiswrapper problem slacard SUSE / openSUSE 2 06-13-2008 06:35 PM
I need help getting syslog to log remotely, this is just the regular syslog. abefroman Linux - Software 2 06-05-2008 11:36 AM
LXer: Centralized Syslog Server Using syslog-NG LXer Syndicated Linux News 0 04-28-2006 06:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration