LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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



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

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

All times are GMT -5. The time now is 01:37 PM.

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
Open Source Consulting | Domain Registration