clamav-daemon.service - Clam AntiVirus userspace daemon failed to start

kdkl

New Member
Aug 5, 2021
4
0
1
30
clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/clamav-daemon.service.d
└─extend.conf
Active: failed (Result: exit-code) since Wed 2021-08-11 17:10:29 UTC; 2s ago
Docs: man:clamd(8)
man:clamd.conf(5)
https://www.clamav.net/documents/
Process: 98003 ExecStartPre=/bin/mkdir -p /run/clamav (code=exited, status=0/SUCCESS)
Process: 98004 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS)
Process: 98005 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE)
Main PID: 98005 (code=exited, status=1/FAILURE)
CPU: 14.283s

Aug 11 17:10:15 proxmox-gw systemd[1]: clamav-daemon.service: Consumed 6.375s CPU time.
Aug 11 17:10:15 proxmox-gw systemd[1]: Starting Clam AntiVirus userspace daemon...
Aug 11 17:10:15 proxmox-gw systemd[1]: Started Clam AntiVirus userspace daemon.
Aug 11 17:10:29 proxmox-gw clamd[98005]: ERROR: TCP: socket() error: Permission denied
Aug 11 17:10:29 proxmox-gw clamd[98005]: ERROR: TCP: socket() error: Permission denied
Aug 11 17:10:29 proxmox-gw clamd[98005]: ERROR: LOCAL: Socket allocation error: Permission denied
Aug 11 17:10:29 proxmox-gw clamd[98005]: Closing the main socket.
Aug 11 17:10:29 proxmox-gw systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=>
Aug 11 17:10:29 proxmox-gw systemd[1]: clamav-daemon.service: Failed with result 'exit-code'.
Aug 11 17:10:29 proxmox-gw systemd[1]: clamav-daemon.service: Consumed 14.283s CPU time.





`freshclam -v`

ClamAV update process started at Wed Aug 11 17:20:28 2021
Current working dir is /var/lib/clamav/
Querying current.cvd.clamav.net
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Current working dir is /var/lib/clamav/
check_for_new_database_version: Local copy of daily found: daily.cvd.
Trying to retrieve CVD header from https://database.clamav.net/daily.cvd
* getaddrinfo() thread failed to start

* Couldn't resolve host 'database.clamav.net'
* Closing connection 0
WARNING: remote_cvdhead: Download failed (6) WARNING: Message: Couldn't resolve host name
WARNING: Failed to get daily database version information from server: https://database.clamav.net
ERROR: check_for_new_database_version: Failed to find daily database using server https://database.clamav.net.
updatedb: daily database update failed.
Trying again in 5 secs...
check_for_new_database_version: Local copy of daily found: daily.cvd.
Trying to retrieve CVD header from https://database.clamav.net/daily.cvd
* getaddrinfo() thread failed to start

need help
 
Drop-In: /etc/systemd/system/clamav-daemon.service.d
└─extend.conf
what is in that file?


Aug 11 17:10:29 proxmox-gw clamd[98005]: ERROR: TCP: socket() error: Permission denied
seems there is a general problem with the system? - how is this setup - bare-metal? VM (on what hypervisor) ? - container?

WARNING: remote_cvdhead: Download failed (6) WARNING: Message: Couldn't resolve host name
seems there is also an issue with DNS
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!