This annoying message popped up after I ran the update in avast! in Ubuntu yesterday. avast! crashes every time I attempt to launch it after that. Did some googling and someone suggested deleting a file called "400.vps" in the ".avast" folder. I did just that and avast! was able to launch again. However, the same error occurs immediately after the virus definition update is performed. There is an error with the signature file. Hmmmmmm. What happened to quality control nowadays?
Update: I resolved the update issue. Run the following command.
commandrine@bridge:/$ sudo sysctl -w kernel.shmmax=128000000
kernel.shmmax = 128000000
commandrine@bridge:/$
I combined this command and the avast! update command together in this script to simplify matters. You no longer need to launch the avast! GUI to start the update. Download it here.
Subscribe to:
Post Comments (Atom)
VMware Workstation Pro is now free for personal use!!!
VMware Workstation Pro is now free for personal use!!! However, it was not straight forward to install on Ubuntu as I encountered error mes...
-
This annoying message popped up after I ran the update in avast! in Ubuntu yesterday. avast! crashes every time I attempt to launch it after...
-
I decided to install a digital certificate for my Gmail account. This is simple and free to set up. Apply for a free certificate from Comod...
Super ! Cela permet effectivement de résoudre le problème.
ReplyDeleteThanks a lot friend. it is working ...
ReplyDeleteThanks Buddy, its worked wow
ReplyDeleteSUPER!!! Updated & Scanning :D Thanks!!!
ReplyDeleteI am unable to delete file 400.vps in folder as it is saying permission denied. command not working with ubuntu,
ReplyDeleteIt says permission denied because you did not use "sudo" command.
ReplyDeletethanks but I am a duh with linux / ubuntu. can u pse tell me the exact command to type in the terminal to delete 400.vps which is located in the foll path on my pc: filesystem/usr/lib/avast4workstation/var. Also pse give me the next command also to activate 'update'.
ReplyDeleteunable to delete as I am a duh with linux / ubuntu & do not know how to compose cmd. pse help. the file 400.vps is the following location
ReplyDeleteFilesystem/usr/lib/avast4workstation/var.
also subsequent cmd not clear. commandrine@bridge:/$ sudo sysctl -w kernel.shmmax=128000000
kernel.shmmax = 128000000
commandrine@bridge:/$
Simply put... your user ID does not have "root" privileges. This is the design of Ubuntu. Before you can run commands that require "root" privileges, you need to use "sudo" command together with that specific command. You can refer to my post about secure deletion.
ReplyDeletehttp://securityrepublic.blogspot.com/2009/06/folder-secure-deletion.html
Instead of manually keying in the "update" command, download my script and use it. My advise is to google for articles about Ubuntu basics.
Alternatively, you can add the kernel.shmmax = 128000000 value to your /etc/sysctl.conf file and have the value automagically adjusted during boot. Just a thought...
ReplyDeleteRan command. It didn't work. file not found.
ReplyDeleteWhich file? Did you download the script and make it executable?
ReplyDeletewonderful thanks a lot
ReplyDeletesuper
ReplyDeletecommandrine, Thank you!!!!!
ReplyDeleteUnder which dir do I put the above script?
ReplyDeleteI am a different Anonymous user.
You can place the script anywhere because the commands contained within can be executed anywhere in the system. I personally placed the script in my home folder.
ReplyDeleteThank you work perfect.
ReplyDeleteIt has come to my attention that this script was temporarily unavailable because availibility is dependent on Skydrive. I received a comment from a reader containing vulgarities which was uncalled for. Please refrain from using such unsavory language.
ReplyDeletehi,
ReplyDeletethx for sharing this.nice.
please elaborate what does that other script (with the name 'ubuntuprivacy.sh') at the same page (where this avast.sh was there) is for??
One other doubt is that we can place script(s) anywhere in the unbuntu and make it run?? As I placed the avast.sh script in the same folder in which 400.vps was there, however removed 400.vps).
Thanks.
After doing it with what you said, the avast icon is no more there in Applications -> Accessories, what to do and how to run it??
ReplyDeleteHi. Please note that the script is open in which you can inspect the contents of the script. As documented above, the script does 2 things: prepare your Kernel to accept the Avast! update and download the latest signatures. It does not do anything else.
ReplyDeleteAs for your question on "ubuntuprivacy.sh", please read my detailed post on what it does. You can also open the script and read the comments within to understand what the script does.
Thanks.
Hello, the problem is the same still. It is as follows:
ReplyDelete"After doing it with what you said, the avast icon is no more there in Applications -> Accessories, what to do and how to run it??"
I think you accidentally removed Avast! yourself. It has nothing to do with the script. I use it daily and other readers have used it without issue. Install Avast! again.
ReplyDeletethanks
ReplyDeleteWorked great! Thanks for the help.
ReplyDeleteOkay I can follow some of the information here, some of it is unclear though. I am new to Ubuntu/Linux I am running ORACLE VM Virtual-box and my OS is Ubuntu 10.04.4 LTS Lucid Lynx. Every time I log off and shutdown Ubuntu and shut down my computer, when I go back in to start Ubuntu and go to open avast! anti-virus it still gives me the error "An error occurred in avast! engine : Invalid argument. I have the avastupdate.sh downloaded and saved. As I mentioned above each time I start Ubuntu I get the same error as above and have to rerun script in terminal. I am brand new to Ubuntu so some help will be appreciated. Than yo.
ReplyDeleteHi Monk. The script is a simple batch file that includes commands to prepare your Kernel to accept the new signatures that are downloaded via the Avast! update command. You have the option of scheduling the script to run at intervals using Cron for example or you can include it as part of your boot up. That is up to you to define.
ReplyDeletewow, it works like a charm!!!
ReplyDeletethank you very much, you are so brilliant when created that .sh file
No problem... just trying to help. If you appreciate the scripts I provide on this blog, please show your support to my work by donating money via Paypal by clicking on the "Donate" button on the right panel.
ReplyDelete