I got a little problem.
Clamav dont take the new signatures files, I got no message, no error, nothing...
When I do a manual freshclam it udpate the database...
Any suggestion??
regards
ps -A | grep fresh/var/log/copfilter/default/etc/clamd_counter and
/var/log/copfilter/default/etc/clamd_counter.confTheTAZ57 wrote:in /tmp I got 162 files like clamav-(30digits) with differents sizes
*/5 * * * * root /usr/local/bin/copfilter_cronif [ $(cat $BASEDIR/etc/global_settings | grep CLAMD_UPDATE_METHOD |grep periodic) ] && [ -e $BASEDIR/etc/clamd_counter ]; then
if [ $(cat $BASEDIR/etc/clamd_counter) -gt 0 ]; then
echo $(($(cat $BASEDIR/etc/clamd_counter)-5)) > $BASEDIR/etc/clamd_counter
else
if [ -e /var/ipcop/red/active ]; then
$BASEDIR/opt/tools/bin/check-updates_clamav.sh
# reset counter variable
rm -f $BASEDIR/etc/clamd_counter
cp -p $BASEDIR/etc/clamd_counter.conf $BASEDIR/etc/clamd_counter
else
echo "no internet connection available, so no updates will be downloaded"
fi
fi
else
if [ $(cat $BASEDIR/etc/global_settings | grep CLAMD_ENABLE |grep on) ];then
echo "either CLAMD_UPDATE_METHOD is not periodic or clamd_counter doesn't exist"
fi
fi
*/5 * * * * /usr/local/bin/copfilter_cron >> /var/log/copfilter/default/opt/tools/var/log/copfilter_cron.log 2>&1if [ $(cat $BASEDIR/etc/global_settings | grep CLAMD_UPDATE_METHOD |grep periodic) ] && [ -e $BASEDIR/etc/clamd_counter ]; then
if [ $(cat $BASEDIR/etc/clamd_counter) -gt 0 ]; then
echo $(($(cat $BASEDIR/etc/clamd_counter)-5)) > $BASEDIR/etc/clamd_counter
else
if [ -e /var/ipcop/red/active ]; then
$BASEDIR/opt/tools/bin/check-updates_clamav.sh
# reset counter variable
rm -f $BASEDIR/etc/clamd_counter
cp -p $BASEDIR/etc/clamd_counter.conf $BASEDIR/etc/clamd_counter
else
echo "no internet connection available, so no updates will be downloaded"
fi
fi
else
if [ $(cat $BASEDIR/etc/global_settings | grep CLAMD_ENABLE |grep on) ];then
echo "either CLAMD_UPDATE_METHOD is not periodic or clamd_counter doesn't exist"
fi
fiReturn to English Copfilter Support
Users browsing this forum: No registered users and 0 guests