Ch 25. POSIX.1 Error Messages [ MPE/iX Error Messages Manual Volume II ] MPE/iX 5.5 Documentation
MPE/iX Error Messages Manual Volume II
Chapter 25 POSIX.1 Error Messages
(Subsystem 517)
This section presents the error messages for the POSIX.1 subsystem.
------------------------------------------------------------
-------------------------------------------------------------
1 MESSAGE [EPERM] Operation not permitted. (POSIX.1 ERROR
1)
CAUSE An attempt was made to perform an operation limited
to processes with appropriate privileges or to the
owner of a file or other resource.
ACTION Check privilege or ownership of the file or other
resource.
-------------------------------------------------------------
2 MESSAGE [ENOENT] No such file or directory. (POSIX.1
ERROR 2)
CAUSE A component of a specified pathname did not exist,
or the pathname was an empty string.
ACTION Use the pathname of the existing file.
-------------------------------------------------------------
3 MESSAGE [ESRCH] No such process. (POSIX.1 ERROR 3)
CAUSE No process could be found corresponding to that
specified by the given process ID.
ACTION Check the process ID being used or use a valid
process ID.
-------------------------------------------------------------
4 MESSAGE [EINTR] Interrupted function call. (POSIX.1
ERROR 4)
CAUSE An asynchronous signal (such as SIGINT or SIGQUIT;
see the description of the header \<signal.h\> in
the MPE/iX Developer's Kit Reference Manual) was
caught by the process during the execution of an
interruptible function. If the signal handler
performs a normal return, the interrupted function
call may return this error condition.
ACTION No action.
-------------------------------------------------------------
5 MESSAGE [EIO] Input/output error. (POSIX.1 ERROR 5)
CAUSE Some physical input or output error occurred. This
error may be reported on a subsequent operation on
the same file descriptor. Any other error-causing
operation on the same file descriptor may cause the
[EIO] error indication to be lost.
ACTION Check input/output device status.
-------------------------------------------------------------
6 MESSAGE [ENXIO] No such device or address. (POSIX.1
ERROR 6)
CAUSE Input or output on a special file referred to a
device that did not exist, or made a request beyond
the limits of the device. This error may also
occur when, for example, a tape drive is not online
or a disk pack is not loaded on a drive.
ACTION Check the status of the device or the address being
used.
-------------------------------------------------------------
7 MESSAGE [E2BIG] Arg list too long. (POSIX.1 ERROR 7)
CAUSE The sum of the number of bytes used by the new
procedure image's argument list and eviroment list
was greater than the system imposed limit of
{ARG_MAX} bytes.
ACTION Use less arguments.
-------------------------------------------------------------
8 MESSAGE [ENOEXEC] Exec format error. (POSIX.1 ERROR 8)
CAUSE A request was made to execute a file that, although
it had the appropriate permissions, was not in the
format required by this implementation for
executables files. See the MPE/iX Developer's Kit
Reference Manual for the requirements of
exec()'able files.
ACTION Only attempt to exec() exec()'able files.
-------------------------------------------------------------
9 MESSAGE [EBADF] Bad file descriptor. (POSIX.1 ERROR 9)
CAUSE A file descriptor argument was out of range,
referred to no open file, or a read (write) request
was made to a file that was only open for writing
(reading).
ACTION Open file or use correct access.
-------------------------------------------------------------
10 MESSAGE [ECHILD] No child processes. (POSIX.1 ERROR 10)
CAUSE A wait() or waitpid() function was executed by a
process that had no existing or unwaited-for child
processes.
ACTION Create one or more child processes.
-------------------------------------------------------------
11 MESSAGE [EAGAIN] Resource temporarily unavailable.
(POSIX.1 ERROR 11)
CAUSE This is a temporary condition, and later calls to
the same routines may complete normally.
ACTION Try again.
-------------------------------------------------------------
12 MESSAGE [ENOMEM] Not enough space. (POSIX.1 ERROR 12)
CAUSE The new process image required more memory than
allowed by the hardware or by system-imposed memory
management constraints.
ACTION Increase memory usage capability of user or size of
the process image.
-------------------------------------------------------------
13 MESSAGE [EACCES] Permission Denied. (POSIX.1 ERROR 13)
CAUSE An attempt was made to access a file in a way
forbidden by its file access permissions.
ACTION Use correct access if you are able.
-------------------------------------------------------------
14 MESSAGE [EFAULT] Bad Address. (POSIX.1 ERROR 14)
CAUSE The system detected an invalid or NULL address in
attempting to use an argument of a call.
ACTION Check the address being used.
-------------------------------------------------------------
16 MESSAGE [EBUSY] Resource busy. (POSIX.1 ERROR 16)
CAUSE An attempt was made to use a system resource that
was not available at the time because it was being
used by a process in a manner that would have
conflicted with the request being made by this
process.
ACTION Have the resource released and try again.
-------------------------------------------------------------
17 MESSAGE [EEXIST] File exists. (POSIX.1 ERROR 17)
CAUSE An existing file specified in an inappropriate
context; for instance, as the new directory name in
a mkdir() function.
ACTION Check to see if file or directory already exists.
-------------------------------------------------------------
18 MESSAGE [EXDEV] Improper link. (POSIX.1 ERROR 18)
CAUSE A link to a file on another file system was
attempted.
ACTION Do not attempt a link to a file located across a
file system.
-------------------------------------------------------------
19 MESSAGE [ENODEV] No such device. (POSIX.1 ERROR 19)
CAUSE An attempt was made to apply an inappropriate
function to a device; for example, trying to read a
write-only device such as a printer.
ACTION Use valid access to the device.
-------------------------------------------------------------
20 MESSAGE [ENOTDIR] Not a directory. (POSIX.1 ERROR 20)
CAUSE A component of the specified pathname existed, but
it was not a directory, when a directory was
expected.
ACTION Use the correct pathname.
-------------------------------------------------------------
21 MESSAGE [EISDIR] Is a directory. (POSIX.1 ERROR 21)
CAUSE An attempt was made to open a directory as an
ordinary file which is not permitted by this
implementation.
ACTION Use directory functions to operate on directories.
-------------------------------------------------------------
22 MESSAGE [EINVAL] Invalid argument. (POSIX.1 ERROR 22)
CAUSE Some invalid agrument was supplied. [For example,
specifying an undefined signal to a signal() or
kill() function].
ACTION Use valid arguments.
-------------------------------------------------------------
23 MESSAGE [ENFILE] Too many open files in system. (POSIX.1
ERROR 23)
CAUSE Too many files are currently open in the system.
The system reached its predefined limit for
simultaneously open files and temporarily could not
accept requests to open another one.
ACTION Close unneeded files.
-------------------------------------------------------------
24 MESSAGE [EMFILE] Too many open files. (POSIX.1 ERROR 24)
CAUSE An attempt was made to open more than the maximum
number of {OPEN_MAX} file descriptors allowed in
this process.
ACTION Close unneeded files.
-------------------------------------------------------------
25 MESSAGE [ENOTTY] Inappropriate I/O control operation.
(POSIX.1 ERROR 25)
CAUSE A control function was attempted for a file or a
special file for which the operation was
inappropriate.
ACTION Use appropriate control for file.
-------------------------------------------------------------
27 MESSAGE [EFBIG] File too large. (POSIX.1 ERROR 27)
CAUSE The size of a file would exceed an
implementation-defined maximum file size.
ACTION Use smaller size files.
-------------------------------------------------------------
28 MESSAGE [ENOSPC] No space left on device. (POSIX.1 ERROR
28)
CAUSE During a write() function on a regular file, or
when extending a directory, there was no free space
left on the device.
ACTION Deallocate unneeded disk space.
-------------------------------------------------------------
29 MESSAGE [ESPIPE] Invalid seek. (POSIX.1 ERROR 29)
CAUSE An lseek() function was issued on a pipe or FIFO.
ACTION Do not attempt seeks on pipes or FIFOs.
-------------------------------------------------------------
30 MESSAGE [EROFS] Read-only file system. (POSIX.1 ERROR
30)
CAUSE An attempt was made to modify a file or directory
on a file system that was read-only at that time.
ACTION None.
-------------------------------------------------------------
31 MESSAGE [EMLINK] Too many links. (POSIX.1 ERROR 31)
CAUSE An attempt was made to have the link count of a
single file exceed {LINK_MAX}.
ACTION Reduce the number of links to the offending file or
directory.
-------------------------------------------------------------
32 MESSAGE [EPIPE] Broken pipe. (POSIX.1 ERROR 32)
CAUSE A write was attempted on a pipe or FIFO for which
there was no process to read the data.
ACTION Re-establish the pipe or FIFO.
-------------------------------------------------------------
33 MESSAGE [EDOM] Domain error. (POSIX.1 ERROR 33)
CAUSE Defined in the C Standard; an input argument was
outside the defined domain of the mathematical
function.
ACTION Adhere to mathematical domain requirements.
-------------------------------------------------------------
34 MESSAGE [ERANGE] Result too large. (POSIX.1 ERROR 34)
CAUSE Defined in the C Standard; the result of the
function was too large to fit in the available
space.
ACTION Use a larger buffer space with the function.
-------------------------------------------------------------
35 MESSAGE [ENOMSG] No IPC message waiting. (POSIX.1 ERROR
35)
CAUSE The specified message queue does not contain a
message of the type specified in the mtype
parameter and IPC_NOWAIT was specified in the
msgflg parameter.
ACTION None. Application dependent. The receive
operation can be retried.
-------------------------------------------------------------
36 MESSAGE [EIDRM] Identifier removed. (POSIX.1 ERROR 36)
CAUSE The System V IPC resource ID used has been removed.
ACTION Use an allocated IPC resource.
-------------------------------------------------------------
45 MESSAGE [EDEADLK] Resource deadlock avoided. (POSIX.1
ERROR 45)
CAUSE An attempt was made to lock a system resource that
would have resulted in a deadlock situation.
ACTION Try again at a later time or free the resources
which would have lead deadlock.
-------------------------------------------------------------
46 MESSAGE [ENOLCK] No locks available. (POSIX.1 ERROR 46)
CAUSE A system-imposed limit on the number of
simultaneous file and record locks was reached, and
no more were available at that time.
ACTION Remove unneeded locks and try again.
-------------------------------------------------------------
47 MESSAGE [EEXCL] File can't be opened exclusively.
(POSIX.1 ERROR 47)
CAUSE Attempt to open an existing file exclusively failed
because file is already opened.
ACTION Assure that no other processes have the file opened
before attempting to open the file exclusively.
-------------------------------------------------------------
48 MESSAGE [EIMPL] Implementation error. (POSIX.1 ERROR 48)
CAUSE One of several implementation-specific errors of
occurred. See the MPE/iX Developer's Kit Reference
Manual for more information.
ACTION See the MPE/iX Developer's Kit Reference Manual
-------------------------------------------------------------
50 MESSAGE [ESYSERR] Internal Operating System error.
(POSIX.1 ERROR 50)
CAUSE This implementation has detected that an internal
Operating System error has occurred which is not
applicable to the POSIX.1 environment.
ACTION Consult a HP support engineer.
-------------------------------------------------------------
56 MESSAGE [ESEEK] Device does not support seeking.
(POSIX.1 ERROR 56)
CAUSE The device is such that does not support the
concept of seeking by the lseek() function.
ACTION Do not attempt a seek on such a device.
-------------------------------------------------------------
233 MESSAGE [ENOBUFS] No buffer space available. (POSIX.1
ERROR 233)
CAUSE Buffer space allocated from the process heap space
is currently depleted.
ACTION Deallocate or release unused buffer space.
-------------------------------------------------------------
247 MESSAGE [ENOTEMPTY] Directory not empty. (POSIX.1 ERROR
247)
CAUSE A directory with entries other than dot and dot-dot
was supplied when an empty directory was expected.
ACTION Remove all file and directories in target
directory.
-------------------------------------------------------------
248 MESSAGE [ENAMETOOLONG] Filename too long. (POSIX.1 ERROR
248)
CAUSE The size of a pathname string exceeded {PATH_MAX},
or a pathname component was longer than {NAME_MAX}
and {_POSIX_NO_TRUNC} was in effect for that file.
ACTION Use shorter pathnames or filenames.
-------------------------------------------------------------
251 MESSAGE [ENOSYS] Function not implemented. (POSIX.1
ERROR 251)
CAUSE An attempt was made to use a function that is not
available in this implementation.
ACTION Refer to the MPE/iX Developer's Kit Reference
Manual for implementation-defined functionality.
-------------------------------------------------------------
MPE/iX 5.5 Documentation