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 "$@"
Avast-1.3.0 Antivirus software
Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
Jump to
- House Training
- ↳ Beginners Help ( Start Here)
- ↳ Users ( For the regulars )
- ↳ Für deutschsprachige Anhänger
- ↳ Pour les francophones
- ↳ Usuarios de habla Hispana
- ↳ HOWTO ( Solutions )
- ↳ Bugs ( Submit bugs )
- Advanced Topics
- ↳ Additional Software (PETs, n' stuff)
- ↳ Package Collections / Repositories
- ↳ REQUESTS
- ↳ Browsers and Internet
- ↳ Business
- ↳ Compiling
- ↳ Desktop
- ↳ Documents
- ↳ Drivers
- ↳ Educational
- ↳ Engineering/Science/Simulation
- ↳ Eye Candy
- ↳ Filesystem
- ↳ Games
- ↳ Graphics
- ↳ Multimedia
- ↳ Network
- ↳ Security/Privacy
- ↳ System
- ↳ Utilities
- ↳ Virtualization
- ↳ Unsorted
- ↳ Cutting edge
- ↳ Multi-session live-CD/DVD
- ↳ Hardware
- ↳ Audio
- ↳ Networking
- ↳ Dialup
- ↳ Ethernet
- ↳ Wireless
- ↳ Printers
- ↳ Video
- ↳ Puppy Derivatives
- ↳ Puppy Projects
- ↳ Next Puppy Development
- ↳ 4.x
- ↳ Bugs (4.x dev)
- ↳ Usability Issues (4.x dev)
- ↳ 5.x
- ↳ Bugs (5.x dev)
- ↳ Usability Issues (5.x dev)
- ↳ Localization Project
- ↳ Documentation Project
- Taking the Puppy out for a walk
- ↳ Announcements
- ↳ Puppy Power
- ↳ Suggestions
- ↳ Misc
- Off-Topic Area
- ↳ Programming
- ↳ Security
- ↳ Truly off-topic conversations
- ↳ Spam reports