amancalledhawk 2 Posted January 13, 2018 Report Share Posted January 13, 2018 Hi again, When we enable the "scan uploads", we are getting the following error: "Unable to perform anti virus scan: the "clamscan" utility is not available on this system." Running cPanel & WHM, I assumed that it meant the ClamAV Scanner that comes with the system. If someone has a way of fixing this, please let me know. We are using v.6.9.3 if that helps. Quote Link to post Share on other sites
X2Isaiah 47 Posted January 24, 2018 Report Share Posted January 24, 2018 Where are you receiving this error (e.g. as a 500 error, in your terminal, etc)? Quote Link to post Share on other sites
amancalledhawk 2 Posted January 26, 2018 Author Report Share Posted January 26, 2018 On our desktops when we access X2. It gives no other info other than what I have posted. Quote Link to post Share on other sites
raretechs 0 Posted June 30, 2022 Report Share Posted June 30, 2022 I know this is late (today is June of 2022), however, if you are getting this error it's because X2 is looking for the clamscan command in the wrong location. For example mine was located at /usr/local/cpanel/3rdparty/bin/clamscan To fix this I had to modify /protected/components/behaviors/ClamScanBehavior.php line 64 - $testProc = proc_open('clamscan --help', $descriptor, $pipes); into $testProc = proc_open('/usr/local/cpanel/3rdparty/bin/clamscan --help', $descriptor, $pipes); Once I did that, it worked! I wish X2 would give you the ability to configure this in the app instead of having to modify core files. BTW I am running v8.3. Hope this helps someone else Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.