LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2009, 05:03 PM   #1
sezam2
LQ Newbie
 
Registered: Feb 2009
Posts: 22

Rep: Reputation: 15
Unhappy ading new source in syslog-ng for appache error log


hellow

i tried to use local1 for apache error log but ( in syslog client)

my teacher asked me to create a new one

here what i did

/etc/syslog-ng/syslog-ng.conf

Code:
source my_src {

internal();

 file("/var/log/apache2/error_log");

};


But when i restart syslog it tels that it has not the permession to
open apache error log


linux-c4z2:/home/sami # rcsyslog restart
Code:
Shutting down syslog services                                        done
Re-Starting syslog servicesError opening file /var/log/apache2/error_log for reading (Permission denied)
Error initializing configuration, exiting.
startproc:  exit status of parent of /sbin/syslog-ng: 1

Could somene her tel me

1 is it the better way to replace the Errorlog syslog:local1 in /etc/apache2/mod_log_config.conf
because ia want to change it with Errorlog syslog:new_Facility
2 if no could some one help me because i am blocked here for more then 3 days .

thks
 
  


Reply


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
sending appache error to a syslog server sezam2 Linux - Networking 3 02-18-2009 04:39 PM
appache error: Permission access - on RHEL5 samengr Linux - Server 4 02-12-2009 05:49 AM
How to change Debian log rotation of syslog and daemon.log onmountain Linux - Newbie 2 07-31-2008 03:27 AM
I need help getting syslog to log remotely, this is just the regular syslog. abefroman Linux - Software 2 06-05-2008 12:36 PM
syslog client to log to syslog-ng and itself noir911 Linux - Server 1 02-08-2008 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:52 AM.

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