<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 15/06/11 10:02, Jules wrote:
<blockquote cite="mid:4DF87511.5080701@Zend.To" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<br>
<br>
On 14/06/2011 17:35, Mark Hudson wrote:
<blockquote cite="mid:4DF78DDC.9070907@open.ac.uk" type="cite">
OK, I've had time to start again from scratch.<br>
<br>
So far so good! Seems impressive!<br>
<br>
Managed to get authentication against Active Directory to work.<br>
<br>
Had to modify php.ini to include timezone settings to avoid
strftime warnings all over the place<br>
<br>
Can't get clamdscan to behave - just displays the user an error
but nothing is written to the clam or the zendto logs<br>
</blockquote>
That's usually caused by SELinux or AppArmor, depending on what
distribution you use.<br>
On the command line, as root do<br>
clamdscan /var/zendto<br>
</blockquote>
<br>
[root@idris config]# clamdscan /var/zendto<br>
/var/zendto/dropoffs/Zp9W2yHNSNtAZ983: lstat() failed: Permission
denied. ERROR<br>
/var/zendto/dropoffs/TWYyX6ow5zsbUJww: lstat() failed: Permission
denied. ERROR<br>
/var/zendto/dropoffs/VEiaaKMpvTD5f9Qi: lstat() failed: Permission
denied. ERROR<br>
/var/zendto/dropoffs/hTVGce8kcY9EmKbt: lstat() failed: Permission
denied. ERROR<br>
<br>
<blockquote cite="mid:4DF87511.5080701@Zend.To" type="cite"> and see
what it says. If it spits permissions errors, that's usually
SELinux/AppArmor getting in the way, you can confirm this by
trying to clamdscan /root (when you're logged in as root).<br>
</blockquote>
<br>
[root@idris config]# clamdscan /root<br>
/root: lstat() failed: Permission denied. ERROR<br>
<br>
Yet SELINUX is configured to be permissive, not enforcing.<br>
<br>
[root@idris config]# getenforce <br>
Permissive<br>
<br>
<br>
This is on RHEL.<br>
<br>
Mark<br>
<font face="monospace"><br>
-- <br>
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).</font></body>
</html>