Bin Clamdscan Error
Contents |
run ISPConfig on an Ubuntu Dapper machine using perfect setup. I had no issues until (like other forum members) large server loads and spam taking forever to scan was clamdscan lstat() failed: permission denied. error eating all the system resources, so I switched over to clamd per the clamdscan permission denied instructions here on the forum. It worked fine, but I was getting notified that my version of clamd was clamdscan access denied error old. I upgraded to the volatile version by adding this line to my sources.list: deb http://ftp2.de.debian.org/debian-volatile sarge/volatile main and running apt-get dist-upgrade This seemed to work, resolving the "out of date" clamscan vs clamdscan message, but now my emails are not being successfully scanned. The following is from my mail headers: X-Virus-Status: Failed X-Virus-Report: /usr/bin/clamdscan error 127 X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / Everything else about the server seems to be functioning fine. I've searched this forum and googled until I'm blue in the face regarding error 127. I can't find a reference that will even tell
Error: Could Not Lookup : Servname Not Supported For Ai_socktype
me what it means. Any ideas where I can go from here? Christine Navarro cnavarro, Sep 23, 2007 #1 till Super Moderator Staff Member ISPConfig Developer What happens if you run the command: /usr/bin/clamdscan manually on the shell? till, Sep 23, 2007 #2 cnavarro New Member Hi, Till Running /usr/bin/clamdscan, I get: -bash: /usr/bin/clamdscan: No such file or directory Clamdscan on my machine is located at: /home/admispconfig/ispconfig/tools/clamav/bin/clamdscan so I ran that instead and the result is: connect(): No such file or directory WARNING: Can't connect to clamd. ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.191 sec (0 m 0 s) Christine cnavarro, Sep 23, 2007 #3 till Super Moderator Staff Member ISPConfig Developer You must install clamd from your linux distribution as described in the clamd tutorial in the tipps & tricks forum. You can not use the ISPConfig clamdscan binary. till, Sep 23, 2007 #4 cnavarro New Member till said: You must install clamd from your linux distribution as described in the clamd tutorial in the tipps & tricks forum. You can not use the ISPConfig clamdscan binary.Click to expand... I ha
by: Xavier
Clamav
Found in version 0.74-1 Done: Stephen Gran
» Configuration Issues » FIX! clamdscan: corrupt or unknown clamd scanner error « previous next » Print Pages: [1] Author Topic: FIX! clamdscan: corrupt or unknown clamd scanner error (Read 19625 times) LogicX https://www.tnpi.net/support/forums/index.php?topic=136.0 Wizard Posts: 126 Karma: +0/-0 FIX! clamdscan: corrupt or unknown clamd scanner error « on: March 24, 2004, 10:44:30 am » once again, I was getting this in my maillog, like many others:Mar 24 11:52:35 maranello X-Qmail-Scanner-1.21: [maranello.coleone.com108014715547061641] clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 2after reading lots of code, and figure out whats going on -- I'll give a summary, a choice of fixes, and permission denied what I decided to do and how I went about it.qmail has its user, vpopmail has its user, and apparently qmail-scanner has its own --the qmail scanner program tosses the incoming mail into /var/spool/qmailscan/tmpqmailscan, tmp, and the temp directory created in here, AND the temp file created in there are allowned by qscand:qscand-- CLAM Antivirus --has its own user/group -- clamav/clamavSolution 1:add clamav to qscand's group, and proceed to change all perms bin clamdscan error on/var/spool/qmailscan/tmp/*dynamically_created_dir*/*dynamically*created*file-- problem with this are those dynamically created dirs and files -- you'd have to edit the umask and do some chowns in the qmail-scanner perl -- you probably don't want to do that.Here's what I did -- since I only use clamav to scan mail, I didn't really care...edit /etc/clamav.conf set user to qscandchown -R qscand /var/run/clamav/usr/local/etc/rc.d/clamav-clamd.sh stop/usr/local/etc/rc.d/clamav-clamd.sh startas far as I can tell -- freshclam can keep running as clamav, keep writing the new definitions to /usr/share/clamav, and we'll just nicely watch that happen, and access it from qscand user.walla! no more qq mail failed sending errors Logged --- May this post be indexed by spiders, and archived for all to see as my internet epitaph.http://FPuX.com tick Jr Member Posts: 7 Karma: +0/-0 FIX! clamdscan: corrupt or unknown clamd scanner error « Reply #1 on: April 03, 2004, 04:12:14 pm » Thanks for that one That really saved my day Logged TheASP wiki Posts: 1 Karma: +0/-0 Re: FIX! clamdscan: corrupt or unknown clamd scanner error « Reply #2 on: May 09, 2004, 12:12:32 am » I registered an account just so I could post and say "THANK YOU!".ASP Logged LogicX Wizard Posts: 126 Karma: +0/-0 More changes -- Clamav 0.75 not running « Reply #3 on: July 07, 2004, 08:40