PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
ndb_perror shows information about an NDB error, given its error code. This includes the error message, the type of error, and whether the error is permanent or temporary. This is intended as a drop-in replacement forperror--ndb, which is no longer supported.
Usage
ndb_perror [options]error_codendb_perror does not need to access a running NDB Cluster, or any nodes (including SQL nodes). To view information about a given NDB error, invoke the program, using the error code as an argument, like this:
$> ndb_perror 323NDB error code 323: Invalid nodegroup id, nodegroup already existing: Permanent error: Application error To display only the error message, invokendb_perror with the--silent option (short form-s), as shown here:
$> ndb_perror -s 323Invalid nodegroup id, nodegroup already existing: Permanent error: Application errorLikeperror,ndb_perror accepts multiple error codes:
$> ndb_perror 321 1001NDB error code 321: Invalid nodegroup id: Permanent error: Application errorNDB error code 1001: Illegal connect stringAdditional program options forndb_perror are described later in this section.
ndb_perror replacesperror--ndb, which is no longer supported by NDB Cluster. To make substitution easier in scripts and other applications that might depend onperror for obtaining NDB error information,ndb_perror supports its own“dummy”--ndb option, which does nothing.
The following table includes all options that are specific to the NDB Cluster programndb_perror. Additional descriptions follow the table.
Additional Options
Command-Line Format --defaults-extra-file=pathType String Default Value [none]Read given file after global files are read.
Command-Line Format --defaults-file=pathType String Default Value [none]Read default options from given file only.
Command-Line Format --defaults-group-suffix=stringType String Default Value [none]Also read groups with concat(group, suffix).
--help,-?Command-Line Format --helpDisplay program help text and exit.
Command-Line Format --login-path=pathType String Default Value [none]Read given path from login file.
Command-Line Format --no-login-pathsSkips reading options from the login path file.
Command-Line Format --ndbFor compatibility with applications depending on old versions ofperror that use that program's
--ndboption. The option when used withndb_perror does nothing, and is ignored by it.Command-Line Format --no-defaultsDo not read default options from any option file other than login file.
Command-Line Format --print-defaultsPrint program argument list and exit.
--silent,-sCommand-Line Format --silentShow error message only.
--version,-VCommand-Line Format --versionPrint program version information and exit.
--verbose,-vCommand-Line Format --verboseVerbose output; disable with
--silent.
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb