在Ubuntu 12.04上安装了Avast 4 for Linux,可是在升级了杀毒数据库结束后,出现“An error occured in avast! engine: é???3?????????”问题,杀毒不能使用,网上搜索后得到如下结果(源地址:http://blog.sina.com.cn/s/blog_5f66526e0100z347.html):
解决办法是:终端执行:
1 |
sudo sysctl -w kernel.shmmax=128000000 |
然后,再打开Avast 杀毒,软件正常。
或者:
Set the limit to higher values (as root):
sysctl -w kernel.shmmax=128000000
OR
echo 128000000 >/proc/sys/kernel/shmmax
Place those lines to /etc/init.d/rcS or equivalent file (it's distribution-specific a bit - see /etc/inittab, the sysinit runlevel) to have them set automatically (just after boot).
From: http://www.xrqs.net/Blog/post/61.html
博客能带货吗
发表评论