Last update 30-Jun-2005

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. These errorcodes are for the most part the same on all *nix platforms but because of some small differences I cannot list these here. Just do a kill -l to see a list of errors for your own platform.
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