Avast WEBforum

Business Products => Avast Business => Avast Business for Linux => Topic started by: gotoxx on September 29, 2008, 08:23:58 PM

Title: avast on eee xabdros
Post by: gotoxx on September 29, 2008, 08:23:58 PM
hello everybody

new comp new system...

ie installed avast.
scan finds no viruses, avast -a too
avast -c finds 4 viruses
how can i combine avast -c and avast -p2
is there a gui for xandros?
...(and how can i become a newbie;)?)


thanks and greetings from vienna


gotoxx
Title: Re: avast on eee xabdros
Post by: zilog on September 30, 2008, 08:54:15 AM
Hallo,
simply add both switches, they are pretty independent. "-c" means "scan entire file" and "-p2" is the action selector.

regards,
pc
Title: Re: avast on eee xabdros
Post by: gotoxx on September 30, 2008, 12:20:56 PM
thx
but the problem is still on:
-c finds still 4 infected files
-p2 does not find infected files
-c-p2 or -c -p2 does not work

andi cant find an updater...


gotoxx
Title: Re: avast on eee xabdros
Post by: gotoxx on September 30, 2008, 12:25:52 PM
i should call myself sherlock;)
found avastgui, what a nice command!
 ;D
Title: Re: avast on eee xabdros
Post by: zilog on September 30, 2008, 12:28:53 PM
thx
but the problem is still on:
-c finds still 4 infected files
-p2 does not find infected files
-c-p2 or -c -p2 does not work

andi cant find an updater...


gotoxx

Hallo,
what does mean "does not work"? Scans, but find no infection, or scans & finds infection & but takes no action... anyway, -p2 action is not supported on Linux (see avastcmd -h, avast -h).

In the unshot, you can use pipes (we're on Linux) for far more flexible actions over the avast's scan output...

pc
Title: Re: avast on eee xabdros
Post by: gotoxx on September 30, 2008, 01:09:24 PM
does not work meant:
/home/user> avast -c -p2
scans but does not find viruses or infected files:
#
# Statistics:
#
# scanned files:        8330
# scanned directories:  241
# infected files:       0
# total file size:      651,1 MB
# virus database:       080929-1 29.09.2008
# test elapsed:         4m:5s 255ms
#
/home/user>       
-------------------------------------------
starting avastgui:
(process:4462): Gdk-WARNING **: locale not supported by Xlib

(process:4462): Gdk-WARNING **: can not set locale modifiers

(avastgui:4462): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
/usr/bin/avastgui: line 169:  4462 Speicherzugriffsfehler  $AVAST_PREFIX/bin/$programname $*
/home/user>         

update works, but the gui closes after approx a dozend minutes during scan.
why does the scan in gui lasts so long and and the -c scan just a minute.

i read the how to breath with linux, but i cant go down the tree than /home/user   cd..does not work. is it important where i start the scan?
---------------------------------------------------------------------------
-p is not supported?
-p, --continue=1234        Automatic action with infected file:
                             1:delete, 2:(not supported), 3:repair, 4:stop
----------------------------------------------------------------------
/home/user> avastcmd -h
bash: avastcmd: command not found
/home/user> avastcmd-h
bash: avastcmd-h: command not found
/home/user>     ???????????????????

thnx
Title: Re: avast on eee xabdros
Post by: zilog on September 30, 2008, 03:25:40 PM
does not work meant:
/home/user> avast -c -p2
scans but does not find viruses or infected files:
#
# Statistics:
#
# scanned files:        8330
# scanned directories:  241
# infected files:       0
# total file size:      651,1 MB
# virus database:       080929-1 29.09.2008
# test elapsed:         4m:5s 255ms
#
/home/user>       
-------------------------------------------
starting avastgui:
(process:4462): Gdk-WARNING **: locale not supported by Xlib

(process:4462): Gdk-WARNING **: can not set locale modifiers

(avastgui:4462): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
/usr/bin/avastgui: line 169:  4462 Speicherzugriffsfehler  $AVAST_PREFIX/bin/$programname $*
/home/user>         

update works, but the gui closes after approx a dozend minutes during scan.
why does the scan in gui lasts so long and and the -c scan just a minute.

i read the how to breath with linux, but i cant go down the tree than /home/user   cd..does not work. is it important where i start the scan?
---------------------------------------------------------------------------
-p is not supported?
-p, --continue=1234        Automatic action with infected file:
                             1:delete, 2:(not supported), 3:repair, 4:stop
----------------------------------------------------------------------
/home/user> avastcmd -h
bash: avastcmd: command not found
/home/user> avastcmd-h
bash: avastcmd-h: command not found
/home/user>     ???????????????????

thnx


try those newer release-candidates: http://public.avast.com/~cimbal/test/ . when the gui still closes after some time in scans, please let me know.

here you can see that variant2 for -p  is not supported (other variants are supported):
-p, --continue=1234        Automatic action with infected file:
                             1:delete, 2:(not supported), 3:repair, 4:stop

avastcmd is nearly identical to avast (actually, avast is a thin wrapper over the avastcmd). thus, they parse/use their arguments the same way.

regards,
pc
Title: Re: avast on eee xabdros
Post by: gotoxx on September 30, 2008, 07:20:12 PM
avastgui: 2.0.2

still the warning,whatever that means,

(process:15119): Gdk-WARNING **: locale not supported by Xlib

(process:15119): Gdk-WARNING **: can not set locale modifiers

(avastgui:15119): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

...
Deleted stale lock file '/home/user/.avast/lockfile-user'.
OK
update works
gui closes during scan


greez
Title: Re: avast on eee xabdros
Post by: zilog on October 01, 2008, 04:17:00 PM
avastgui: 2.0.2

still the warning,whatever that means,

(process:15119): Gdk-WARNING **: locale not supported by Xlib

(process:15119): Gdk-WARNING **: can not set locale modifiers

(avastgui:15119): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

...
Deleted stale lock file '/home/user/.avast/lockfile-user'.
OK
update works
gui closes during scan


greez

Hallo, this is strange - does avastcmd fail prematurely, this way, as well? can you determine (last lines in the log, or strace -f avastgui that_path >log 2>&1) what file could cause this and send it to us? you might have, on your hdd, something that's incorrectly processed (and this might be the reason why the scanner segfaults and the gui disappears).

thanks in advance
pc
Title: Re: avast on eee xabdros
Post by: pupusse on October 01, 2008, 05:22:14 PM
hello ,

the exact syntax is NOT -p2


but -p=2    ;)
Title: Re: avast on eee xabdros
Post by: gotoxx on October 02, 2008, 01:08:29 AM
the explenaition is too shot for me- understand exactly nothing.


/home/user> avastcmd
bash: avastcmd: command not found
/home/user>


...

/home/user> -f avast
bash: -f: command not found
/home/user> avast -f
/usr/lib/avast4workstation/bin/avast: Ungültige Option -- f
Usage: avast [OPTION...] <areaname...>
Try `avast --help' or `avast --usage' for more information.
/home/user>


...

as far as i know: i dont have a hss, sdd or something...


please, tell me. what to try, in command lines, im less than a newbie

greez from vienna

gotoxx
Title: Re: avast on eee xabdros
Post by: gotoxx on October 02, 2008, 01:10:18 AM
...hdd, sorry...
Title: Re: avast on eee xabdros
Post by: zilog on October 02, 2008, 10:10:39 AM
...hdd, sorry...

then, what's the purpose of anti-virus scanning, when you have NO hdd (harddrive)? read-only files can't be infected anyway, and temporary ramdisk will be forgotten (and thus, made virus-free) on each restart :).

pc
Title: Re: avast on eee xabdros
Post by: pupusse on October 02, 2008, 02:32:28 PM
to be clear ,  if your hard drive to be scanned is /hda1


just execute ( in a terminal , as root ) :

avast -a -c -t=A -p=4 /hda1  ( instead of avastcmd wich is a daemon)

and the scan will start  :)
Title: Re: avast on eee xabdros
Post by: zilog on October 02, 2008, 02:40:42 PM
to be clear ,  if your hard drive to be scanned is /hda1


just execute ( in a terminal , as root ) :

avast -a -c -t=A -p=4 /hda1  ( instead of avastcmd wich is a daemon)

and the scan will start  :)

just for clarity:
avastcmd = app linked against libavastengine, standalone scanner, part of avast4server package.
avast = re-wrapped avastcmd's code, nearly the same functionality, part of avast4workstation

avastd is the daemon, avastlite thin-client...

pc
Title: Re: avast on eee xabdros
Post by: gotoxx on October 02, 2008, 06:47:18 PM
any idea, why the avast gui still closes during scan?

installed newer version as you told me, but it still closes???
Title: Re: avast on eee xabdros
Post by: gotoxx on October 02, 2008, 09:14:03 PM
...after the closing i found that in the console:

/usr/bin/avastgui: line 169: 16031 Speicherzugriffsfehler  $AVAST_PREFIX/bin/$programname $*
/home/user>

does this help???

hope so

greetings from vienna


gotoxx
Title: Re: avast on eee xabdros
Post by: zilog on October 03, 2008, 08:48:45 AM
...after the closing i found that in the console:

/usr/bin/avastgui: line 169: 16031 Speicherzugriffsfehler  $AVAST_PREFIX/bin/$programname $*
/home/user>

does this help???

hope so

greetings from vienna


gotoxx

In other words, it's old god "segmentation fault" (SIGSEGV). Accessing segment (area of pages with common access flags) improperly. Probably, it's caused by a flaw in the engine, which occurs on one of yours particular files - could you do some test and find out which file is responsible for it?

Does avast (or avastcmd) crash too? If so, could our have a look which filoe was scanner last, right before the crash, and try to reproduce the error? Without that culprit-file, we can't fix the flaw, of course..
regards,
pc
Title: Re: avast on eee xabdros
Post by: pupusse on October 03, 2008, 06:53:43 PM
Just an advice :

don't use the GUI  :)

the commandline mode is easier , faster and ...conform with "linux spirit " ;)
Title: Re: avast on eee xabdros
Post by: gotoxx on October 03, 2008, 10:41:05 PM
no idea, what you're talking about. linux does not work, nothing. not the internet(closes all the time), neiighter the printer, nor the tv stick. don't have the time...
change to xp+ kaspersky, 140 euro and it works!

but go  on developing, i'm a user

greez
Title: Re: avast on eee xabdros
Post by: Lisandro on October 04, 2008, 12:26:48 AM
no idea, what you're talking about. linux does not work, nothing. not the internet(closes all the time), neiighter the printer, nor the tv stick. don't have the time...
Which is your Linux distro?

change to xp+ kaspersky, 140 euro and it works!
Well... what a change... Linux for Windows, avast for Kaspersky...