ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Errorlevels codes / return codes list
Boblowski


Joined: 26 Jul 2007
Posts: 0
Reply with quote
Hi all,

I found this list of return codes on https://lists.clamav.net/pipermail/clamav-win32/2007-February/000127.html. Can somebody confirm if these return codes are the same for ClamWin?

Thanks, Bob


Quote:

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.
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
if you need to scan in a batch I suggest you to use directly clamscan, if you look in temp at ClamWin1.log you'll see the exact command line passed to clamscan
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
seems correct
View user's profileSend private message
Boblowski


Joined: 26 Jul 2007
Posts: 0
Reply with quote
Thanks for the confirmation!

Cheers, Bob
View user's profileSend private message
Errorlevels codes / return codes list
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic