Solutions to problems after AvastForLinux upgrade

Source: Internet
Author: User
I reinstall Ubuntu10.04 and installed Avast4forLinux. However, after the anti-virus database is upgraded, "anerroccuredinavast!" appears! Engine: é ?????????????" The problem is that the anti-virus service cannot be used. You can reinstall and upgrade the agent after uninstalling the agent. Very strange. I searched the internet for a long time and found a solution to a similar problem on a foreign English website. I tried www.linuxidc.com.

I re-installed Ubuntu 10.04 and installed Avast 4 for Linux. However, after the anti-virus database is upgraded, "An error occured in avast! Engine: é ?????????????" The problem is that the anti-virus service cannot be used. You can reinstall and upgrade the agent after uninstalling the agent. Very strange. After searching on the Internet for a long time, I found a similar solution on a foreign English website. I tried www.linuxidc.com and solved the problem. It is recorded below for future reference:

Solution: run the following command on the terminal:
Sudo sysctl-w kernel. shmmax = 128000000

Then, enable the Avast anti-virus service. The software is normal.

Or:

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 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.