An error occured in avast! engine: Invalid argument

I have a temp solution for you. using any text edit you like.

put this code into it

#!/bin/bash
sudo sysctl kernel.shmmax=10000000000
avastgui

save the file as avastfix.sh (or whatever you like as long as you know its for avast).

Make the file executable via permissions.

Double click it, when given the option select Run in terminal.

Avast will load without the error even after lastest update.

Tks a lot ! Now, workin’ fine !

To Pure Blooded:
Tks a lot brow ! Now, it’s workin’ fine !

Guys I appologize for the necroposting but for a several weeks now (cannot specify exactly when it started) the method mentioned above is not working anymore.

[root@wishmasus andrzejl]# grep shmmax /etc/sysctl.d/99-sysctl.conf 
kernel.shmmax = 128000000

I am on Arch Linux with the kernel Linux wishmasus.loc 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:45 CEST 2014 i686 GNU/Linux

Not sure what has changed but I get error message:

An error occured in avast! engine: Invalid argument

if I would run:

avastgui --verbose

it shows messages about missing folders “wxstd” and “avast”.

It used to work just fine before the upgrade. Nothing has really changed here.

Name : avast Version : 1.3.0-5 Description : Avast4workstation antivirus (Home/Non-Commercial Only) Architecture : i686

Was there an upgrade that I am unaware of? Possibly the virus database has changed to the point where its incompatible with the old engine?

Cheers.

Andrzej

Hi, you can use same method , but add bigger size. Probably because database of viruses is still bigger, after viruses database update Avast not working with old value. Now is in my puppylinux working this value: 155000000. Previous 128… is too low now. In a future, this problem probably can be solved with same method, by increasing requested memory. Sorry for my bad english

Your English is just fine and so is Your advice. It worked.

I feel stupid for not trying to increase the number… Oh well…

Thank You.

Andrzej