AXIGEN reports Filter ClamAV lstat() errors in logs

Article updated on 08 April, 2008

Description

ClamAV Filter fails to scan messages returning "[ERROR]: lstat() failed." in logs

Error cause

ClamAV filter cannot access and scan messages from AXIGEN queue due to insufficient system permissions.

Resolution

In order to solve this issue you need to configure ClamAV to run with axigen system user.
This can be done by editing the ClamAV configuration file /etc/clamd.conf or /etc/clamav/clamd.conf and add or edit the User configuration line to match the following line:

User axigen
This could also be solved by adding the clamav system user to axigen system group by issuing the following command on the machine running AXIGEN:

usermod -G axigen clamav

Applies to

OS: Linux, FreeBSD, OpenBSD, NetBSD, Solaris
Distros: RPM based distros, RPM based distros with gcc4, Slackware, Debian, Ubuntu, Gentoo, FreeBSD 5.4, NetBSD 3.0, OpenBSD 3.8, OpenBSD 3.9, Solaris 10 x86, FreeBSD 6.1, Mandriva Linux, DEB based distros with gcc4, Yellow Dog, Solaris 10 SPARC


Rate this article

1
2
3
4
5
(Best)

Comments

Enter your name: *
Your email address: *
Comments: *
Enter the code below:
  captcha
Fields marked with * are required