We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
ClamAV / Missing PID & Sock Files
-
- Posts: 6
- Joined: Sat Nov 05, 2016 10:27 pm
ClamAV / Missing PID & Sock Files
Like it says in the title, I am missing:
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]:
clamd.service
clam-freshclam.service
This works just fine.
Error: /var/log/clamav/clamd.log
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 =(
Code: Select all
PidFile /var/run/clamav/clamd.pid
LocalSocket /var/run/clamd.scan/clamd.sock
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
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
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.