Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 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
share|improve this answer
    
thank you. I used the first option and I have managed to get it to work. the second option, i don't know how to carry it out. what should i do to carry it out? –  Sizwamulena Kabila Oct 3 '12 at 21:54
    
There, I changed the program nano to gedit, so you can edit graphically. –  Sepero Oct 3 '12 at 22:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.