X
X
X
X

Knowledge Base

HomepageKnowledge BaseHosting ManagementsDirectadminClamAV socket [] not found E...

ClamAV socket [] not found Error Solution

Hello

When cxs is installed, directadmin can usually give the following error.

ClamAV socket [] not found

You must install ClamAV (Clamavconnector on cPanel) or ensure clamd is running to use this product correctly

If the clamd socket is not automatically detected, and to clear this message, you must set clamdsock=/path/to/socket in /etc/cxs/cxs.defaults to the live socket location

You have to fix this error by following the steps below.

First of all, if clamav is not installed, follow the steps below in order.

cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav

After Clamav is activated

nano /etc/clamd.conf

You need to activate the /tmp/clamd.socket setting by applying the command

Press Ctrl + W to remove the # symbol at the beginning of the search for the word LocalSocket, press ctrl+x to save it.

Later on

Apply the nano /etc/cxs/cxs.defaults command and add the code echo clamdsock=/run/clamd.socket at the bottom

Save by pressing ctrl + x buttons and that's it.

regards

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(290 times viewed / 3 people found it helpful)

wp wp Top