Page 1 of 1

[Solved] Clamav deamon

PostPosted: May 19th, '21, 23:03
by Spinnifex
Hello

Can someone explain what the clamav deamon does?
I read something about clamav and how to use it. Is there a reason to install
Code: Select all
clamav-deamon

Second I read to update the clamav database I need to stop the clam freshclam service?
I have never done this. I only use
Code: Select all
freshclam

as admin.
Should I have to stop the service?

Regards
Spinnifex

Re: Clamav deamon

PostPosted: May 19th, '21, 23:28
by doktor5000
We don't have a clamav-daemon package at all, it's called clamd. From the man-page:
man clamd wrote:NAME
clamd - an anti-virus daemon

SYNOPSIS
clamd [options]

DESCRIPTION
The daemon listens for incoming connections on Unix and/or TCP socket and scans files or directories on demand. It reads the configuration from /etc/clamd.conf

This is usually used with e.g. mail servers to scan incoming/outgoing mails.

And freshclam is usually run via clamav-freshclam.service which when enabled will automatically run freshclam during bootup. It can also be manually run
Code: Select all
systemctl restart clamav-freshclam.service

Re: Clamav deamon

PostPosted: May 20th, '21, 22:24
by Spinnifex
Hello

So to enable the freshclam service do I need the clamd?
I found the service via MCC with stopped state.

So do I only need to install clamd and start the service?
I read about the config file of the clam deamon and setting up a port
to listen to. Do I need this setup?

regards

Re: Clamav deamon

PostPosted: May 21st, '21, 00:44
by doktor5000
You don't mention what you need at all, nobody knows if you need that setup.
freshclam is not enabled by default like majority of other additionally installed services, if you want to use it you have to enable it.

Re: Clamav deamon

PostPosted: May 23rd, '21, 15:30
by Spinnifex
hello

I only want updates for clamav without
call
Code: Select all
freshclam


And do I need the clamd for that.

Regards

Re: Clamav deamon

PostPosted: May 23rd, '21, 16:01
by doktor5000
No, as mentioned you only need to enable or restart clamav-freshclam.service for updates.

Re: Clamav deamon

PostPosted: May 23rd, '21, 16:29
by Spinnifex
thanks