mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-24 04:43:18 +00:00
139 lines
5.6 KiB
HTML
139 lines
5.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
* with significant contributions from:
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Return codes</TITLE>
|
|
<META NAME="description" CONTENT="Return codes">
|
|
<META NAME="keywords" CONTENT="clamdoc">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="clamdoc.css">
|
|
|
|
<LINK REL="previous" HREF="node26.html">
|
|
<LINK REL="up" HREF="node26.html">
|
|
<LINK REL="next" HREF="node28.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
|
|
<DIV CLASS="navigation"><!--Navigation Panel-->
|
|
<A NAME="tex2html689"
|
|
HREF="node28.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="/usr/share/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html685"
|
|
HREF="node26.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="/usr/share/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html681"
|
|
HREF="node26.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="/usr/share/latex2html/icons/prev.png"></A>
|
|
<A NAME="tex2html687"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="/usr/share/latex2html/icons/contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html690"
|
|
HREF="node28.html">Third party software</A>
|
|
<B> Up:</B> <A NAME="tex2html686"
|
|
HREF="node26.html">Problem solving</A>
|
|
<B> Previous:</B> <A NAME="tex2html682"
|
|
HREF="node26.html">Problem solving</A>
|
|
<B> <A NAME="tex2html688"
|
|
HREF="node1.html">Contents</A></B>
|
|
<BR>
|
|
<BR></DIV>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H2><A NAME="SECTION00051000000000000000">
|
|
Return codes</A>
|
|
</H2>
|
|
Return codes are very useful in system scripts. You can check the return
|
|
code from <SPAN CLASS="textit">clamscan</SPAN> by running:
|
|
<PRE>
|
|
$ clamscan; echo Return code: $?
|
|
</PRE>
|
|
Here is the full list of return codes for <SPAN CLASS="textit">clamscan</SPAN>:
|
|
<BR>
|
|
<P>
|
|
|
|
<SPAN CLASS="textbf">0: </SPAN> No virus was found.
|
|
<BR> <SPAN CLASS="textbf">1: </SPAN> Virus(es) detected.
|
|
<BR> <SPAN CLASS="textbf">40: </SPAN> Unknown option passed to <SPAN CLASS="textit">clamscan</SPAN>. Please check
|
|
clamscan -help or manual page for available options.
|
|
<BR> <SPAN CLASS="textbf">50: </SPAN> Virus database initialization error. Probably it doesn't exist
|
|
at the default location or it's malformed (e.g. broken digital
|
|
signature)
|
|
<BR> <SPAN CLASS="textbf">52: </SPAN> Not supported file type - clamscan only supports regular files,
|
|
directories and symlinks.
|
|
<BR> <SPAN CLASS="textbf">53: </SPAN> Can't open directory.
|
|
<BR> <SPAN CLASS="textbf">54: </SPAN> Can't open file.<SPAN CLASS="MATH"><IMG
|
|
WIDTH="13" HEIGHT="22" ALIGN="BOTTOM" BORDER="0"
|
|
SRC="img5.png"
|
|
ALT="$^7$"></SPAN>
|
|
<BR> <SPAN CLASS="textbf">55: </SPAN> I/O error during read.
|
|
<A NAME="tex2html81"
|
|
HREF="footnode.html#foot1124"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A>
|
|
<BR> <SPAN CLASS="textbf">56: </SPAN> Can't stat input file or directory. File (or directory) you want to
|
|
scan doesn't exist.
|
|
<BR> <SPAN CLASS="textbf">57: </SPAN> Can't get absolute pathname of current working directory. Your
|
|
current pathname is longer then 200 characters. This is bad and
|
|
you may need to recompile ClamAV to fix it.
|
|
<BR> <SPAN CLASS="textbf">58: </SPAN> I/O error. Please check the filesystem.
|
|
<BR> <SPAN CLASS="textbf">59: </SPAN> Can't get information about current user (running clamscan).
|
|
<BR> <SPAN CLASS="textbf">60: </SPAN> Can't get information about user <SPAN CLASS="textit">clamav</SPAN>. User <SPAN CLASS="textit">clamav</SPAN>
|
|
(default unprivileged user) doesn't exist in /etc/passwd.
|
|
<BR> <SPAN CLASS="textbf">61: </SPAN> Can't fork. Can't create new process, please check your system limits.
|
|
<BR> <SPAN CLASS="textbf">63: </SPAN> Can't create temporary file or directory. Please check /tmp
|
|
permissions or use -tempdir
|
|
<BR> <SPAN CLASS="textbf">64: </SPAN> Can't write to temporary directory. Please specify another one.
|
|
<BR> <SPAN CLASS="textbf">70: </SPAN> Can't allocate and clear memory. This is a critical error, please
|
|
check your system.
|
|
<BR> <SPAN CLASS="textbf">71: </SPAN> Can't allocate memory. Look above.
|
|
<BR>
|
|
<P>
|
|
|
|
<DIV CLASS="navigation"><HR>
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html689"
|
|
HREF="node28.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="/usr/share/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html685"
|
|
HREF="node26.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="/usr/share/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html681"
|
|
HREF="node26.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="/usr/share/latex2html/icons/prev.png"></A>
|
|
<A NAME="tex2html687"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="/usr/share/latex2html/icons/contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html690"
|
|
HREF="node28.html">Third party software</A>
|
|
<B> Up:</B> <A NAME="tex2html686"
|
|
HREF="node26.html">Problem solving</A>
|
|
<B> Previous:</B> <A NAME="tex2html682"
|
|
HREF="node26.html">Problem solving</A>
|
|
<B> <A NAME="tex2html688"
|
|
HREF="node1.html">Contents</A></B> </DIV>
|
|
<!--End of Navigation Panel-->
|
|
<ADDRESS>
|
|
Tomasz Kojm
|
|
2004-07-22
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|