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 / Missing PID & Sock Files

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
LouisIsMyDog
Posts: 6
Joined: Sat Nov 05, 2016 10:27 pm

ClamAV / Missing PID & Sock Files
  • Quote

Post by LouisIsMyDog » Sat Nov 05, 2016 10:40 pm

Like it says in the title, I am missing:

Code: Select all

PidFile /var/run/clamav/clamd.pid
LocalSocket /var/run/clamd.scan/clamd.sock
There is not clear documentation and this matter, I have scoured google.

I have three systemctl services. Three of them are [email protected], clamd.service, clam-freshclam.service.

[email protected]:

Code: Select all

[Unit]
Description = Generic clamav scanner daemon

[Install]
WantedBy = multi-user.target
clamd.service

Code: Select all

[Unit]
Description = clamd scanner daemon

# (%i) daemon
After = syslog.target nss-lookup.target network.target

[Service]
Type = simple
ExecStartPre = /usr/bin/mkdir -p /var/log/clamav/ 
ExecStartPre = /usr/bin/chown -R clam:clam /var/log/clamav/ 
ExecStart = /usr/sbin/clamd -c /etc/clamd.d/clamd.conf –nofork=yes 

# Removied %i from .conf above so /%i.conf
Restart = on-failure
PrivateTmp = true

[Install]
WantedBy=multi-user.target
clam-freshclam.service
This works just fine.

Error: /var/log/clamav/clamd.log

Code: Select all

Sat Nov  5 16:51:54 2016 -> Algorithmic detection enabled.
Sat Nov  5 16:51:54 2016 -> Portable Executable support enabled.
Sat Nov  5 16:51:54 2016 -> ELF support enabled.
Sat Nov  5 16:51:54 2016 -> Detection of broken executables enabled.
Sat Nov  5 16:51:54 2016 -> Mail files support enabled.
Sat Nov  5 16:51:54 2016 -> OLE2 support enabled.
Sat Nov  5 16:51:54 2016 -> PDF support enabled.
Sat Nov  5 16:51:54 2016 -> SWF support enabled.
Sat Nov  5 16:51:54 2016 -> HTML support enabled.
Sat Nov  5 16:51:54 2016 -> XMLDOCS support enabled.
Sat Nov  5 16:51:54 2016 -> HWP3 support enabled.
Sat Nov  5 16:51:54 2016 -> Self checking every 600 seconds.
Sat Nov  5 16:51:56 2016 -> Pid file removed.
Sat Nov  5 16:51:56 2016 -> --- Stopped at Sat Nov  5 16:51:56 2016
Sat Nov  5 16:51:56 2016 -> Socket file removed.
Ps. Please help. I have currently lowered my exim settings to allow emails that are not scanned by clamav. Help your fellow Vesta CP user from being owned by malicious software. I am feeling very vulnerable =(
Top


Post Reply
  • Print view
1 post • 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