Re: samba-vscan & clamav (was: <no subject>)

Liew Toh Seng <linux_nic-l/[email protected]> Thu, 10 Jun 2004 15:26:40 +0800
Newsgroups gmane.comp.security.virus.openantivirus.general
Message-ID <[email protected]>
>
>
> Liew Toh Seng wrote:
>> can i know what is this mean and how i'm going to fix it....
>> Jun  9 14:15:27 rhel smbd_vscan-clamav[27777]: ERROR: can not connect 
>>  to clamd (socket: '/var/run/clamav/clamd')!
>> Jun  9 14:15:27 rhel smbd_vscan-clamav[27777]: ERROR: can not  
>> communicate to daemon - access denied
>
> Keep in mind:
>
> - clamd has to be run as root!
i have edited /etc/clamav.conf
disable the clamav user

#User clamav
User root


> - clamd socket (set the correct value in vscan-clamav.conf) must
>   be world read/writable
>
i configure the /etc/clamav.conf to disable clamav running on port..

# Path to the local socket. The daemon doesn't change the mode of the
# created file (portability reasons). You may want to create it in a 
directory
# which is only accessible for a user running daemon.
LocalSocket /var/run/clamav/clamd.sock

# Remove stale socket after unclean shutdown.
FixStaleSocket

# TCP port address.
#TCPSocket 3310

# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
#TCPAddr 127.0.0.1


but it still the same error message
Jun 10 15:23:39 rhel smbd_vscan-clamav[12837]: ERROR: can not connect 
to clamd (socket: '/var/run/clamav/clamd')!
Jun 10 15:23:39 rhel smbd_vscan-clamav[12837]: ERROR: can not 
communicate to daemon - access denied

[[email protected] clamav]# ps aux | grep clamd
root     12429  0.0  0.0 14348    4 ?        S    09:37   0:00 
/usr/sbin/clamd




>
> best regards
> Rainer Link
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> Openantivirus-discuss mailing list
> Openantivirus-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openantivirus-discuss



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org