[syslog-ng] Problems writing to a file if destination is not /var/log

Luc Evers lucevers at gmail.com
Mon Apr 23 15:35:13 CEST 2007


Before I used Suse 10.0 ( syslog-ng-1.6.8-3.2) , the router logfiles were
send to another directoy /log/syslog.
Via php-syslog-ng, the messages were also send via a pipe to a MySql
database. -> no problems.

Now I setup a new server withe Suse 10.2 (syslog-ng-1.6.11-23) but the
logfiles outsite /var/log are not working:
I get a Permission denied message, also no permission to write to the
/var/log/pipe connection (php-ssylog-ng).
When I send the log messages to another directory/file in /var/log than it

How can I solve the permission problem?


A chmod like 777 don't help, its like the daemons checks if the directory
/var/log used +
pipes or links are not allowed!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070423/76d06daf/attachment.html

More information about the syslog-ng mailing list