LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Avast antivirus issue (https://www.linuxquestions.org/questions/linux-software-2/avast-antivirus-issue-799851/)

venugopal59 04-03-2010 09:01 PM

Avast antivirus issue
 
I have ubuntu 8.04 and have been using avast antivirus along with it. When I tried to start the avast program today, I get an error message:" An error occurred in Avast engine: invalid argument." I thought I will uninstall the program, but it is not seen in the list for add/remove programs. Please suggest a way forward. Thanks.

paulsm4 04-03-2010 09:38 PM

Hi -

Here's the problem, and solution:
Quote:

http://forum.avast.com/index.php?PHP...&topic=57764.0

Starting with the 400.vps, version 100328-1, one of it's internal block reached the inner limit 33554432 bytes. It's a kernel variable which is (quite artificially) limiting the maximum size of any SHM memory block - and 33554432 was a default for some kernels.

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

regards,
pc

fsbwuvar 04-05-2010 12:29 AM

avast! Linux Invalid Argument error
 
open a terminal window and try

venugopal59 04-09-2010 02:20 AM

Thanks: problem solved
 
Quote:

Originally Posted by paulsm4 (Post 3923400)
Hi -

Here's the problem, and solution:

Thank you. This has solved my problem. My computer was down due to some other ( unrelated) issues, so it was only last night I could do this.Thanks again.


All times are GMT -5. The time now is 12:22 PM.