[Avcheck] RE: AVP check
Johan de Vries
johan_de_vries@bravilor.com
Tue, 11 Sep 2001 09:39:18 +0200
This is the startscript i use
/usr/bin/env - HOME=/ \
/bin/nice \
/var/spool/avp/uchroot -u avpd /var/spool/avp \
#./AvpDaemon -dl -f=/ctl /tst > /dev/null
./AvpDaemon -dl -f=/ctl /tst
There are no changes made here
I was working on the update script:
cd /var/spool/avp
> ./ok
/var/spool/avp/AvpUpdater -y -kb -b=/var/spool/avp/bases
-ui=http://downloads1.kaspersky-labs.com/updates > ./ok
chmod 644 /var/spool/avp/bases/* > /dev/null
chmod 755 /var/spool/avp/bases > /dev/null
/usr/sbin/postfix stop
sleep 2
/var/spool/avp/stopdaemon
sleep 2
/var/spool/avp/startdaemon
sleep 2
/usr/sbin/postfix start
echo >> ./ok
echo De virusupdate is gereed >> ./ok
mail -s Kaspersky port@bravilor.com < ./ok
Johan de Vries wrote:
>
> Hi
>
> My setup with AVP check was working fine until i touched it (My mistake)
>
> Now i get the message:
> uchroot: unable to execute /bin/false: No such file or directory
>
> Then the daemon starts and gives the notice:
> Nothing to scan.
> You should select at least one directory to scan.
> Press <Enter> to continue
Look into a startup script you use to run things (probably
post it here) -- it is incorrect. I suspect some CR/LF <=> LF
(lineendings) problems.