On Fri, 2004-04-23 at 16:25, Todd Lyons wrote:
> B. van Ouwerkerk wrote:
> > 
> > On my system I had to chmod /var/run/clamav to 700 owned by 
> > clamav:clamav. You have that dir set to 755. I'm not sure this will work 
> > exactly the same on all distro's but on Slackware this works just fine.
> 
> It works fine at mode 755.  If you're using an 
> /etc/sysconfig/clamav-milter config file, you could be specifying it on 
> the commandline which will override the config file settings:
> 
> [EMAIL PROTECTED] root]# ps ax | grep clamav-milter | grep -v grep
>   6090 ?        S      4:07 clamav-milter --config-file=/etc/clamav.conf 
> --max-children=20 --quiet -ol local:/var/clamav/clmilter.socket
> 

Well, I may be making progress.
Based upon someone's suggestion, I had been keeping the clamav-milter
execution script in /etc/rc.d/init.d/.  I copied it to /usr/sbin, with a
link to it in /usr/local/sbin.  I made sure the permissions were the
same as the test of the files there (755).  Now, when I try to execute
it, I get the following:

[EMAIL PROTECTED] log]# clamav-milter start
Starting clamav-milter: Usage: /usr/sbin/clamav-milter
{start|stop|reload|restart|condrestart|status}
                                                           [FAILED]

It looks like it's actually trying to start something now, though
failing.

I did an strace, and found that it was looking for a file
"initscripts.mo" in the US locale directories.  Searching for the file,
I seemed to have a copy almost everywhere *except* in the US.  I first
linked to one in the UK directory; the "[FAILED]" message then appeared
in Cyrillic.  Linking to a copy in /var/log changed nothing.  According
to yum, I have the latest initscripts package installed.  Ignoring that,
I redid an strace; for those interested the text is here:

http://www.the-leveys.us:6080/clamav-milter-strace.txt

I am not good at reading these, so I don't see what else might be
wrong.  Any suggestions are welcome.
 -Don







-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to