Errors:linux System Errors

Source: Internet
Author: User
Tags connection reset

When system requests fail, error code is returned. To understand the nature of the "error these codes need to be interpreted. They is recorded in:-

  /usr/include/asm/errno.h

Here is a copy of the that file as of the 2004 on RedHat 7.3

#define EPERM 1 */Operation not permitted */#define ENOENT 2 */No such file or directory */#define ESRCH 3/* No such process */#define EINTR 4/* Interrupted system call */#defin            E EIO 5 */I/O error */#define ENXIO 6/* No such device or address */#define E2big      7/* ARG list too long */#define ENOEXEC 8/* Exec format Error */#define EBADF 9 /* Bad file number */#define ECHILD/* No child processes */#define EAGAIN/* Try Agai n */#define ENOMEM/* Out of Memory */#define EACCES//Permission denied */#define Efau       LT/* Bad address */#define ENOTBLK/* Block device required */#define EBUSY 16 /* Device or resource busy */#define EEXIST/* File exists */#define EXDEV//Cro Ss-device Link */#define Enodev/* No such device */#define ENOTDIR/* Not a directory */#define Eisdir */* is a directory */#define EINVAL */Invalid argument */#define ENFILE */File Table overflow */#define EMFILE/* Too many open files */#define ENOTTY//Not a Typewri TER * * #define ETXTBSY/* Text file Busy */#define EFBIG/* File too large */#define ENOS           PC/* No space left on device */#define ESPIPE/* Illegal seek */#define Erofs  */* read-only file System */#define EMLINK */Too many links */#define EPIPE 32/*  Broken pipe */#define EDOM/* Math argument out of domain of Func */#define ERANGE 34/*    Math Result not representable */#define EDEADLK//Resource deadlock would occur */#define Enametoolong /*/File name TOO long */#define ENOLCK Notoginseng/No record locks available */#define ENOSYS */Function Not I  mplemented */#define ENOTEMPTY/* Directory not empty */#define ELOOP//Too many symbolic Links encountered */#define EWOULDBLOCK Eagain */operation would block */#define ENOMSG/* No mess Age of desired type */#define EIDRM */Identifier removed */#define ECHRNG//Channel N Umber out of range */#define EL2NSYNC */Level 2 not synchronized */#define EL3HLT/*/leve L 3 halted */#define EL3RST */Level 3 Reset */#define ELNRNG/* Link number out of rang E/#define Eunatch */Protocol driver not attached */#define ENOCSI//NO CSI structure Available */#define EL2HLT/* Level 2 halted */#define EBADE//Invalid Exchange */#def  INE Ebadr 53    /* Invalid Request Descriptor */#define EXFULL/* Exchange full */#define ENOANO 55/* No Anode */#define EBADRQC/* Invalid Request code */#define EBADSLT//Invalid slot */#de Fine Edeadlock edeadlk#define ebfont/* Bad font file format */#define ENOSTR */D Evice not a stream */#define ENODATA/* NO data available */#define ETIME//Timer Expir Ed */#define ENOSR/* Out of streams resources */#define ENONET */machine isn't on th  E Network */#define ENOPKG/* Package not installed */#define EREMOTE/* Object is remote  */#define ENOLINK */* Link has been severed */#define EADV//Advertise error */#define ESRMNT/* Srmount error */#define ECOMM/* communication error on send/#define Eprot O/* PrOtocol Error */#define EMULTIHOP */* multihop attempted */#define EDOTDOT/*/RFS specific err or * * #define EBADMSG/* Not a data message * * #define EOVERFLOW */Value too large for define D data type */#define ENOTUNIQ/* Name not unique on network */#define EBADFD */* File desc Riptor in Bad state */#define EREMCHG/* Remote address changed */#define ELIBACC//Can N OT access a needed shared library */#define ELIBBAD/* Accessing a corrupted Shared library */#define Elib  SCN/*. lib section in a.out corrupted */#define ELIBMAX/* Attempting to link in too many      Shared libraries */#define ELIBEXEC//cannot exec a shared library directly */#define EILSEQ 84 /* Illegal byte sequence */#define ERESTART//interrupted system call should be restarted */#define E Strpipe 86/* Streams Pipe Error */#define EUSERS */Too many users */#define ENOTSOCK */* Socket Opera tion on Non-socket */#define EDESTADDRREQ//Destination address required */#define EMSGSIZE 90/* Message too long */#define EPROTOTYPE/* Protocol wrong type for socket */#define ENOPROTOOPT 92/* Protocol Not Available */#define EPROTONOSUPPORT */Protocol not supported * * #define ESOCKTNOSUPPORT 94/* SO Cket type not supported */#define EOPNOTSUPP */operation not supported on transport endpoint */#define EPFNO Support Protocol/* Family not supported */#define EAFNOSUPPORT/* Address family not supported by P Rotocol */#define EADDRINUSE 98/* Address already in use */#define EADDRNOTAVAIL//* Cannot assign req uested Address */#define ENETDOWN/* Network is down */#define ENETUNREACH 101/* Network is UNREAC Hable */#define EnetreseT 102/* Network dropped connection because of Reset */#define ECONNABORTED 103/* Software caused Connec tion Abort */#define ECONNRESET 104/* Connection Reset by Peer */#define ENOBUFS * * No buffer sp     ACE available */#define EISCONN 106/* Transport endpoint is already connected */#define ENOTCONN 107 /* Transport endpoint is not connected */#define ESHUTDOWN 108/* Cannot send after Transport endpoint Shutdo  WN */#define ETOOMANYREFS 109 */Too many references:cannot splice */#define ETIMEDOUT/* Connection Timed out */#define ECONNREFUSED 111/* Connection refused */#define EHOSTDOWN/* Host is down */#de Fine Ehostunreach 113 * * No route to host */#define EALREADY */operation already in progress */#def INE einprogress */* Operation now in progress */#define ESTALE */* Stale NFS file handle */#def INE Euclean 117    /* Structure Needs cleaning * * #define ENOTNAM 118 * Not a XENIX named type file */#define Enavail       119 */No XENIX semaphores available */#define EISNAM/* is a named type file */#define Eremoteio 121/* Remote I/O error */#define EDQUOT 122/* Quota exceeded */#define ENOMEDIUM 123/* N o Medium found */#define EMEDIUMTYPE 124/* Wrong medium type */

Errors:linux System Errors

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.