ClamAV Issue
Hi,
I'm trying to connect to the clamd socket (ClamAV installed with cPanel), but am not able to connect. I am using /var/clamd as the socket path. Is this correct, and if so, can you help me troubleshoot?
Thanks.
-
Hello :) Please keep in mind the path to clamd installed through cPanel is: /usr/local/cpanel/3rdparty/bin/clamd Could you elaborate further on the specific action you are taking? How can we reproduce the issue? Thank you. 0 -
I need to reference the clamav socket so that a 3rd party software can use it for scanning purposes. It worked when I manually installed clamav, but I can't get the 3rd party software to connect with cPanel's clamav. Is there a configuration setting that is perhaps different with the cPanel version? 0 -
Keep in mind sockets and binaries are different ;) My server has a socket at /var/clamd but I haven't verified if it's actually good for anything. The binary itself is where cPanelMichael indicated (/usr/local/cpanel/3rdparty/bin/clamd) [root@new /var]# stat clamd File: `clamd' Size: 0 Blocks: 0 IO Block: 4096 socket Device: fc03h/64515d Inode: 9049 Links: 1 Access: (0666/srw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-10-27 10:23:05.000000000 -0400 Modify: 2014-10-22 23:32:23.000000000 -0400 Change: 2014-10-22 23:32:23.000000000 -0400 [root@new /var]# stat /usr/local/cpanel/3rdparty/bin/clamd File: `/usr/local/cpanel/3rdparty/bin/clamd' Size: 166738 Blocks: 336 IO Block: 4096 regular file Device: fc03h/64515d Inode: 229491 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-10-27 06:21:43.000000000 -0400 Modify: 2014-06-19 10:16:24.000000000 -0400 Change: 2014-07-21 19:02:02.000000000 -04000 -
Good catch. I have the same file with the same stats. Running "netstat -a" shows /var/clamd listening, but I am not able to connect to it. This is not the case if I install a custom clamav version. There must be something different about the cPanel build. Any ideas? 0 -
Feel free to submit a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments