Monday, April 12, 2010

Avast engine Invalid Argument fix

Thanks, Zilog, your how-to with one line of code worked and I no longer receive the message:
An error occurred in avast! engine: Invalid argument

I'm using Ubutu 9.10, Kernel Linux 2.6.31-20-generic, GNOME 2.28.1
To reiterate the how-to, I opened a Terminal window and typed:
gksu nautilus

1. Navigate to the etc/init.d folder
2. Locate the rcS file
3. Right-click the file, and chose [i]Open with Other Application[/i].
4. Select gEdit for the editing job.
5. Insert the line
echo 128000000 >/proc/sys/kernel/shmmax
before the exec line.

Final output of the file was:
#! /bin/sh
#
# rcS
#
# Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order
#
echo 128000000 >/proc/sys/kernel/shmmax
exec /etc/init.d/rc S[/code]

Then I rebooted, started Avast by:
gksu avastgui

and no more error message ;D

No comments:

Post a Comment