Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Clamav error

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Clamav error
  • Quote

Post by pandabb » Fri Jan 29, 2016 8:43 am

Can't receive incoming message due to the following error.

Code: Select all

 clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
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?

Image
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: Clamav error
  • Quote

Post by pandabb » Sat Jan 30, 2016 1:19 pm

anyone have idea ? Thanks
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Clamav error
  • Quote

Post by tjebbeke » Sat Jan 30, 2016 2:09 pm

Have you tried to search? I think you can just create that file or check permission.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: Clamav error
  • Quote

Post by pandabb » Sat Jan 30, 2016 4:08 pm

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.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: Clamav error
  • Quote

Post by pandabb » Mon Feb 01, 2016 3:51 am

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 ?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Clamav error
  • Quote

Post by skurudo » Tue Feb 02, 2016 1:47 pm

pandabb wrote:Question:
Will this pose a problem or security danger ?
It's extremely unlikely.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password