Clamav error
Clamav error
Can't receive incoming message due to the following error.
The directory doesn't even exist so i created it and started working, but after system reboot the directory is deleted.
What could be the problem?

Code: Select all
clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
What could be the problem?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Clamav error
Have you tried to search? I think you can just create that file or check permission.
Re: Clamav error
Yes i searched and you are right i can create it, i created the folder clamav inside /var/run then chown it to clam:clam then mail starts to come into my mailbox. BUT once i restart my vps, the folder i created and chowned disappears.
Re: Clamav error
I was able to fix my problem by changing the default path for the sock and pid. Instead of var/run/clamav i changed it to /var/log/clamav both in clamd.conf and exim config.
Question:
Will this pose a problem or security danger ?
Question:
Will this pose a problem or security danger ?
Re: Clamav error
It's extremely unlikely.pandabb wrote:Question:
Will this pose a problem or security danger ?