LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-21-2011, 04:52 AM   #1
Gravity_Dragon
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Avast Workstation has corrupted itself with it's own update.


Well this is something I didn't think I'd have to deal with quite so soon after putting Ubuntu on my laptop.

Being the paranoid individual that I am, I decided to put Avast antivirus (called workstation) on my Ubuntu install. That worked just as smoothly and quickly as expected.

Trouble started when I went to update it. It freaked out and gave me some kind of error. In my moment of idiocy I forgot to write it down, but needless to say, something didn't work, and now I can't touch the avast workstation.

Attempting to open it produces an error window that only says "Error occurred in Avast! engine: invalid argument". Reinstalling does nothing, and since I'm clueless as to how Linux works, I figured I'd ask for help before I do something I can't fix short of a reformat of the Ubuntu partition on my drive.

I've looked in the software manager, and Avast doesn't even show up in the list. I have no idea what to do at this point. I have a suspicion that when it attempted to update it's core engine the files had to be deleted, but since I didn't run it with root privileges it couldn't delete the outdated engine.

Since my ownership of Ubuntu can be counted in hours on one hand, I have a feeling this is a basic question, and I'll probably feel like an idiot once I read the answer. Assuming there is an answer.

Last edited by Gravity_Dragon; 02-22-2011 at 03:57 PM. Reason: Solution reached
 
Old 02-21-2011, 10:13 AM   #2
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Dual boot :: Slackware 14.1 64bit multilib | Kali linux 64bit multi lib
Posts: 184

Rep: Reputation: 37
Quote:
Originally Posted by Gravity_Dragon View Post
Trouble started when I went to update it. It freaked out and gave me some kind of error. In my moment of idiocy I forgot to write it down, but needless to say, something didn't work, and now I can't touch the avast workstation.
That same thing happened to me, I'm using now Bit Defender antivirus for unices, it works flawlessly.
I dont know how to fix avast! but bit defender is very good, i have used it before too.
 
Old 02-21-2011, 10:31 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,452
Blog Entries: 54

Rep: Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895
Run 'sudo sysctl kernel.shmmax' and note the value. The default should be something like 33554432. Now double that initial value with 'sysctl -w kernel.shmmax=$[33554432*2]' and try running your AV again. If it works (worked for me) then this forum.avast.com post provided the basics but the values are overkill. If it doesn't work try multiplying the initial value until you can run your AV. If you want to make the value stick on reboot add it to /etc/sysctl.conf or any other local init script that gets run on boot.
 
1 members found this post helpful.
Old 02-22-2011, 03:56 PM   #4
Gravity_Dragon
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
unSpawn, you are my hero. Your command produced immediate positive results. Avast came to life, and I was easily able to run it's database update. I will admit that it took me a little searching to figure out how to get the command line to stick in the rcS file however. Like I said, I'm so new at this it's painful.

Hopefully this problem will be solved on Avast's side of things, since they are well aware of the problem judging by the forum post you directed me to.

Last edited by Gravity_Dragon; 02-23-2011 at 12:08 AM.
 
Old 02-23-2011, 12:59 PM   #5
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Dual boot :: Slackware 14.1 64bit multilib | Kali linux 64bit multi lib
Posts: 184

Rep: Reputation: 37
Quote:
Originally Posted by unSpawn View Post
Run 'sudo sysctl kernel.shmmax' and note the value...
Thank you very much, my avast installation is now working even tho it is 32 bit version.
I installed it using --force-architecture and it works fine. I have 64 bit system.
 
Old 08-01-2012, 06:37 AM   #6
purpledwarak
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Thanks a ton unSpawn. It worked on ubuntu 11.10.
 
Old 08-18-2012, 10:41 AM   #7
visitnag
Member
 
Registered: Mar 2008
Posts: 147

Rep: Reputation: 15
Thank you very much unSpawn....really it worked. Can you please explain what is happening in multiplying process?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install avast workstation..deb file into puppy Lasky Linux - Newbie 1 12-28-2009 02:46 PM
avast workstation good for suse 10.3? darsunt Linux - Security 3 11-28-2008 01:38 PM
Corrupted update repo's? (FC7) kjuergen Fedora 2 10-30-2007 10:38 PM
Update RH 7 Professional Workstation silverdot Linux - Software 1 07-08-2005 02:42 PM
Mandrake 9.2 update file may be corrupted Brosky Linux - Software 3 02-06-2004 01:04 AM


All times are GMT -5. The time now is 10:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration