[clamav-users] Error: define server type (local and/or TCP). but LocalSocket is set

Reindl Harald h.reindl at thelounge.net
Sun Jul 24 00:39:34 UTC 2016



Am 24.07.2016 um 02:14 schrieb Scott Horton:
>> and you are sure that *this* config file is really used?
>
> I'm not terribly sure of anything <smile>. But I appreciate anyone helping
> me see the trees for the forest.
>
> This is what it says:
> [root at tn2 ~]# ps ax|grep clamd
>   695 ?        Ssl    0:09 /usr/sbin/clamd -c /etc/clamd.d/amavisd.conf
> --foreground=yes
>  1909 pts/0    R+     0:00 grep --color=auto clamd
>
> From  /etc/clamd.d/amavisd.conf, pasted below:
> ....
> # Path to a local socket file the daemon will listen on.
> LocalSocket /var/run/clamd.amavisd/clamd.sock ...

previously in the thread you said "My configuration file is located at 
/etc/clamd.d/scan.conf"

if you have "Unit clamd at amavisd.service entered failed" then "ps aux " 
would not show a running clamd - so hwat is this process and who started 
it? what says "systemctl list-units | grep clam"
_________________________________

BTW: you touched "/usr/lib/systemd/system/clamd at .service" while as user 
you have no business below /usr/lib/systemd as packages are not supposed 
to touch anything living below /etc/systemd/system which is suppose for 
overrides / replacements

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20160724/9dfbf8dd/attachment.sig>


More information about the clamav-users mailing list