Hello all,

I'm running into a problem that is preventing me from progressing further
with a little project I'm working on.  I'm sure I've simply misconfigured
something, but I can't for the life of me interact with the clamd.ctl fifo
pipe.  The error I get when I try to push data to the pipe is: "No such
device or address" which is ENXIO (so it doesn't seem to be a permissions
problem, and I didn't get back a ENODEV so the file is definitely there).
In the paste output below, I set clamd.conf up with USER andrew so I could
test my script as my user.  I get the same behaviour when I su to clamav
(and change USER to clamav in clamd.conf).  Your input in this is greatly
appreciated.  I'm embarrassed to admit how long I've been banging my head
against this.

and...@holmhaae11:/etc/clamav$ cat /var/run/clamav/clamd.ctl
cat: /var/run/clamav/clamd.ctl: Permission denied

and...@holmhaae11:/etc/clamav$ echo "hello" >> /var/run/clamav/clamd.ctl
bash: /var/run/clamav/clamd.ctl: No such device or address

and...@holmhaae11:/etc/clamav$ ls -alt /var/run/clamav/clamd.ctl
s-wx-wx-wx 1 andrew andrew 0 2010-01-14 09:16 /var/run/clamav/clamd.ctl

and...@holmhaae11:/etc/clamav$ tail -n 10 /var/log/clamav/clamav.log
Thu Jan 14 09:16:40 2010 -> Limits: Files limit set to 10000.
Thu Jan 14 09:16:40 2010 -> Archive support enabled.
Thu Jan 14 09:16:40 2010 -> Algorithmic detection enabled.
Thu Jan 14 09:16:40 2010 -> Portable Executable support enabled.
Thu Jan 14 09:16:40 2010 -> ELF support enabled.
Thu Jan 14 09:16:40 2010 -> Mail files support enabled.
Thu Jan 14 09:16:40 2010 -> OLE2 support enabled.
Thu Jan 14 09:16:40 2010 -> PDF support enabled.
Thu Jan 14 09:16:40 2010 -> HTML support enabled.
Thu Jan 14 09:16:40 2010 -> Self checking every 3600 seconds.

Drew
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to