Page 1 of 1

cpanel filemanager problems with clamav

Posted: 02 Jun 2009, 19:15
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.

Posted: 03 Jun 2009, 10:29
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

Posted: 07 Jun 2009, 15:54
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