This is still a problem! Why users must to google to solve this problem?!
"$ avast
avast: can not initialize avast! engine: Недопустимый аргумент"
It's too stupid error message.
It must be something like:
"Please grow your /proc/sys/kernel/shmmax value.
E.g. 1: echo 128000000 > /proc/sys/kernel/shmmax
E.g. 2: sysctl -w kernel.shmmax=128000000
You can add this to file /etc/init.d/rcS before any exec calls. Sorry, we are trying to filnd better solution of this problem.
------------------------------------------------
Your Avast command. We always love you."
Somebody writes, that it is limitation of old kernels...
So:
$ uname -a
Linux ubuntu 3.5.7-zen #1 ZEN SMP Fri Oct 19 05:56:51 MSK 2012 i686 i686 i386 GNU/Linux