Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Avast "Invalid Argument" Error


  • Please log in to reply

#1
muhib1996

muhib1996

    Member

  • Member
  • PipPip
  • 91 posts
I am a new Ubuntu user, the version is 10.04 LTS. I have just installed latest Avast! in it and updated. But now, it is showing a message: "An error occurred in avast! engine: Invalid argument". In some forums, someone told to run this command in terminal:
sudo sysctl -w kernel.shmmax=128000000
kernel.shmmax = 128000000
I ran it and it was fixed. But when I restarted the computer, the same error appeared again. I ran the command again and worked. But why will I run that command each time I start computer. I want a permanent solution, please help!!!
  • 0

Advertisements


#2
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
i can't give you a fix for this, but i can offer this

http://linuxmafia.co....php?page=virus

and there is a free linux antivirus in your repositories, if you feel you need one (and i do know that avast for linux is free as well),
its called clamav

http://www.clamav.ne...packages-linux/

in my experience, as long as you only install software through your repositories and not from the web or untrusted/unknown sources then there is little to no chance of an infection,
  • 0

#3
muhib1996

muhib1996

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
I also installed ClamAV. But when I opened it, everything was ok. But in status, and in "Virus Definition" it was showing "None". There was no option on how to download or get Virus Defnition, I tried to scan files but the scan completed in less than half seconds. So I doubted and deleted it.
If you can help me, then I will install ClamAV. And I would also like to know what antivirus do you use in your Ubuntu?
  • 0

#4
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
sorry on both counts,

i don't use ubuntu, i use mandriva linux,
i also do not run an antivirus as i do not have a mail server, or forward mails,
i only install software thats tried and tested and availible in my repositories,

here is ubuntu's community documentation on clamav

https://help.ubuntu....ommunity/ClamAV
  • 0

#5
muhib1996

muhib1996

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
Oh, thank you very much. The documentation you provided helped me very much and everything is solved.
I am facing another problem: Can you please tell me how to install .zip files in Ubuntu? I know that we can't install .zip files, they are compression format. But most of the softwares (especially downloaded from UptoDown) are in .zip format and inside the zip there are many .deb files.
I have just downloaded latest version of VLC (repository doesn't have the latest version) and that is a zip file and there are many .deb files inside it. I don't know how to install it, there are no readme file. Can you please help me on this. Though you use MANDRIVA, that is also LINUX and maybe you can help me, so please.
  • 0

#6
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
ok, as a new user then i recommend you update your packages and enable vlc through synaptic,
the main reason being that that will be the one for your version, tried, tested and working

as i have said before - don't download and install from unknown/untrusted sources, this can only cause problems for a new user

there is no need to download from the internet, all software is in your repository - malware free

unlike windows, there is no need to have the 'latest and greatest' version of software,
linux software works with the minimum fuss necessary,

if you really feel you need the latest version of vlc then may i suggest an ubuntu upgrade, this will give you a later version of vlc,
or, if you wish (and after reading this post) i will advise on how to install a .deb,

just let me know
  • 0

#7
spaceagecow

spaceagecow

    Member

  • Member
  • PipPip
  • 26 posts
to work with zip files,
do a sudo apt-get install zip
then a sudo apt-get install unzip
  • 0

#8
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
no need for that,

just right click and and extract
  • 0

#9
muhib1996

muhib1996

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts

ok, as a new user then i recommend you update your packages and enable vlc through synaptic,
the main reason being that that will be the one for your version, tried, tested and working

as i have said before - don't download and install from unknown/untrusted sources, this can only cause problems for a new user

there is no need to download from the internet, all software is in your repository - malware free

unlike windows, there is no need to have the 'latest and greatest' version of software,
linux software works with the minimum fuss necessary,

if you really feel you need the latest version of vlc then may i suggest an ubuntu upgrade, this will give you a later version of vlc,
or, if you wish (and after reading this post) i will advise on how to install a .deb,

just let me know

Thanks for replying. I can install .deb files as it is very easy. But I wanted to install the latest versions. In the net, there are many files which are packed as tar.bz or .zip. When I open or extract, it sometimes contains many folder and files, and sometimes contain a lots of .deb files. Suppose, a few hours ago, I downloaded latest FireFox from their webisite, it was tar.bz. When I opened, I couldn't understand anything and searched the google. Then I came to know that I have to run an executable file. When I ran it, my problem wasn't solved, because the version was showing 3.6 but I downloaded 8.1 (anyway, this is solved now. I installed it using another method). A few days ago, I tried to download a game, it was also a zip file, I thought I will be not able to install it so stopped downloading. So, it's the main fact. Actually, I want to know how to use those zip files or tar.bz files for installtion? Is this complicated?
  • 0

#10
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
zip and tar.bz are compression methods, you cannot install them,

the contents need to be extracted to a directory, then look for a read me or installation instruction file,
sometimes there will be a shell script (.sh) amongst the various extracted files, you can cd (change directory) in a terminal and run the install script from a terminal,
this will install the software for you,

another way is to use your software manager to install the software for you,
usually right click and install with software manager,

nearly all installation ways will require root access,
in my distribution i use the root terminal, so it by-passes su (super user) (i do not have sudo, but do have access to full root via mcc)
  • 0

#11
muhib1996

muhib1996

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
Calvert, now I can understand. Can you please tell me the command line to install the ".sh" or ".py" files?
  • 0

#12
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
not very familiar with python so i'll have to pass on that one,

but to run the sh is easy (you will need to change the example to your path)

sh /path/to/sh/file/install.sh

it may need to be executable as well

chmod +x /path/to/sh/file/install.sh

but there is no real need as all you need to do is double click the .sh and it should run,
if it doesn't then right click on it and choose file properties and change it to executable
  • 0

#13
muhib1996

muhib1996

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
Thanks for your help....
  • 0

#14
devper94

devper94

    Member

  • Member
  • PipPipPip
  • 817 posts
For sysctl permanent change, edit the file /etc/sysctl.conf.

To run a python file just "./filename.py". If it doesn't work try "python filename.py".
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP