[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng]FIFO / pipe destination problem
From:       Mike Tremaine <mgt () stellarcore ! net>
Date:       2005-02-15 1:32:32
Message-ID: 1108431152.3435.103.camel () dwarfstar ! stellarcore ! net
[Download RAW message or body]

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]



_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic