Avira antivir server unix Manual Do Utilizador

Página de 44
Avira GmbH
Avira AntiVir Server/ Professional (UNIX)
34
Exit Codes
AntiVir Command Line Scanner issues exit codes after operation. UNIX users can include 
them in scripts.
Example: Performing Complete Scan
After installation, it is important to perform a complete scan of the system.
The following parameters should be used:
The command is:
avscan --scan-mode=all 
--detect-prefixes=alltypes 
-s --scan-
in-archive /
Example: Performing Partial Scan
Usually, scanning the directories that contain incoming and outgoing data (mailbox, 
Internet, text folders) may be sufficient. These files are usually in /var
If you have any DOS partitions on your UNIX system, you also have to scan them.
You can use the following parameters:
If your DOS partitions are in /mnt and the incoming and outgoing files are in /var:
Exit Code
Meaning
0
Normal program termination, nothing found, no error.
1
Found concerning file.
3
Suspicious file found.
4
Warnings were issued.
249
Scan process not completed.
250
Cannot initialize scan process.
251
The avguard daemon is not accessible.
252
The avguard daemon is not running.
253
Error while preparing on-demand scan.
254
Configuration error (invalid parameter in command-line or 
configuration file).
255
Internal error.
--scan-mode=all
Scans all files.
--detect-
prefixes=alltypes
Scans for all types of malware.
-s
Scans all subfolders.
--scan-in-archive Scans packed files, too.
--scan-mode=all
Scans all files.
-s
Scans all subfolders.
--scan-in-archive
Scans packed files, too.