[clamav-users] prolem with freshclam when no sudo user is logged in the system
Richard
inbound-lists-clamav at listmail.innovate.net
Mon Dec 26 17:22:06 UTC 2022
> Date: Monday, December 26, 2022 13:46:54 +0000
> From: newcomer01 via clamav-users <clamav-users at lists.clamav.net>
>
> Hi There,
>
> now i have a small problem with freshlcam, when i run a freshclam
> query on @reboot with user cronjob
> (/var/spool/cron/cronjobs/USERNAME):
>
> Mon Dec 26 13:18:24 2022 -> --------------------------------------
> Mon Dec 26 13:18:24 2022 -> ClamAV update process started at Mon
> Dec 26 13:18:24 2022
> Mon Dec 26 13:18:24 2022 -> WARNING: Can't query
> current.cvd.clamav.net
> Mon Dec 26 13:18:24 2022 -> WARNING: Invalid DNS reply. Falling
> back to HTTP mode.
> Mon Dec 26 13:18:24 2022 -> Trying to retrieve CVD header from
> https://database.clamav.net/daily.cvd
> Mon Dec 26 13:18:24 2022 -> WARNING: remote_cvdhead: Download
> failed (6) Mon Dec 26 13:18:24 2022 -> WARNING: Message: Couldn't
> resolve host name
It looks like you have a DNS issue when this is trying to run. You
should look to see how/that dns is working on this machine. The
cronjobs run after the system startup so, in general, it shouldn't be
a timing issue but could be depending on how you have things set up.
The response that you get from a:
host -t txt current.cvd.clamav.net
command should look something like:
current.cvd.clamav.net descriptive text
"0.103.7:62:26762:1672074000:1:90:49192:333"
The *.clamav.net services run off a CDN so the IPnumbers can change
at will, so don't try to overcome your dns issue by putting something
in our resolve.conf.
More information about the clamav-users
mailing list