Ask Your Question

I cannot install clamd

asked 2018-05-28 08:08:20 -0500

jackyjack gravatar image

I am using Fedora 28. I get an error that says "cannot open/parse the config file at etc/clamd.conf"

I would like to add a new configuration file, but I do not have permissions and do not know how to get around those.

It is very difficult for me to understand why Fedora has not made it easy to install security features. Come on guys. There is no excuse for this.

Chkrootkit, ClamAV, etc., should all be right there and available.

Can someone please tell me how I can get Clamd to work on Fedora 28? Thank you.

edit retag flag offensive close merge delete


Thank you for your response. I installed clamav via yum. Clamav is working, but clamd is not present because the configuration file is missing. In the place of a working configuration file is one called scan.clam at /etc/clamd.d/scan.clam.

I want to put a good configuration file into its proper place, but I cannot do that because of permission restrictions.

jackyjack gravatar imagejackyjack ( 2018-05-28 20:13:10 -0500 )edit

You can copy the /etc/clamd.d/scan.conf to /etc/clamd.conf and modify it so it works with the configuration you want, you have to use sudo to do so and also edit it with sudo vim /etc/clamd.conf

aeperezt gravatar imageaeperezt ( 2018-05-28 21:03:26 -0500 )edit

@aeperezt Do you mind to give me a set of commands to use in the terminal, step by step? Thanks!

jackyjack gravatar imagejackyjack ( 2018-05-29 04:56:01 -0500 )edit

Here you go

sudo cp /etc/clamd.d/scan.conf /etc/clamd.conf

Then edit with sudo or as root /etc/clamd.conf and remove comment out example and set you configuration as you normally do

aeperezt gravatar imageaeperezt ( 2018-05-29 10:54:52 -0500 )edit

Thanks again!

jackyjack gravatar imagejackyjack ( 2018-05-31 07:35:40 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-28 09:41:56 -0500

aeperezt gravatar image

How are you installing clamd Fedora provides Clamd, you could install it by issuing this on the terminal

sudo dnf install clamd  clamav-update

Tha will work on Fedora with full integration. Good Luck

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-05-28 08:08:20 -0500

Seen: 119 times

Last updated: May 28 '18