Author Topic: Have never been able to run Avast in Linux  (Read 4009 times)

0 Members and 1 Guest are viewing this topic.

jymm

  • Guest
Have never been able to run Avast in Linux
« 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?

Offline Asyn

  • Avast √úberevangelist
  • Certainly Bot
  • *****
  • Posts: 76151
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Re: Have never been able to run Avast in Linux
« Reply #1 on: January 24, 2014, 07:34:40 AM »
W8.1 [x64] - Avast PremSec 22.6.7351.BC [UI.712] - Firefox ESR 91.10 [NS/uBO/PB] - Thunderbird 91.10
Avast-Tools: Secure Browser 102.1 - Cleanup 22.2 - SecureLine 5.18 - DriverUpdater 22.2 - CCleaner 6.01
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0

jymm

  • Guest
Re: Have never been able to run Avast in Linux
« Reply #2 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.

Offline Asyn

  • Avast √úberevangelist
  • Certainly Bot
  • *****
  • Posts: 76151
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Re: Have never been able to run Avast in Linux
« Reply #3 on: January 25, 2014, 05:50:55 AM »
Problem solved. Thanks

You're welcome.
W8.1 [x64] - Avast PremSec 22.6.7351.BC [UI.712] - Firefox ESR 91.10 [NS/uBO/PB] - Thunderbird 91.10
Avast-Tools: Secure Browser 102.1 - Cleanup 22.2 - SecureLine 5.18 - DriverUpdater 22.2 - CCleaner 6.01
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0