From d43d7e093b9f2104dab4351d5a7455d2a0615354 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 20 Jun 2005 19:03:19 +0000 Subject: [PATCH] Added list of error return codes --- html/errcodes.html | 55 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/html/errcodes.html b/html/errcodes.html index 85f53b4d..679b49dc 100644 --- a/html/errcodes.html +++ b/html/errcodes.html @@ -18,11 +18,62 @@

MBSE BBS - Error return codes.

-
    +

    +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: +

    1. Commandline error
    2. Configuration error +
    3. Initialisation error +
    4. A full disk partition +
    5. UPS alarm detected +
    6. No valid recipients +
    7. Execute external program failed +
    8. Set tty failed +
    9. File transfer error +
    10. File attach failed +
    11. Can't lock program, retry later +
    12. Node not in nodelist +
    13. Node may not be called +
    14. Can't make connection +
    15. Can't open tty port +
    16. Node is locked +
    17. Node IP address not found +
    18. Unknow session type +
    19. Not Zone Mail Hour +
    20. Modem error +
    21. No modemport available +
    22. Session error (password) +
    23. EMSI session error +
    24. FTSC session error +
    25. WaZoo session error +
    26. YooHoo session error +
    27. Outbound scan error +
    28. Can't make poll +
    29. File request error +
    30. Error processing nodediff +
    31. Virus found +
    32. General error +
    33. Timeout error
    - +

    +The mailer can also return the following error codes: +

      +
    1. TTY general error +
    2. TTY timeout +
    3. TTY EndOfFile +
    4. TTY Hangup +
    5. TTY Empty +
    +

    +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. +

    BackGo Back