Added list of error return codes
This commit is contained in:
parent
8a33a968cf
commit
d43d7e093b
@ -18,11 +18,62 @@
|
||||
<div align='center'><H1>MBSE BBS - Error return codes.</H1></div>
|
||||
|
||||
|
||||
<OL value="100">
|
||||
<P>
|
||||
Following is a list of return codes from all official mbse programs and
|
||||
utilities. These codes can be used in scripts. If a program exits normally, the
|
||||
return code is 0. If a program exits by a signal, the return code is the signal
|
||||
number. This means if you kill a running program with a SIGTERM, the programs
|
||||
exits with the SIGTERM error number. On most platforms this is 15. Here is the
|
||||
list of other return codes:
|
||||
<OL start="100">
|
||||
<LI>Commandline error
|
||||
<LI>Configuration error
|
||||
<LI>Initialisation error
|
||||
<LI>A full disk partition
|
||||
<LI>UPS alarm detected
|
||||
<LI>No valid recipients
|
||||
<LI>Execute external program failed
|
||||
<LI>Set tty failed
|
||||
<LI>File transfer error
|
||||
<LI>File attach failed
|
||||
<LI>Can't lock program, retry later
|
||||
<LI>Node not in nodelist
|
||||
<LI>Node may not be called
|
||||
<LI>Can't make connection
|
||||
<LI>Can't open tty port
|
||||
<LI>Node is locked
|
||||
<LI>Node IP address not found
|
||||
<LI>Unknow session type
|
||||
<LI>Not Zone Mail Hour
|
||||
<LI>Modem error
|
||||
<LI>No modemport available
|
||||
<LI>Session error (password)
|
||||
<LI>EMSI session error
|
||||
<LI>FTSC session error
|
||||
<LI>WaZoo session error
|
||||
<LI>YooHoo session error
|
||||
<LI>Outbound scan error
|
||||
<LI>Can't make poll
|
||||
<LI>File request error
|
||||
<LI>Error processing nodediff
|
||||
<LI>Virus found
|
||||
<LI>General error
|
||||
<LI>Timeout error
|
||||
</OL>
|
||||
|
||||
<P>
|
||||
The mailer can also return the following error codes:
|
||||
<OL start="201">
|
||||
<LI>TTY general error
|
||||
<LI>TTY timeout
|
||||
<LI>TTY EndOfFile
|
||||
<LI>TTY Hangup
|
||||
<LI>TTY Empty
|
||||
</OL>
|
||||
<P>
|
||||
When an external program is run, a mbse program can exit with return code 256 +
|
||||
the return code of the external program. So if the external program exits with
|
||||
error code 7, the code returned by the mbse program is 263.
|
||||
<P>
|
||||
<A HREF="index.htm"><IMG SRC="images/b_arrow.png" ALT="Back" Border="0">Go Back</A>
|
||||
</BLOCKQUOTE>
|
||||
</BODY>
|
||||
|
Reference in New Issue
Block a user