[syslog-ng] syslog-ng not opening file specified in source

Vinay Kalkoti kalkoti.vinay at gmail.com
Thu Mar 12 16:26:48 CET 2009


Hi,

I am using syslog-ng 2.0.10 on suse 10 sp2.

my syslog-ng.conf file looks like this -

source tcp_src { file("/tmp/log"); };
destination tcp_dest { tcp("<ip>" port(514)); };
log { source(tcp_src); destination(tcp_dest); };

i have given rw permissions to my file /tmp/log.

I did strace syslog-ng -f syslog-ng.conf.  Here is where it is failing -

open("/tmp/log", O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission denied)

Any help is appreciated.

Thanks,
Vinay


More information about the syslog-ng mailing list