Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 20:38:08 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        freebsd-ports@freebsd.org
Cc:        derrick@uniquestrength.net, gkovesdan@t-hosting.hu
Subject:   Re: Help with Amavisd-new
Message-ID:  <20060509203808.73852114@Magellan.Leidinger.net>
In-Reply-To: <21140.204.156.6.2.1147100614.squirrel@www.uniquestrength.net>
References:  <21140.204.156.6.2.1147100614.squirrel@www.uniquestrength.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting derrick@uniquestrength.net (Mon, 8 May 2006 11:03:34 -0400 (EDT)):

> May  9 02:33:08 mail amavis[15471]: (15471-01) (!!) ask_av (ClamAV-clamd)
> FAILED - unexpected result:
> /var/amavis/tmp/amavis-20060509T023307-15471/parts: lstat() failed. ERROR\n
> 
> FreeBSD 6.1-RC i386 SMP-GENERIC
> amavisd-new-2.4.0,1 Performance-enhanced daemonized version of amavis-perl
> clamav-0.88.2       Command line virus scanner written entirely in C
> 
> 
> 
> Hi, I continue to get this error message with amavisd-new. I made sure
> that permissions were good on the directories. Anything I am missing.

Are you sure?

I don't remember the error message (and the above doesn't look like you
should do the following, but not AFAIR I searched for the problem for a
while), but maybe the following helps.

chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav;

If you use portupgrade I suggest to make sure
your /usr/local/etc/pkgtools.conf contains something similar to this:
---snip---
  BEFOREDEINSTALL = {
        'security/clamav' => '/usr/local/etc/rc.d/clamav-freshclam.sh stop; /usr/local/etc/rc.d/clamav-clamd.sh stop',
  }


  AFTERINSTALL = {
    'security/clamav' => 'chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav; /usr/local/etc/rc.d/clamav-freshclam.sh start; /usr/local/etc/rc.d/clamav-clamd.sh start',
  }
---snip---

Bye,
Alexander.

-- 
                   Press every key to continue.
http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060509203808.73852114>