Amavisd and clamd startup on boot

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Mar 4 04:50:25 PST 2004


On Thu, Mar 04, 2004 at 10:16:38AM +0200, Gareth Bailey wrote:
> I have recently installed postfix, amavisd-new, clamd.
> 
> I have amavisd.sh, clamav-clamd.sh and clamav-freshcalm.sh in my /usr/local/etc/rc.d directory.
> 
> Neither clamd nor amavisd seem to start on boot.
> 
> Please let me know what i am doing wrong?

Did you read those .sh files? Those startup scripts (well, the first
two at least: I can't find the third one -- unless you actually mean
clamav-*freshclam*.sh) are all RCng enabled, and you need to put entries into
/etc/rc.conf to enable them:

    amavisd_enable="YES"
    clamav_clamd_enable="YES"
    clamav_freshclam_enable="YES"

Also, did you edit /usr/local/etc/clamav.conf to set things up for
your local system?  Did you take out the 'Example' line, which
prevents clamd from starting up?

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040304/9c6ffb6d/attachment.bin


More information about the freebsd-questions mailing list