[syslog-ng]FIFO / pipe destination problem

Mike Tremaine syslog-ng@lists.balabit.hu
Mon, 14 Feb 2005 17:32:32 -0800


On Mon, 2005-02-14 at 16:50, Howell, Matt wrote:

> When I run an strace on the file, I  get the following:
> 
> ...
> uname({sys="Linux", node="furw", ...})  = 0
> stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=130, ...}) = 0
> open("/tmp/mysql.pipe", O_RDWR|O_NONBLOCK|O_NOCTTY|O_LARGEFILE) = -1 EACCES (Permission denied)
> chown32("/tmp/mysql.pipe", 0, 0)        = -1 EACCES (Permission denied)
> chmod("/tmp/mysql.pipe", 0600)          = -1 EACCES (Permission denied)
> time(NULL)                              = 1108422581
> stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=130, ...}) = 0
> ...
> 
> 
> Does anyone have an idea of why syslog-ng cannot read my pipe?  I am open to ideas...

Are you running with selinux? If so type "dmesg" to get the error and
use it to adjust your policy. [Or setenforce 0 to prove that it is
indeed the problem]