Hi all,
This is about an install of clamav on Debian testing and set up to run with 
qmail, according to the toaster. 
I have done this install a couple of times with no problems at all, working 
with simscan, but this install is giving problems.
This line appears in the qmail smtpd log:

clamdscan: error while loading shared libraries: libc.so.6: failed to map 
segment from shared object: Cannot allocate memory

/lib/libc.so.6 exists and has the same size and perms as other my Debian 
setups. Compilation goes fine, and there is nothing in config.log that sticks 
out. ld.so.conf is correct and the same as well. gcc et al are all from debian 
packages, everything uptodate.

freshclam is going fine.

I sent several EICAR test emails and all were delivered leaving the above error 
message, as do clean emails.

running clamdscan from the command line works, although it did not do so until 
I copied them out of vpopmail and set chmod 666

Simscan therefore looks like the stumbling block.

Here is it's configure:

./configure --enable-user=clamav \
    --enable-clamav=y \
    --enable-spam=n \
    --enable-ripmime=y \
    --enable-attach=y \
    --enable-received=y \
    --enable-per-domain=y \
    --enable-regex=y \
    --enable-dropmsg=y

Again, no problems compiling, it's all done by the same script I've used for 
the other installs, same users, same uid/gid, same everything AFAIK.

Upon inspection, the other installs have spamassassin installed but not used, 
too much cpu crunching for my kit.

Any Ideas?


-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------

Reply via email to