Avast WEBforum

Business Products => Avast Business => Avast Business for Linux => Topic started by: Lisandro on December 23, 2005, 08:48:47 PM

Title: Two issues with avast for Linux
Post by: Lisandro on December 23, 2005, 08:48:47 PM
Two questions I can't find the answer:

1. How can I enter the license as root?
    Seems to be the only way of making avast! not asking for the license number any time I start the application.

2. Why does the thorough scanning with archive files checked always stop, for me, at /var/run/dbus/pid and does not show the report?
Title: Re: Two issues with avast for Linux
Post by: Vlk on December 23, 2005, 09:10:04 PM
1. I don't understand the question. :)
2. Are you saying it HANGS on this file? Or is the program responsive?
Title: Re: Two issues with avast for Linux
Post by: Lisandro on December 23, 2005, 09:19:03 PM
1. I don't understand the question. :)
I'll post a screenshot that I see everytime I start avast.

2. Are you saying it HANGS on this file? Or is the program responsive?
Just stop like you see the screenshot. Other programs are running. I can't kill or close avast. No one buttom work. Stop gets 'stopping' forever. Pause pauses but continuing does nothing because the number of tested files stay there in the same, forever.
I don't know how to kill avast... I need to logoff linux to see and post the screenshot.
Wait...
Title: Re: Two issues with avast for Linux
Post by: Lisandro on December 23, 2005, 09:30:34 PM
After 'crashing' a message about a deleted file appears; Deleted stale lock file '/home/<user>/.vast/lockfile-<user> where <user> is my name.
Besides this one, the other, about avast registration.
Sorry, I'm a newbie when the subject is Linux... learning all the time, frightened and each step...  :-[
Title: Re: Two issues with avast for Linux
Post by: Culpeper on December 24, 2005, 06:57:34 AM
All I can say is that I don't get the license key prompt when I start "avastgui"  It seems to be working fine on my machine.  Did you install using the the rpm file?

But you can start avast as root in Konsole to get your license key file installed properly.

#su
#password
#avastgui

You may also have a file or folder permission conflict where Avast is installed?

Title: Re: Two issues with avast for Linux
Post by: Lisandro on December 24, 2005, 11:44:44 AM
All I can say is that I don't get the license key prompt when I start "avastgui"  It seems to be working fine on my machine.  Did you install using the the rpm file?
Yes, installation went fine as far I could noticed...

But you can start avast as root in Konsole to get your license key file installed properly.

#su
#password
#avastgui

You may also have a file or folder permission conflict where Avast is installed?
I've installed it at the default folder.
I'll check when I boot Linux later. Now Windows running here  ;D
Title: Re: Two issues with avast for Linux
Post by: Lisandro on December 30, 2005, 02:03:18 PM
Vlk, the problems persists:

1. If the Linux session is being closed - both in root and user account - and avast GUI is opened, next login with show the message Deleted stale lock file '/home/root/.vast/lockfile-root or Deleted stale lock file '/home/<user>/.vast/lockfile-<user>

2. Scanning is halted (GUI cannot be closed, scanning could not be stopped, pause button is not working) both in root and user account as described before.

3. Update works perfectly both in root and user account.
Title: Re: Two issues with avast for Linux
Post by: Dublin on January 03, 2006, 06:09:44 PM
ad2)
can you try to overwrite installed avast4workstation-1.0.1/lib/avast4workstation/lib/libavastengine-4.so.6.0.2 library with this library version:
http://www2.asw.cz/~mensik/libavastengine-4.so.6.0.7.tar.gz
Title: Re: Two issues with avast for Linux
Post by: Lisandro on January 03, 2006, 06:14:06 PM
ad2)
can you try to overwrite installed avast4workstation-1.0.1/lib/avast4workstation/lib/libavastengine-4.so.6.0.2 library with this library version:
http://www2.asw.cz/~mensik/libavastengine-4.so.6.0.7.tar.gz
When I boot on Linux I'll take a look on this... Thanks Dublin.  ;)
Title: Re: Two issues with avast for Linux
Post by: Lisandro on January 06, 2006, 03:58:42 AM
Strange or not, my installation does not have this library, but only libavastengine.so.4.5.12.
How do I update to 6.0.2 version? Sorry for the 'extra' work Dublin.
Title: Re: Two issues with avast for Linux
Post by: Culpeper on January 07, 2006, 09:36:30 PM
Techie:

Try looking here for the library:

/usr/lib/avast4workstation/lib/

Remove libavastengine-4.so.6.0.2

copy libavastengine-4.so.6.0.7

rename to libavastengine-4.so.6.0.2
Title: Re: Two issues with avast for Linux
Post by: Lisandro on January 07, 2006, 09:48:51 PM
Remove libavastengine-4.so.6.0.2
But I have only libavastengine.so.4.5.12
Is it the same?
I'm on Windows, need to reboot later. Thanks anyway Culpeper.
Title: Re: Two issues with avast for Linux
Post by: Culpeper on January 07, 2006, 10:07:37 PM
I doesn't matter because dublin's suggestion doesn't work.  The scanner is still stalling in the same place.
Title: Re: Two issues with avast for Linux
Post by: Lisandro on January 07, 2006, 10:55:58 PM
I doesn't matter because dublin's suggestion doesn't work.  The scanner is still stalling in the same place.
Well... this is funny (or ridiculous)  ;D

Dublin, does Alwil want to release the Linux version in other languages? If so, let me know  :)
Title: Re: Two issues with avast for Linux
Post by: Culpeper on January 07, 2006, 11:51:56 PM
 ;D  Maybe!
Title: Re: Two issues with avast for Linux
Post by: Culpeper on January 08, 2006, 05:02:29 AM
The problem is the "system_bus_socket" file, which is not an actual file but a named pipe.  This is what is stalling out the scanner.  As mentioned before, Fprot GUI is not having a problem with the /var/run/dbus directory.  Just Avast.
Title: Re: Two issues with avast for Linux
Post by: Dublin on January 09, 2006, 02:02:14 PM
I have no problem with dbus's pid or socket files!

What's happen, if you try the command-line scanner:
/usr/lib/avast4workstation/bin/avast /var/run/dbus
???
Title: Re: Two issues with avast for Linux
Post by: Dublin on January 09, 2006, 02:08:01 PM
There's avast.pot file in the installation package. You can start to translate avast! workstation to you language.  ;)
Title: Re: Two issues with avast for Linux
Post by: Lisandro on January 09, 2006, 02:09:53 PM
What's happen, if you try the command-line scanner: /usr/lib/avast4workstation/bin/avast /var/run/dbus
I'll try later.

There's avast.pot file in the installation package. You can start to translate avast! workstation to you language. ;)
I'll do it as soon as Vlk let me free of ADNM translation  ;D
Title: Re: Two issues with avast for Linux
Post by: Culpeper on January 09, 2006, 09:19:25 PM
I have no problem with dbus's pid or socket files!

What's happen, if you try the command-line scanner:
/usr/lib/avast4workstation/bin/avast /var/run/dbus
???

culpeper@linux:~> avast /var/run/dbus
/var/run/dbus/pid       [OK]
/var/run/dbus/system_bus_socket [scan error: No such device or address]
#
# Statistics:
#
# scanned files:        2
# scanned directories:  1
# infected files:       0
# total file size:      5.0 B
# virus database:       0601-3 06.01.2006
# test elapsed:         0s 1ms
#
culpeper@linux:~>

===========================

culpeper@linux:~> su -
Password:
linux:~ # avast /var/run/dbus
/var/run/dbus/pid       [OK]
/var/run/dbus/system_bus_socket [scan error: No such device or address]
#
# Statistics:
#
# scanned files:        2
# scanned directories:  1
# infected files:       0
# total file size:      5.0 B
# virus database:       0551-4 22.12.2005
# test elapsed:         0s 1ms
#
linux:~ #
Title: Re: Two issues with avast for Linux
Post by: Dublin on February 08, 2006, 04:15:53 PM
Please, what's happen, if scanning /var/run/dbus directory, if you try this command:

export AVAST_FAILSAFE=1; /usr/lib/avast4workstation/bin/avastgui
Title: Re: Two issues with avast for Linux
Post by: Culpeper on February 09, 2006, 03:16:12 AM
culpeper@linux:~> export AVAST_FAILSAFE=1; /usr/lib/avast4workstation/bin/avastgui
/usr/lib/avast4workstation/bin/avastgui: error while loading shared libraries: libesmtp.so.5: cannot open shared object file: No such file or directory
culpeper@linux:~>

libesmtp.so.5 is located at /usr/lib/avast4workstation/lib/

Title: Re: Two issues with avast for Linux
Post by: Dublin on February 09, 2006, 10:35:41 AM
But libesmtp.so.5.1.4 library should be in /usr/lib/avast4workstation/lib-esmtp directory. Is it there?
Title: Re: Two issues with avast for Linux
Post by: Culpeper on February 09, 2006, 03:35:21 PM
libesmtp.so.5.1.4 is located at /usr/lib/avast4workstation/lib/

There is no lib-esmtp directory.
Title: Re: Two issues with avast for Linux
Post by: Dublin on February 10, 2006, 12:39:30 AM
thx Culpeper, the bug has been found
Title: Re: Two issues with avast for Linux
Post by: Culpeper on February 10, 2006, 01:27:53 AM
You're welcome
Title: Re: Two issues with avast for Linux
Post by: Dublin on February 10, 2006, 01:11:44 PM
can you try fixed library version?
http://www2.asw.cz/~mensik/libavastengine-4.so.6.0.7.tar.gz
Title: Re: Two issues with avast for Linux
Post by: Culpeper on February 10, 2006, 03:47:35 PM
That new library version works by overwriting it over the old one.  In other words, I renamed it to the old library file name.  I don't know if this should have been done but it will now scan /var/dbus/

Title: Re: Two issues with avast for Linux
Post by: Lisandro on February 21, 2006, 02:15:17 AM
There's avast.pot file in the installation package. You can start to translate avast! workstation to you language.  ;)
Dublin, can you send me the file through email?
I want to translate it in a Windows computer (comparing to the PC versions).
I think anybody in Alwil has my email address  ;D
Title: Re: Two issues with avast for Linux
Post by: Dublin on February 21, 2006, 11:02:29 AM
sure thing