Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: win32

Errorlevel codes for ClamAV for Windows

 

 

ClamAV win32 RSS feed   Index | Next | Previous | View Threaded


jfairbrass at hotmail

Feb 9, 2007, 3:17 AM

Post #1 of 3 (1415 views)
Permalink
Errorlevel codes for ClamAV for Windows

Hi all,
Can someone kindly tell me what the possible errorlevel return codes are for both clamdscan and clamscan, for ClamAV for Windows
(http://w32.clamav.net)? In other words, what possible errorlevels can I expect if running either clamdscan or clamscan from a DOS
batch file? And are the errorlevels for both files identical, or different?

Cheers,
Jeremy



_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32


njh at bandsman

Feb 9, 2007, 5:03 AM

Post #2 of 3 (1334 views)
Permalink
Re: Errorlevel codes for ClamAV for Windows [In reply to]

Jeremy Fairbrass wrote:
> Hi all,
> Can someone kindly tell me what the possible errorlevel return codes are for both clamdscan and clamscan, for ClamAV for Windows
> (http://w32.clamav.net)? In other words, what possible errorlevels can I expect if running either clamdscan or clamscan from a DOS
> batch file? And are the errorlevels for both files identical, or different?

These are the return codes, not all codes will be appropriate for your operating system.

clamscan:

0 : No virus found.

1 : Virus(es) found.

40: Unknown option passed.

50: Database initialization error.

52: Not supported file type.

53: Can’t open directory.

54: Can’t open file. (ofm)

55: Error reading file. (ofm)

56: Can’t stat input file / directory.

57: Can’t get absolute path name of current working directory.

58: I/O error, please check your file system.

59: Can’t get information about current user from /etc/passwd.

60: Can’t get information about user ’clamav’ (default name) from
/etc/passwd.

61: Can’t fork.

62: Can’t initialize logger.

63: Can’t create temporary files/directories (check permissions).

64: Can’t write to temporary directory (please specify another one).

70: Can’t allocate and clear memory (calloc).

71: Can’t allocate memory (malloc).

clamdscan:
0 : No virus found.

1 : Virus(es) found.

2 : An error occured.


>
> Cheers,
> Jeremy


--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh [at] bandsman http://www.bandsman.co.uk


jfairbrass at hotmail

Feb 9, 2007, 5:08 AM

Post #3 of 3 (1346 views)
Permalink
Re: Errorlevel codes for ClamAV for Windows [In reply to]

Wonderful, thanks! I guess there's not any way for me to find out which ones work with the Windows version from
http://w32.clamav.net ?

Thanks again,
Jeremy



"Nigel Horne" <njh [at] bandsman> wrote in message news:45CC710C.3000705 [at] bandsman
Jeremy Fairbrass wrote:
> Hi all,
> Can someone kindly tell me what the possible errorlevel return codes are for both clamdscan and clamscan, for ClamAV for Windows
> (http://w32.clamav.net)? In other words, what possible errorlevels can I expect if running either clamdscan or clamscan from a DOS
> batch file? And are the errorlevels for both files identical, or different?

These are the return codes, not all codes will be appropriate for your operating system.

clamscan:

0 : No virus found.

1 : Virus(es) found.

40: Unknown option passed.

50: Database initialization error.

52: Not supported file type.

53: Can’t open directory.

54: Can’t open file. (ofm)

55: Error reading file. (ofm)

56: Can’t stat input file / directory.

57: Can’t get absolute path name of current working directory.

58: I/O error, please check your file system.

59: Can’t get information about current user from /etc/passwd.

60: Can’t get information about user ’clamav’ (default name) from
/etc/passwd.

61: Can’t fork.

62: Can’t initialize logger.

63: Can’t create temporary files/directories (check permissions).

64: Can’t write to temporary directory (please specify another one).

70: Can’t allocate and clear memory (calloc).

71: Can’t allocate memory (malloc).

clamdscan:
0 : No virus found.

1 : Virus(es) found.

2 : An error occured.


>
> Cheers,
> Jeremy


--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh [at] bandsman http://www.bandsman.co.uk



--------------------------------------------------------------------------------


>



_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32

ClamAV win32 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.