Operating Systems

Linux Error Codes

Linux error codes are usually errno values: small integers returned by system calls and mapped to symbolic names such as EACCES or ENOENT. Programs print the symbolic name, the number, and a message. The symbolic name is the stable identifier; the number can vary across architectures.

13 codes Source: Linux man-pages: errno(3) Last verified 2026-11-10
13 codes
CodeWhat it meansSeveritySource
EPERM (1) Operation Not Permitted
The operation is not permitted for this process, even with elevated privileges.
error Linux man-pages: errno(3)
ENOENT (2) No Such File or Directory
The file or directory does not exist at the path used.
error Linux man-pages: errno(3)
EIO (5) Input/Output Error
A low-level I/O operation failed.
fatal Linux man-pages: errno(3)
EACCES (13) Permission Denied
The process does not have permission to access the file or directory.
error Linux man-pages: errno(3)
ENOMEM (12) Cannot Allocate Memory
The system or process cannot allocate the requested memory.
error Linux man-pages: errno(3)
EBUSY (16) Device or Resource Busy
The resource is busy and cannot be used or released.
warning Linux man-pages: errno(3)
EEXIST (17) File Exists
The file or directory already exists.
warning Linux man-pages: errno(3)
EINVAL (22) Invalid Argument
A system call or library function received an invalid argument.
warning Linux man-pages: errno(3)
EMFILE (24) Too Many Open Files
The process reached its open file descriptor limit.
error Linux man-pages: errno(3)
ENOSPC (28) No Space Left on Device
The file system or device has no free space.
error Linux man-pages: errno(3)
EADDRINUSE (98) Address Already in Use
The network address or port is already bound.
error Linux man-pages: errno(3)
ECONNREFUSED (111) Connection Refused
The remote host actively refused the connection.
error Linux man-pages: errno(3)
ETIMEDOUT (110) Connection Timed Out
A connection or operation timed out.
error Linux man-pages: errno(3)

Common Linux codes

How to read Linux codes

Start with the exact code and the context in which it appeared. A code is only a label: the same value can mean different things in different products, versions, or components. Use the quick answer and the official source on the detail page to confirm the meaning before changing a configuration or deleting data.

If the code is new to you, search this page first, then open the detail page for causes and step-by-step fixes. When a fix requires administrator rights, a reboot, or a data-destructive action, the page will say so explicitly.

Found a mistake or a missing code?

Send us the product, code, and official source. We review every correction before publishing.

Suggest a correction