Avast-1.3.0 Antivirus software

Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
mgolden
Posts: 94
Joined: Sun 10 Aug 2014, 21:15

#21 Post by mgolden »

I've managed to get AVAST running here as well.

Setting a value of 128000000 resulted in "An error occured in avast! engine: Invalid argument"

Setting a value of 256000000 resulted in an unable to allocate memory.

Slowly started incrementing the numbers and found the program would run when I reached 224000000.

Here is my rc.local:

#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...

if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
mkdir -p /mnt/sdb; mount -t ntfs /dev/sdb /mnt/sdb #pmount
/sbin/sysctl -w kernel/shmmax=224000000


And here are the last few lines from my wrapper-script.sh:

SHMMAX=`sysctl -n kernel.shmmax`
[ $SHMMAX -lt 224000000 ] && sysctl -w kernel.shmmax=224000000

AVAST4DATADIR=$HOME/.avast
export AVAST4DATADIR

$AVAST_PREFIX/bin/$programname "$@"

Post Reply