/etc/clamav.conf does not exist after install
I installed clamav on my Fedora Core 6 box and I don't have /etc/clamav.conf.
List of packages: Quote:
|
The ClamAV daemon package: "clamd" and AFAIK /etc/clamav.conf is replaced by /etc/clamd.conf.
|
I now have an /etc/clamd.conf file, but now I get the following error when I run "clamd" as root:
Quote:
Code:
## |
Code:
# Run as a selected user (clamd must be started by root). |
"clamd" now works, but I don't see it in chkconfig. How can I configure clamd to start at boot?
|
"man chkconfig" says "chkconfig servicename --level levels start", so "chkconfig clamd --level 345 start" would run it in the default network-enabled and multiuser runlevels.
|
I would love to do that, but I don't have a clamd to add to runlevels. :(
chkconfig --list: Code:
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off |
- Where did your Clamd RPM come from and what's the fullname ("rpm -q clamd")?
- Did you see any errors while installing the RPM? - Type "rpm -q clamd --scripts | grep chkconfig": does it show one or two lines with 'chkconfig' in it? - Type "grep chkconfig: /etc/rc.d/init.d/clamd": does it show one 'chkconfig' line? If not this should be fixed so add a bug report in FC's tracker. Now, to fix this locally: - open up the file in your favorite editor and - add a line "# chkconfig: 2345 61 39" below the shebang line (that's the "#!/bin/sh" one), - save, close file, - type "chkconfig --add clamd". To test this works type "chkconfig --list clamd". |
I tryed your suggestions and none of them made clamd appear in chkconfig. I'm going to file a bug and post it's number along with any other relavent info that I find. Thx 4 the help.
Edit: Bugzilla Bug 223906 if anyone is interested. |
All times are GMT -5. The time now is 03:20 AM. |