Antony Stone wrote:

On Thursday 04 December 2003 7:29 pm, Luciano wrote:


Hello

I have a problem and I installed a MailScanner and the Clamav six time and
the RH9, three.

In the maillog, when MailScanner analyzes the message (a mail with
eicar.com attached), it write

***Dec  4 17:25:18 mailx MailScanner[5354]: ERROR: Unable to create
temporary directory. ***

I wrote to Julian Field, from MailScanner, and he told me this message
isn't present in source of MailScanner so must be a message from Clamav.

If I change the 'Virus Scanner' in MailScanner.conf to none, the error not
happen.


Do you have a /tmp directory on your system?

Do the permissions on this directory allow the clamav user to write to it?

Do you have the $TMPDIR environment variable set? (If so, what is it)?

It is not difficult to find the text of this error message in the ClamAV source code, and to identify which section of the code can produce it. It is also fairly self-explanatory - it says that ClamAV was unable to create itself a working directory in /tmp (or wherever your system has allocated for temporary usage by applications).
In the current CVS tree, the only code path to produce this error message is while loading a CVD, accompanied with an error message _where_ that directory can't be created.
From that findings I suspect that Luciano uses some older snapshot/release (at least before 0.65). So please upgrade.

It is almost certainly a permissions problem.
Yep.

Antony.


Thomas



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to