avast on eee xabdros

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

Hallo,
simply add both switches, they are pretty independent. “-c” means “scan entire file” and “-p2” is the action selector.

regards,
pc

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

i should call myself sherlock;)
found avastgui, what a nice command!
;D

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

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

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

hello ,

the exact syntax is NOT -p2

but -p=2 :wink:

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

…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

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 :slight_smile:

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

any idea, why the avast gui still closes during scan?

installed newer version as you told me, but it still closes???

…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

Just an advice :

don’t use the GUI :slight_smile:

the commandline mode is easier , faster and …conform with "linux spirit " :wink:

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