cPanel & WHM Version 108 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

ClamAV Symbolic Link

George shared this idea 8 years ago
Open Discussion

When installing ClamAV using the correct method (via WHM --> Plugins), no symbolic link is created to /usr/local/cpanel/3rdparty/bin/freshclam or ln -s /usr/local/cpanel/3rdparty/bin/clamscan, meaning that 'freshclam' and 'clamscan' are essentially null. I don't particularly understand why you don't create this symbolic links as standard, during the initial installation of ClamAV.

I know you have a guide on doing so here:

I just think it's such a simple thing, that would be of massive benefit.

For example, some people install ClamAV and want to run a scan via SSH. They'll likely do a Google search for "run clamav scan" and end up running clamscan -r /home (for instance) and notice the command doesn't work.

There's also the benefit that when the symbolic link exists, maldet/LMD will pick up ClamAV's signatures for a faster and more effective malware scan and since Maldet is a very popular application, I can only think it would be helpful.

I know that everytime I personally install ClamAV, I install Maldet (or vice-versa) and I then have to manually set up symbolic links - which just seems unnecessary.

Replies (1)


I totally agree!

This should be done automatically so we don't have to setup the symbolic links on each new server we setup in order to get freshclam, clamscan commands to work.

Leave a Comment
Attach a file