Author Topic: Avast4workstation error on ubuntu 9.10 amd64  (Read 18549 times)

0 Members and 1 Guest are viewing this topic.

Astrals

  • Guest
Avast4workstation error on ubuntu 9.10 amd64
« on: January 06, 2010, 04:12:05 AM »
Avast was working great then it just stopped working giving me an error:
"/usr/bin/avast: 178: /usr/lib/avast4workstation/bin/avast: not found"

Original install command for avast:
"sudo dpkg --force-architecture -i '/home/xxxx/Desktop/avast_v1.3.0-2_i386-deb/avast4workstation_1.3.0-2_i386.deb'

I use ubuntu-9.10-alternate-amd64.

I had to use this via command line which is no problem for me.

If anybody knows a fix for this your help will be appreciated.

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #1 on: January 06, 2010, 11:32:35 AM »
Avast was working great then it just stopped working giving me an error:
"/usr/bin/avast: 178: /usr/lib/avast4workstation/bin/avast: not found"

Original install command for avast:
"sudo dpkg --force-architecture -i '/home/xxxx/Desktop/avast_v1.3.0-2_i386-deb/avast4workstation_1.3.0-2_i386.deb'

I use ubuntu-9.10-alternate-amd64.

I had to use this via command line which is no problem for me.

If anybody knows a fix for this your help will be appreciated.

Just check whether the file is already gone/moved. Reinstall will refresh all files at their rightful locations, so might help in this case as well.

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Astrals

  • Guest
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #2 on: January 06, 2010, 01:13:48 PM »
I removed my .avast folder in my home directory.
Did a fresh re-install and still have the same error come up.
I have avast on two computers using the same distro also a 64 bit system.
On my other system with another source list for virtualbox from sun is the only difference between these two computers avast works great from command line.

I used the following command to remove avast from the first computer:
sudo dpkg -r avast4workstation
Then removed the  .avast folder.
Once installed i can put in my serial code for it and update it but this error only occurs for scanning.
Then did reinstall with same error.

Thank you for your reply this still requires help with this issue.
Thank you.
« Last Edit: January 06, 2010, 01:15:40 PM by Astrals »

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #3 on: January 08, 2010, 10:39:06 AM »
I removed my .avast folder in my home directory.
Did a fresh re-install and still have the same error come up.
I have avast on two computers using the same distro also a 64 bit system.
On my other system with another source list for virtualbox from sun is the only difference between these two computers avast works great from command line.

I used the following command to remove avast from the first computer:
sudo dpkg -r avast4workstation
Then removed the  .avast folder.
Once installed i can put in my serial code for it and update it but this error only occurs for scanning.
Then did reinstall with same error.

Thank you for your reply this still requires help with this issue.
Thank you.

Aha!
So it's not like that starting "avastgui" leads to this error directly. The app pops its windows normally, is responsive, but when you do "start scanning", it scans (I assume) for a while, and then, window disappears and this error is written out?

Then, please, scan the same area on your disk using avast (not avastgui). I expect it must crash somewhere. I would be interested in the file that causes the crash (the last one scanned, strace avast <that_area> 2>&1 | tail -50000 >log  will produce helpful log for us.

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Astrals

  • Guest
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #4 on: January 08, 2010, 12:51:29 PM »
I am using command line not the gui.

For example:
"avast --testfull "(then file or directory next after the space)
or "avast "(then file or folder

This works great via command line, since I am using a 32bit architecture on a 64bit system.
On my other system avast is still working great, same operating system but with virtualbox installed.
Only terminal running for this application, no gui,  i can register and get updates but when it comes to scanning I get this error coming up.
I have tried re-installing still get same error.
"/usr/bin/avast: 178: /usr/lib/avast4workstation/bin/avast: not found"
The only difference between my systems is the motherboard model (all asus) and processor (system with avast issue is a quad, system still working with avast dual)

I really do not want to do a reformat and re-setup linux.

This is very confusing for me, i go to /usr/lib/avast4workstation/bin/avast and the file is there but refuses to work for no reason after a short time of being used.

I don't want to install ClamAV for an antivirus (not what i require).

Thank you.

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #5 on: January 08, 2010, 01:02:10 PM »
I am using command line not the gui.

For example:
"avast --testfull "(then file or directory next after the space)
or "avast "(then file or folder

This works great via command line, since I am using a 32bit architecture on a 64bit system.
On my other system avast is still working great, same operating system but with virtualbox installed.
Only terminal running for this application, no gui,  i can register and get updates but when it comes to scanning I get this error coming up.
I have tried re-installing still get same error.
"/usr/bin/avast: 178: /usr/lib/avast4workstation/bin/avast: not found"
The only difference between my systems is the motherboard model (all asus) and processor (system with avast issue is a quad, system still working with avast dual)

I really do not want to do a reformat and re-setup linux.

This is very confusing for me, i go to /usr/lib/avast4workstation/bin/avast and the file is there but refuses to work for no reason after a short time of being used.

I don't want to install ClamAV for an antivirus (not what i require).

Thank you.
And,
does the /usr/lib/avast4workstation/bin/avast file exist? (after reinstall, it should, but ...)
You can also run the app directly from this location (without that wrapper in /usr/bin).

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Astrals

  • Guest
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #6 on: January 09, 2010, 06:56:51 AM »
/usr/lib/avast4workstation/bin/avast This file does exist.

I'm not sure what you mean by "(without that wrapper in /usr/bin)."
There are three files for avast in /usr/bin/ "avast, avastgui and avast-update"
I tried to use the avast file in this directory with no success.
The command i tries in terminal was /usr/bin/avast (then file for scanning). This gave me the same error.

If this is wrong please do post it, thank you for your help with this.

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #7 on: January 10, 2010, 12:45:24 PM »
/usr/lib/avast4workstation/bin/avast This file does exist.

I'm not sure what you mean by "(without that wrapper in /usr/bin)."
There are three files for avast in /usr/bin/ "avast, avastgui and avast-update"
I tried to use the avast file in this directory with no success.
The command i tries in terminal was /usr/bin/avast (then file for scanning). This gave me the same error.

If this is wrong please do post it, thank you for your help with this.

what was the argument to the scanner? /usr/bin/avast /etc won't work as well?

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Astrals

  • Guest
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #8 on: January 13, 2010, 08:50:20 AM »
/usr/bin/avast /etc won't work as well?

Correct. Not working either.

My other system all works great, except this one.

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #9 on: January 13, 2010, 12:28:12 PM »
/usr/bin/avast /etc won't work as well?

Correct. Not working either.

My other system all works great, except this one.


so, it's time to run it inside strace -f:

strace -f <the_command_as_used_normally> >log 2>&1
please paste the result here.

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Astrals

  • Guest
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #10 on: January 13, 2010, 04:41:03 PM »
Thank you pc aka zilog for your help with this.

I have attached a text document due to it's size, the file is 75kb, also it was created using ubuntu default text file.

Hope the answer is simple.

Cheers.
Rob

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #11 on: January 14, 2010, 12:19:39 PM »
Thank you pc aka zilog for your help with this.

I have attached a text document due to it's size, the file is 75kb, also it was created using ubuntu default text file.

Hope the answer is simple.

Cheers.
Rob
Thanks, this one is crucial line - proving the same, the file can't be found and opened:

[pid  3160] execve("/usr/lib/avast4workstation/bin/avast", ["/usr/lib/avast4workstation/bin/a"..., "--testfull", "/home/
astral/Desktop/ubuntuforum"...], [/* 38 vars */]) = -1 ENOENT (No such file or directory)


When doing ls -l "/usr/lib/avast4workstation/bin/avast", will you get the same "No such file or directory" thing?

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Astrals

  • Guest
Re: Avast4workstation error on ubuntu 9.10 amd64
« Reply #12 on: January 14, 2010, 02:49:04 PM »
From:
When doing ls -l "/usr/lib/avast4workstation/bin/avast", will you get the same "No such file or directory" thing?

Output from terminal:

astral@work:~$ ls -l '/usr/lib/avast4workstation/bin/avast'
-rwxr-xr-x 1 root root 645772 2009-01-06 03:27 /usr/lib/avast4workstation/bin/avast


Thank you once again for your help with this.



EDIT:
Got it working via command line.
It turned out that I needed to install ia32-libs.
Got the idea from http://ubuntuforums.org/showthread.php?s=32ca51a32add0b673da712269f1a11ea&t=781251
That was all I installed, now works great once again via terminal.

Looks like it was an update that stopped it from working and not my fault. (good news for me).

Thank you everybody for your help with this it was much appreciated and as usual I posted my results for good news.
« Last Edit: January 16, 2010, 01:53:38 AM by Astrals »