clamd corrupt error after update

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

clamd corrupt error after update

Unread post by modom46 »

Code: Select all

==> /usr/local/psa/var/log/maillog <==
Jan 24 12:05:50 godslove X-Qmail-Scanner-2.02st: [godslove.designhosting.biz123281674979116948] clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2 
Hi,

Can someone please tell me how to fix this error? I have checked the ownerships and permissions but still this error.

Thank you!
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

I got that clamd error fixed ... was my fault.

However, I do see this line in in /usr/local/psa/var/log/maillog:

Code: Select all

Jan 24 12:24:09 godslove X-Qmail-Scanner-2.02st: [godslove.designhosting.biz123281784879121085] cannot create /var/spool/qscan/quarantine//var/spool/qscan/quarantine/spam - No such file or directory 
I ran it again and cannot find this error and my files are there:
drwxr-xr-x 5 qscand qscand 4096 Mar 26 2008 quarantine

and in quarantine there are these:
drwxr-xr-x 5 qscand qscand 4096 Apr 23 2008 policy
drwxr-xr-x 5 qscand qscand 4096 Apr 23 2008 spam
drwxr-xr-x 5 qscand qscand 4096 Apr 23 2008 viruses

Am I missing something?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

thats definitely the wrong path all right, should only be /var/spool/qscan/quarantine/...

No idea how you did that, you're going to have to get into the code and root around I think
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

Do you know what file or files have this listing duplicated or what command I could do to search for that path in the whole server?

My /etc/qmail-scanner.ini file has these:
# qmail-scanner settings
QMAILSCANNERHOME="/usr/share/qmail-scanner"
SPOOLDIR="/var/spool/qscan"
SPAMDIR="/var/spool/qscan/quarantine/spam"

QS_USER="qscand" # default is qscand
QS_GROUP="qscand" # default is qscand
NOTIFY="none" # [none|sender|recips|precips|admin|nmladm|nmlvadm|all] (defaults to "psender,nmlvadm")
ARCHIVE="no" # [yes|no|regex]
FIX_MIME="2" # [yes|no|num], try "1" if blocks occurring due to this setting
IGNORE_EOL_CHECK="no" # [yes|no]
ADD_DESC_HEADERS="no" # [yes|no|all], old-fashion X-Qmail-Scanner, "all" adds rcpt to headers
DEBUG="no" # [yes|no]
MINIDEBUG="1" # [yes|no|1|2]
SETTINGS_PER_DOMAIN="yes" # [yes|no]
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

I found this post here and made the changes and don't see that quarantee error.

In qmail-scanner.ini set SPAMDIR to /spam

So far so good.
Post Reply