cpanel filemanager problems with clamav

Discuss our MailScanner install script and MailScanner itself
Post Reply
leozim
Junior Member
Posts: 18
Joined: 30 May 2008, 14:35

cpanel filemanager problems with clamav

Post by leozim »

Hello,

I use mailscanner and clamav (not cpanel clamav connector). Last weeks, I have a new problem. When customer try to upload files using cpanel filemanager, file not save, investiganting, I found this error: Virus Detected; File not Uploaded! (No such file or directory)


Anybody already have this?

I already update cpanel, mailscnaner, clamav and not fix problem.

thanks for help.
Steven
Junior Member
Posts: 1
Joined: 03 Jun 2009, 10:02

Post by Steven »

I have the exact same problem.

After upgrading ClamAV via ConfigServer MailScanner Script to v0.95.1, I have a problem with my Cpanel filemanager.

When I want to upload a file, I always get a warning:
Virus Detected; File not Uploaded! (No such file or directory)


I just reported this via the Helpdesk, I keep you updated.


PS: WHM > plugins > clamavconnector is NOT installed. It is ClamAV with the ConfigServer MailScanner Script
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post by Sarah »

Make sure you have a clamd init file:

/etc/init.d/clamd

If this file does not exist, you will need to download a pre-v0.95 version of clamav from sourceforge and get the clamd init file from the /contrib/init/RedHat directory and copy it into your /etc/init.d/ directory.

Then run the following:

Code: Select all

chown root:root /etc/init.d/clamd
chmod +x /etc/init.d/clamd
chkconfig clamd on
service clamd restart
If that doesn't work, then try doing a forced clamav update. If that doesn't work, you might have to completely remove clamav and reinstall it (again make sure that your init file is still there) to get it working.

The commands to remove clamav are in this post:
showpost.php?p=3265&postcount=12

Regards,
Sarah
Post Reply