12.4.2 Details of errors (UNIX)
The table below lists and describes the causes of typical errors that occur in a JP1/Advanced Shell environment and the actions to take. For information about other errors that are not listed in the table, see the documentation for the UNIX being used.
This subsection describes only the errors that are most likely to occur in a JP1/Advanced Shell environment. For details about other errors that are not described here, check the UNIX errno definition file (errno.h), which uses the mnemonic corresponding to the error number (errno) displayed in the messages.
Mnemonic |
Error details |
Cause |
Action |
---|---|---|---|
ENOENT |
No such file or directory |
Either of the following causes are expected.
|
Take the following countermeasures:
|
EIO |
I/O error |
An input/output error occurred. |
Take appropriate action according to the UNIX or hardware information. |
ENXIO |
No such device or address |
There is no access permission for the file. |
Check if there is such a device or that the device is enabled. If the device is disabled, enable it. For other causes, check the documentation of the UNIX being used. |
E2BIG |
Arg list too long |
There is a shortage of area for the processing program's arguments or environment variables. |
Check the processing program's arguments. Check and, if necessary, revise the environment variables specified in parameters such as export and the usage of extended script commands in the file management function, and then delete unneeded environment variable settings. |
EAGAIN |
Resource temporarily unavailable |
There are too many processes, or a temporary memory shortage has occurred. |
If the error recurs when the command is re-executed, terminate unneeded processes. |
ENOMEM |
Not enough space |
Possible causes are as follows:
|
Take the following actions:
|
EACCES |
Permission denied |
The access permission is invalid. |
Check if the file access permission is correct. |
EFAULT |
Bad address |
An attempt was made to write data into an inaccessible area. The disk to which data is to be written might have been disconnected. |
If disks are being switched during system switchover, ignore this error message because there is no problem. If you disconnected the disk by mistake, restore the corresponding file from its backup or initialize the file first before using it. If neither of the above applies, contact the system administrator. |
EEXIST |
File exists |
An attempt was made to create a file, but the file already exists. |
Rename the file, and then re-execute the command. If the existing file is not needed, delete it and re-execute the command. |
EINVAL |
Invalid argument |
An error was detected in the memory management information. |
Contact the system administrator. |
ENFILE |
File table overflow |
The number of open files exceeded the maximum. |
Increase in the UNIX kernel parameter the maximum number of files that can be open in the system (maxuproc |
EMFILE |
Too many open files |
Too many files are open in the corresponding process. |
Increase in the UNIX kernel parameter the maximum number of files that can be open in a process (nofiles). |
EFBIG |
File too large |
The file size exceeded the system limit. |
Check and, if necessary, revise the size of a file to be used. |
ENOSPC |
No space left on device |
There is not enough free space in the file system. |
Allocate more free space. |
ENAMETOOLONG |
File name too long |
A file name is too long. |
Check and, if necessary, revise the file name length. |