Top
Systemwalker Operation Manager Troubleshooting Guide
FUJITSU Software

5.2.19 The Jobs Outputs an Error Message and Ends Abnormally [UNIX versions]

Error message

No such file or directory

bad number

Applicable versions and levels

Action

Points to check

Have the following variable strings been defined in the shell script?

Script example

proc1 > ${FILE} 2>&1
CODE=`tail -1 ${FILE}`
exit $CODE

Cause

In the above example, an unintended string is stored in the $CODE variable if an error message is output as the proc1 execution result. In this case, the error message shown below is returned from the shell, however it may be misunderstood that the message was output by Systemwalker Operation Manager, and not by the shell.

Example of the shell error message that is output by the exit statement

$ exit errormessage
errormessage: bad number

Action method

In the shell script variable value, check if an unintended string was stored because an error occurred.

Information

Basically, Systemwalker Operation Manager displays the content for the standard output (stdout) and standard error output (stderr) of the job in the previous log for the job without any special processing.

If an error message is output to the previous log for the job, check if the job may have been output first.