Problems with my pipe
Wally Winchester
wally_winchester at fastmail.fm
Wed Feb 8 11:30:17 UTC 2006
On Wed, 08 Feb 2006 11:23:27 +0000, "Andy Green" <andy at warmcat.com>
said:
> Wally Winchester wrote:
>
> > Well, I can see that syslog-ng has hold of my pipe, so I'm confused as
> > to why logger cannot do anything useful with it.
> > echo "test" > testpipe
> > works fine
> > logger -u testpipe "test"
> > fails :/
>
> What does a tail of
>
> /var/log/audit/audit.log
>
> have to say?
>
> -Andy
It says nothing.
strace shows:
connect(3, {sa_family=AF_FILE, path="/tmp/testpipe"}, 110) = -1
ECONNREFUSED (Connection refused)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fed000
write(1, "connect: Connection refused.\n", 29connect: Connection
refused.
) = 29
munmap(0xb7fed000, 4096) = 0
exit_group(1) = ?
--
Wally Winchester
wally_winchester at fastmail.fm
--
http://www.fastmail.fm - The professional email service
More information about the fedora-list
mailing list