Ubuntu – Error message in Avast!

antivirus

I downloaded Avast using terminal command wget http://files.avast.com/files/linux/avast4workstation_1.3.0-2_i386.deb and the download and installation was successful.
Then I chose check updates(database) from the interface. As soon as the updates were downloaded the following problem started.

An error occurred in avast! engine: Invalid argument

What should I do to correct the problem?

Best Answer

This is a known problem in Avast. You need to increase the maximum amount of shared memory allowed.

  • To load it without rebooting sudo sysctl -w kernel.shmmax=128000000
  • To make it permanent, edit the file /etc/sysctl.conf (gksudo gedit /etc/sysctl.conf), and add this line to the end of the file kernel.shmmax = 128000000
Related Question