Linux Error Codes – Number • Symbol • Message

7E2BIGArgument list too long
13EACCESPermission denied
98EADDRINUSEAddress already in use
99EADDRNOTAVAILCannot assign requested address
68EADVAdvertise error
97EAFNOSUPPORTAddress family not supported by protocol
11EAGAINTry again
114EALREADYOperation already in progress
52EBADEInvalid exchange
9EBADFBad file number
77EBADFDFile descriptor in bad state
74EBADMSGNot a data message
53EBADRInvalid request descriptor
56EBADRQCInvalid request code
57EBADSLTInvalid slot
59EBFONTBad font file format
16EBUSYDevice or resource busy
125ECANCELEDOperation Canceled
10ECHILDNo child processes
44ECHRNGChannel number out of range
70ECOMMCommunication error on send
103ECONNABORTEDSoftware caused connection abort
111ECONNREFUSEDConnection refused
104ECONNRESETConnection reset by peer
35EDEADLKResource deadlock would occur
89EDESTADDRREQDestination address required
33EDOMMath argument out of domain of func
73EDOTDOTRFS specific error
122EDQUOTQuota exceeded
17EEXISTFile exists
14EFAULTBad address
27EFBIGFile too large
112EHOSTDOWNHost is down
113EHOSTUNREACHNo route to host
133EHWPOISONMemory page has hardware error
43EIDRMIdentifier removed
84EILSEQIllegal byte sequence
115EINPROGRESSOperation now in progress
4EINTRInterrupted system call
22EINVALInvalid argument
5EIOI/O error
106EISCONNTransport endpoint is already connected
21EISDIRIs a directory
120EISNAMIs a named type file
127EKEYEXPIREDKey has expired
129EKEYREJECTEDKey was rejected by service
128EKEYREVOKEDKey has been revoked
51EL2HLTLevel 2 halted
45EL2NSYNCLevel 2 not synchronized
46EL3HLTLevel 3 halted
47EL3RSTLevel 3 reset
79ELIBACCCan not access a needed shared library
80ELIBBADAccessing a corrupted shared library
83ELIBEXECCannot exec a shared library directly
82ELIBMAXAttempting to link in too many shared libraries
81ELIBSCN.lib section in a.out corrupted
48ELNRNGLink number out of range
40ELOOPToo many symbolic links encountered
124EMEDIUMTYPEWrong medium type
24EMFILEToo many open files
31EMLINKToo many links
90EMSGSIZEMessage too long
72EMULTIHOPMultihop attempted
36ENAMETOOLONGFile name too long
119ENAVAILNo XENIX semaphores available
100ENETDOWNNetwork is down
102ENETRESETNetwork dropped connection because of reset
101ENETUNREACHNetwork is unreachable
23ENFILEFile table overflow
55ENOANONo anode
105ENOBUFSNo buffer space available
50ENOCSINo CSI structure available
61ENODATANo data available
19ENODEVNo such device
2ENOENTNo such file or directory
8ENOEXECExec format error
126ENOKEYRequired key not available
37ENOLCKNo record locks available
67ENOLINKLink has been severed
123ENOMEDIUMNo medium found
12ENOMEMOut of memory
42ENOMSGNo message of desired type
64ENONETMachine is not on the network
65ENOPKGPackage not installed
92ENOPROTOOPTProtocol not available
28ENOSPCNo space left on device
63ENOSROut of streams resources
60ENOSTRDevice not a stream
38ENOSYSInvalid system call number
15ENOTBLKBlock device required
107ENOTCONNTransport endpoint is not connected
20ENOTDIRNot a directory
39ENOTEMPTYDirectory not empty
118ENOTNAMNot a XENIX named type file
131ENOTRECOVERABLEState not recoverable
88ENOTSOCKSocket operation on non-socket
25ENOTTYNot a typewriter
76ENOTUNIQName not unique on network
6ENXIONo such device or address
95EOPNOTSUPPOperation not supported on transport endpoint
75EOVERFLOWValue too large for defined data type
130EOWNERDEADOwner died
1EPERMOperation not permitted
96EPFNOSUPPORTProtocol family not supported
32EPIPEBroken pipe
71EPROTOProtocol error
93EPROTONOSUPPORTProtocol not supported
91EPROTOTYPEProtocol wrong type for socket
34ERANGEMath result not representable
78EREMCHGRemote address changed
66EREMOTEObject is remote
121EREMOTEIORemote I/O error
85ERESTARTInterrupted system call should be restarted
132ERFKILLOperation not possible due to RF-kill
30EROFSRead-only file system
108ESHUTDOWNCannot send after transport endpoint shutdown
94ESOCKTNOSUPPORTSocket type not supported
29ESPIPEIllegal seek
3ESRCHNo such process
69ESRMNTSrmount error
116ESTALEStale file handle
86ESTRPIPEStreams pipe error
62ETIMETimer expired
110ETIMEDOUTConnection timed out
109ETOOMANYREFSToo many references: cannot splice
26ETXTBSYText file busy
117EUCLEANStructure needs cleaning
49EUNATCHProtocol driver not attached
87EUSERSToo many users
41EWOULDBLOCKOperation would block
18EXDEVCross-device link
54EXFULLExchange full

(Codes are as used in Debian Stretch on RPi.)

Updated July 24, 2021