Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: Michail Pappas on June 19, 2020, 01:23:30 PM
-
SME 9.2, followed instructions under the wiki entry at https://wiki.contribs.org/Clamav_unofficial_sigs (I did create an account).
I'm getting the following error from the cron job:
Subject: Cron <root@mail> [ -x /usr/sbin/clamav-unofficial-sigs.sh ] && /bin/bash /usr/sbin/clamav-unofficial-sigs.sh
======================================================================
ERROR: clam database directory (clam_dbs) not writable /var/lib/clamav
======================================================================
I could not find this directory /var/lib/clamav, only /var/lib/clamav-unofficial-sigs/ exists, with clam-update:clam-update permissions.
-
More info: running clamav-unofficial-sigs.sh for the first time manually, throws error:
# clamav-unofficial-sigs.sh
################################################################################
eXtremeSHOK.com ClamAV Unofficial Signature Updater
Version: v7.0.1 (2020-01-25)
Required Configuration Version: v91
Copyright (c) Adrian Jon Kriel :: admin@extremeshok.com
################################################################################
Loading config: /etc/clamav-unofficial-sigs/master.conf
Loading config: /etc/clamav-unofficial-sigs/os.conf
Loading config: /etc/clamav-unofficial-sigs/user.conf
======================================================================
ERROR: clam database directory (clam_dbs) not writable /var/lib/clamav
======================================================================
-
It seems one has to edit file /etc/clamav-unofficial-sigs/os.conf and change these lines:
# RHEL/CentOS 6
clam_user="clam"
clam_group="clam"
clam_dbs="/var/lib/clamav"
to:
# RHEL/CentOS 6
clam_user="clamav"
clam_group="clamav"
clam_dbs="/var/clamav"
If Daniel reads this, perhaps he can confirm the correctness of the lines mentioned above.
-
https://bugs.contribs.org/show_bug.cgi?id=9863#c8
-
https://bugs.contribs.org/show_bug.cgi?id=9863#c8
Thanks mate, it seems the wiki entry needs some editing then. I'll try to do it over the next days.