Cannot find Socket (/tmp/clamd)

Martin Hepworth maxsec at gmail.com
Wed Nov 19 16:28:51 GMT 2008


2008/11/19 Stef Morrell <stef at aoc-uk.com>:
> Rick Duval wrote:
>> Tailing the maillog I get
>>
>> Cannot find Socket (/tmp/clamd) Exiting!
>>
>> I'm using MailSCanner 4.68.8
>>
>> Can someone help me with this?
>
> You need to ensure that the settings in MailScanner.conf:
>
> # Clamd only: configuration options for using the clamd daemon.
> # 1. The port to use when communicating with clamd via TCP connection
> # 2. The Socket, or IP to use for communicating with the clamd Daemon.
> #    You enter either the full path to the UNIX socket file or the IP
> #    address the daemon is listening on.
> # 3. The ClamD Lock file should be created by clamd init script in most
> #    cases. If it is not then the entry should be blank.
> # 4. If MailScanner is running on a system with more then 1 CPU core (or
> #    more than 1 CPU) then you can set "Clamd Use Threads" to "yes" to
> #    speed up the scanning, otherwise there is no advantage and it
> should
> #    be set to "no".
> #
> # None of these options can be the filenames of rulesets, they must be
> just
> # simple values.
> Clamd Port = 3310
> Clamd Socket = /tmp/clamd
>
> Are the same as the settings in clamd.conf:
>
> # Path to a local socket file the daemon will listen on.
> # Default: disabled
> LocalSocket /tmp/clamd
>
> Regards
>
> Stef
> --
> Stefan Morrell          | Operations Director
> Tel: 0845 3452820       | Alpha Omega Computers Ltd
> Fax: 0845 3452830       | Incorporating Level 5 Internet
> stef at aoc-uk.com         | stef at l5net.net
>
> Standard Disclaimer: http://www.aoc-uk.com/16.asp
>
> Alpha Omega Computers Ltd, Unit 57, BBTC, Grange Road, Batley, WF17 6ER.
> Registered in England No. 3867142.  VAT No. GB734421454
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


Stef
and you're running clamd as what user? and is this user is consistent
with what you've got setup in MailScanner.conf?

-- 
Martin Hepworth
Oxford, UK


More information about the MailScanner mailing list