Avast error in Ubuntu 9.10

By ravisunny2
May 21, 2010
  1. The Avast! for Linux installation went through without any error (in Ubuntu 9.10), and Avast appeared in the Applications menu.

    But, when I ran Avast, I got the following error message.

    Any help or suggestions would be appreciated.
  2. Leeky

    Leeky TS Evangelist Posts: 3,797   +116

    Is this error being caused when you try to start it from the program menu?
  3. ravisunny2

    ravisunny2 TS Ambassador Topic Starter Posts: 1,980   +11

    Yes, and also from the command prompt in a terminal.
  4. Leeky

    Leeky TS Evangelist Posts: 3,797   +116

    What command are you issuing to start avast?

    Were you able to start the application so you could register it before it died?

    I just start mine with the command:

    from terminal.

    Its possible something hasnt been pulled in as a dependancy when it installed. It would be worth a re-installation to ensure this is not the cause.

    EDIT: I'm now getting the same problem, after having completed an update for definitions. I'll have a more detailed look shortly and let you know the outcome.

    I have a feeling one of the files in ~/home/*user*/.avast is playing up...
  5. Leeky

    Leeky TS Evangelist Posts: 3,797   +116

    A nice and simple fix:

    Open terminal, and type the following as root (sudo)

    sysctl -w kernel.shmmax=100000000
    No credit to me, the information was found here via google:

    Mines now working. :D


    Not after a reboot. I'll explain how to do it properly shortly. Bear with me while I finish figuring it out, and then explain please. lol.

    The Solution for Ubuntu 9.10/10.04:

    fire up terminal.

    type the following:

    cd /etc/init.d/
    sudo gedit rcS
    Enter your password, and then gedit will open the file.

    Below the lines starting with # add the following comment:

    sysctl -w kernel.shmmax=100000000
    As an example, my rcS file now reads the following information.

    #! /bin/sh
    # rcS
    # Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order
    sysctl -w kernel.shmmax=100000000
    exec /etc/init.d/rc S
    Save the file open in gedit, and then close the window.

    Restart your computer and log back into your user account.

    fire up terminal again:

    It should now be working. :)
  6. ravisunny2

    ravisunny2 TS Ambassador Topic Starter Posts: 1,980   +11

    Thanks, Leeky.

    sysctl -w kernel.shmmax=124000000, fixed the problem for me (fingers crossed). :)
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...