Avast WEBforum

Business Products => Avast Business => Avast Business for Linux => Topic started by: jymm on January 23, 2014, 11:10:17 PM

Title: Have never been able to run Avast in Linux
Post by: jymm on January 23, 2014, 11:10:17 PM
I have been an Avast user in Windows for years. I have now switched to Linux. I run Debian versions. I have tried Avast on Zorin, SolusOS and now Point Linux.

I download the "avast4workstation_1.3.0-2_i386.deb" version and install it with gdebi. All is good at this point, installed correctly no dependency issues.

Avast opens and will scan. I then do the virus update and Avast quits. I can not reopen Avast and get the message "An error occured in avast! engine: Invalid argument". I have done nothing but update the the virus definitions, no other changers.

If I remove Avast and then reinstall it I still get the message of "An error occured in avast! engine: Invalid argument". I have uninstalled the program and removed the temp file from filesystem/temp.

Anyone know what is going on here?
Title: Re: Have never been able to run Avast in Linux
Post by: Asyn on January 24, 2014, 07:34:40 AM
Read here: http://forum.avast.com/index.php?topic=57775.0
Title: Re: Have never been able to run Avast in Linux
Post by: jymm on January 24, 2014, 06:34:41 PM
Problem solved. Thanks I use this:
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).

I just used sudo from the terminal and it worked. Avast now runs. Wonder why Avast does not recommend this in the install? If I had not used Avast previously in "Windoze" I would have quickly moved on.
Title: Re: Have never been able to run Avast in Linux
Post by: Asyn on January 25, 2014, 05:50:55 AM
Problem solved. Thanks

You're welcome.