<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
On 20/07/2010 21:24, Gavin Silver wrote:
<blockquote
cite="mid:AF3B610E0140EA4C9D8C9D50ECF75D9201BFD4D49558@galvatron"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal">centos 4.5<o:p></o:p></p>
<p class="MsoNormal">rpm install<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">followed docs to download and install all the
dependencies
including clamav</p>
</div>
</blockquote>
That means it probably couldn't find clamdscan, which should be part of
the ClamAV RPMs the docs told you to download. When logged in as root,
what do you get from a "which clamdscan" command?<br>
<br>
The error return code 2 implies an error occurred during virus
scanning. Put some files (anything will do for a test) into
/var/zendto/incoming, then "chown apache.apache /var/zendto/incoming/*"
and run a command such as<br>
clamdscan /var/zendto/incoming/*<br>
and see what it says.<br>
<br>
If it says "acccess denied" lots of times then what might be wrong is
that the clamav group may need adding to the apache group in
/etc/group. Find the line in /etc/group starting with "apache" and add
"clamav" to the end of it. Then run the command "grpconv" to build the
shadow file. Then "service clamd restart" and then try clamdscan again.<br>
<br>
If it still complains that it couldn't read files, then you either need
to
disable SELinux or configure it correctly so it can read the files
under /var/zendto/incoming. I don't know much about SELinux so you're
on your own a bit there, hopefully Google will help.<br>
<br>
When you find the solution, please let me know so that I can add it to
the docs.<br>
<br>
Once you have got "clamdscan /var/zendto/incoming" working, you should
be there.<br>
<br>
Thanks,<br>
Jules.<br>
<blockquote
cite="mid:AF3B610E0140EA4C9D8C9D50ECF75D9201BFD4D49558@galvatron"
type="cite">
<div class="Section1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">getting: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<table class="MsoNormalTable"
style="border-style: solid none; border-color: rgb(0, 0, 64) -moz-use-text-color; border-width: 1.5pt medium; width: 50%;"
width="50%" border="1" cellpadding="0">
<tbody>
<tr>
<td style="border: medium none ; padding: 0.75pt;">
<p class="MsoNormal"><b><span
style="font-size: 9pt; font-family: "Times New Roman","serif"; color: rgb(0, 0, 64);">Upload
Error<o:p></o:p></span></b></p>
</td>
</tr>
<tr>
<td style="border: medium none ; padding: 0.75pt;">
<p class="MsoNormal" style="text-align: justify;"><span
style="font-size: 7.5pt; font-family: "Times New Roman","serif"; color: rgb(0, 0, 64);">The
attempt to virus-scan your drop-off failed. Please contact your
administrator for assistance.<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);">after the file
uploads<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);">Where should I
start looking first?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; color: rgb(31, 73, 125);">----------------------------<br>
Gavin Silver<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zendto.com">ZendTo@zendto.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.ZendTo.com">www.ZendTo.com</a>
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
</pre>
</body>
</html>