Linux操作系统错误代码解释 (中英文对照)
Linux网络编程socket错误码分析(精品)

Linux网络编程socket错误分析socket错误码:EINTR:4阻塞的操作被取消阻塞的调用打断。
如设置了发送接收超时,就会遇到这种错误。
只能针对阻塞模式的socket。
读,写阻塞的socket时,-1返回,错误号为INTR。
另外,如果出现EINTR即errno为4,错误描述Interrupted system call,操作也应该继续。
如果recv 的返回值为0,那表明连接已经断开,接收操作也应该结束。
ETIMEOUT:1101、操作超时。
一般设置了发送接收超时,遇到网络繁忙的情况,就会遇到这种错误。
2、服务器做了读数据做了超时限制,读时发生了超时。
3、错误被描述为“connect time out”,即“连接超时”,这种情况一般发生在服务器主机崩溃。
此时客户TCP 将在一定时间内(依具体实现)持续重发数据分节,试图从服务TCP 获得一个ACK 分节。
当最终放弃尝试后(此时服务器未重新启动),内核将会向客户进程返回ETIMEDOUT 错误。
如果某个中间路由器判定该服务器主机已经不可达,则一般会响应“destination unreachable”-“目的地不可达”的ICMP消息,相应的客户进程返回的错误是EHOSTUNREACH 或ENETUNREACH。
当服务器重新启动后,由于TCP 状态丢失,之前所有的连接信息也不存在了,此时对于客户端发来请求将回应RST。
如果客户进程对检测服务器主机是否崩溃很有必要,要求即使客户进程不主动发送数据也能检测出来,那么需要使用其它技术,如配置SO_KEEPALIVE Socket 选项,或实现某些心跳函数。
EAGAIN:1、Send返回值小于要发送的数据数目,会返回EAGAIN和EINTR。
2、recv 返回值小于请求的长度时说明缓冲区已经没有可读数据,但再读不一定会触发EAGAIN,有可能返回0表示TCP连接已被关闭。
3、当socket是非阻塞时,如返回此错误,表示写缓冲队列已满,可以做延时后再重试.4、在Linux进行非阻塞的socket接收数据时经常出现Resource temporarily unavailable,errno 代码为11(EAGAIN),表明在非阻塞模式下调用了阻塞操作,在该操作没有完成就返回这个错误,这个错误不会破坏socket的同步,不用管它,下次循环接着recv就可以。
linux oserror unknown error 523 -回复

linux oserror unknown error 523 -回复原因和解决办法。
首先,错误代码"OSError Unknown Error 523"是一个与Linux操作系统相关的错误代码。
它表示在执行特定操作时发生了一个未知的错误。
这个错误代码通常出现在使用Linux系统时遇到的一些问题中。
在本文中,我们将深入探讨这个错误的可能原因,并提供一些解决方案以帮助用户解决问题。
在解决这个错误之前,我们需要了解一些基本的概念和背景信息。
首先,Linux是一种广泛使用的开源操作系统,它被用于许多不同的设备和环境中。
尽管Linux非常稳定和可靠,但在某些情况下,用户可能会遇到一些问题。
那么,造成"OSError Unknown Error 523"错误的原因是什么呢?以下是可能的原因:1. 软件或驱动程序的冲突:在某些情况下,不同的软件或驱动程序之间可能会发生冲突,导致错误的发生。
2. 硬件故障:某些硬件部件的故障可能会导致操作系统出现错误。
3. 操作系统错误:操作系统本身可能存在某些错误,导致出现未知的错误。
那么接下来,我们将探讨一些可能的解决方案,以帮助您解决"OSError Unknown Error 523"问题:1. 更新操作系统:首先,确保您的Linux系统是最新的。
经常更新操作系统版本是解决各种问题的一种常见方法,因为新版本通常包含了修复和改进。
2. 检查软件和驱动程序冲突:如果您在执行特定操作时遇到了错误,尝试确定是否是由于某些软件或驱动程序之间的冲突引起的。
您可以通过在启动时禁用一些软件或驱动程序来进行测试,并逐一排查可能的问题。
3. 检查硬件故障:如果您怀疑某个硬件组件故障导致了错误,可以尝试进行一些基本的硬件故障排除步骤。
检查硬件连接是否正常,排除损坏的硬件组件,并确保所有硬件设备都与系统兼容。
4. 检查系统日志:系统日志记录了操作系统的活动和错误信息。
Linux出错提示信息详解

Linux出错提示信息详解深入地讲:许多人害怕Linux,因为它给出的出错提示信息简直像天书一样。
并且这样的信息有很多。
如果你在Linux Format(译者注:这是一家英国销售量最好的Linux杂志)的论坛上搜索“Error”这个词,你将会得到超过150页的内容。
那些是许多人遇到的许多问题。
用户们遇到的最大的困难并非出错提示信息的数量,而是如何从中找出有用的东西。
例如,“Kernel Oops”是什么意思,或者“PCI can't allocate”是什么意思?Linux的出错提示相当愚钝且很难理解,几乎起不了什么帮助。
这是一个遗憾,因为大绝大多数问题本可以很容易的解决,而且有相当数量的涉及同样问题的出错提示一次又一次的出现。
用商业圈里的话来说,这是最能获得立竿见影效果的部分(译者:不知些句如此翻译妥当否?请指教)。
我们要解决的正是这一部分问题。
启动你的系统不需要你成为一个Linux专家,播放视频文件也无需成为程序员。
然而大部分出错信息都假定他们的用户已掌握了此类专门技术。
我们试图阐明这些常见错误,并提供解决方案,以帮助普通的Linux用户规避这些问题,并使他们的系统回到正常状态。
我们挑选了一些我们认为问题最多的领域,包括启动、常规软件应用、文件系统、网络和发行版的安装。
我们从每个领域中挑选了几个最常见的错误,并解释了相应的解决方案是如何起作用的。
这样做的目的是,即使这些问题不适合你的情况,你也能了解为什么Linux的出错提示信息看上去如此的难以捉摸并令人生畏。
希望你能从中学会找到解决自己问题所需知识的方法。
发行版的安装每一种Linux发行版都有不同的安装例程,并且都会制造一些问题。
Ubuntu也许在一台电脑上工作良好而另外一台则不行。
一台安装了Ubuntu并运行正常的电脑也许根本无法安装Fedora,OpenSUSE, Linux Mint, 或者Mandriva...ERROR Can't boot from CD/DVD(无法从光盘启动)如何你刚开始接触Linux,下述情况通常会是你对该操作系统的第一体验:你将你的新光盘放入光驱并重启电脑,结果发现却是进入了你先前使用的操作系统。
linux系统错误码大全

linux系统错误码⼤全#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 */#define 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 10 /* No child processes */#define EAGAIN 11 /* Try again */#define ENOMEM 12 /* Out of memory */#define EACCES 13 /* Permission denied */#define EFAULT 14 /* Bad address */#define ENOTBLK 15 /* Block device required */#define EBUSY 16 /* Device or resource busy */#define EEXIST 17 /* File exists */#define EXDEV 18 /* Cross-device link */#define ENODEV 19 /* No such device */#define ENOTDIR 20 /* Not a directory */#define EISDIR 21 /* Is a directory */#define EINVAL 22 /* Invalid argument */#define ENFILE 23 /* File table overflow */#define EMFILE 24 /* Too many open files */#define ENOTTY 25 /* Not a typewriter */#define ETXTBSY 26 /* Text file busy */#define EFBIG 27 /* File too large */#define ENOSPC 28 /* No space left on device */#define ESPIPE 29 /* Illegal seek */#define EROFS 30 /* Read-only file system */#define EMLINK 31 /* Too many links */#define EPIPE 32 /* Broken pipe */#define EDOM 33 /* Math argument out of domain of func */#define ERANGE 34 /* Math result not representable */#define EDEADLK 35 /* Resource deadlock would occur */#define ENAMETOOLONG 36 /* File name too long */#define ENOLCK 37 /* No record locks available */#define ENOSYS 38 /* Function not implemented */#define ENOTEMPTY 39 /* Directory not empty */#define ELOOP 40 /* Too many symbolic links encountered */#define EWOULDBLOCK EAGAIN /* Operation would block */#define ENOMSG 42 /* No message of desired type */#define EIDRM 43 /* Identifier removed */#define ECHRNG 44 /* Channel number out of range */#define EL2NSYNC 45 /* Level 2 not synchronized */#define EL3HLT 46 /* Level 3 halted */#define EL3RST 47 /* Level 3 reset */#define ELNRNG 48 /* Link number out of range */#define EUNATCH 49 /* Protocol driver not attached */#define ENOCSI 50 /* No CSI structure available */#define EL2HLT 51 /* Level 2 halted */#define EBADE 52 /* Invalid exchange */#define EBADR 53 /* Invalid request descriptor */#define EXFULL 54 /* Exchange full */#define ENOANO 55 /* No anode */#define EBADRQC 56 /* Invalid request code */#define EBADSLT 57 /* Invalid slot */#define EDEADLOCK EDEADLK#define EBFONT 59 /* Bad font file format */#define ENOSTR 60 /* Device not a stream */#define ENODATA 61 /* No data available */#define ETIME 62 /* Timer expired */#define ENOSR 63 /* Out of streams resources */#define ENONET 64 /* Machine is not on the network */#define ENOPKG 65 /* Package not installed */#define EREMOTE 66 /* Object is remote */#define ENOLINK 67 /* Link has been severed */#define EADV 68 /* Advertise error */#define ESRMNT 69 /* Srmount error */#define ECOMM 70 /* Communication error on send */#define EPROTO 71 /* Protocol error */#define EMULTIHOP 72 /* Multihop attempted */#define EDOTDOT 73 /* RFS specific error */#define EBADMSG 74 /* Not a data message */#define EOVERFLOW 75 /* Value too large for defined data type */#define ENOTUNIQ 76 /* Name not unique on network */#define EBADFD 77 /* File descriptor in bad state */#define EREMCHG 78 /* Remote address changed */#define ELIBACC 79 /* Can not access a needed shared library */#define ELIBBAD 80 /* Accessing a corrupted shared library */#define ELIBSCN 81 /* .lib section in a.out corrupted */#define ELIBMAX 82 /* Attempting to link in too many shared libraries */#define ELIBEXEC 83 /* Cannot exec a shared library directly */#define EILSEQ 84 /* Illegal byte sequence */#define ERESTART 85 /* Interrupted system call should be restarted */#define ESTRPIPE 86 /* Streams pipe error */#define EUSERS 87 /* Too many users */#define ENOTSOCK 88 /* Socket operation on non-socket */#define EDESTADDRREQ 89 /* Destination address required */#define EMSGSIZE 90 /* Message too long */#define EPROTOTYPE 91 /* Protocol wrong type for socket */#define ENOPROTOOPT 92 /* Protocol not available */#define EPROTONOSUPPORT 93 /* Protocol not supported */#define ESOCKTNOSUPPORT 94 /* Socket type not supported */#define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ #define EPFNOSUPPORT 96 /* Protocol family not supported */#define EAFNOSUPPORT 97 /* Address family not supported by protocol */#define EADDRINUSE 98 /* Address already in use */#define EADDRNOTAVAIL 99 /* Cannot assign requested address */#define ENETDOWN 100 /* Network is down */#define ENETUNREACH 101 /* Network is unreachable */#define ENETRESET 102 /* Network dropped connection because of reset */ #define ECONNABORTED 103 /* Software caused connection abort */#define ECONNRESET 104 /* Connection reset by peer */#define ENOBUFS 105 /* No buffer space 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 shutdown */ #define ETOOMANYREFS 109 /* Too many references: cannot splice */#define ETIMEDOUT 110 /* Connection timed out */#define ECONNREFUSED 111 /* Connection refused */#define EHOSTDOWN 112 /* Host is down */#define EHOSTUNREACH 113 /* No route to host */#define EALREADY 114 /* Operation already in progress */#define EINPROGRESS 115 /* Operation now in progress */#define ESTALE 116 /* Stale NFS file handle */#define EUCLEAN 117 /* Structure needs cleaning */#define ENOTNAM 118 /* Not a XENIX named type file */#define ENAVAIL 119 /* No XENIX semaphores available */#define EISNAM 120 /* Is a named type file */#define EREMOTEIO 121 /* Remote I/O error */#define EDQUOT 122 /* Quota exceeded */#define ENOMEDIUM 123 /* No medium found */#define EMEDIUMTYPE 124 /* Wrong medium type */。
系统Code_error对照表

网上找的,号称全集,但至少是比较多的了。
和大家分享一下,方便大家查找。
(一)0 0x0000 作业完成。
10x0001 不正确的函数。
20x0002 系统找不到指定的档案。
30x0003 系统找不到指定的路径。
40x0004 系统无法开启档案。
50x0005 拒绝存取。
60x0006 无效的代码。
70x0007 储存体控制区块已毁。
80x0008 储存体空间不足,无法处理这个指令。
90x0009 储存体控制区块位址无效。
100x000A 环境不正确。
110x000B 尝试载入一个格式错误的程式。
120x000C 存取码错误。
130x000D 资料错误。
140x000E 储存体空间不够,无法完成这项作业。
150x000F 系统找不到指定的磁碟机。
160x0010 无法移除目录。
170x0011 系统无法将档案移到其他的磁碟机。
180x0012 没有任何档案。
190x0013 储存媒体为防写状态。
200x0014 系统找不到指定的装置。
210x0015 装置尚未就绪。
220x0016 装置无法识别指令。
230x0017 资料错误 (cyclic redundancy check) 24 0x0018 程式发出一个长度错误的指令。
250x0019 磁碟机在磁碟找不到持定的磁区或磁轨。
260x001A 指定的磁碟或磁片无法存取。
270x001B 磁碟机找不到要求的磁区。
280x001C 印表机没有纸。
290x001D 系统无法将资料写入指定的磁碟机。
300x001E 系统无法读取指定的装置。
310x001F 连接到系统的某个装置没有作用。
320x0020 The process cannot access the file because it is being used by another process.330x0021 档案的一部份被锁定,现在无法存取。
340x0022 磁碟机的磁片不正确。
请将 %2 (Volume Serial Number: %3) 插入磁碟机 %1。
常见的Linux系统错误码

常见的Linux系统错误码,即errorno的值1 EPERM Operation not permitted 操作不许可2 ENOENT No such file or directory 无此文件或目录3 ESRCH No such process 无此过程4 EINTR Interrupted system call 系统调用被禁止5 EIO I/O error I/O 错误6 ENXIO No such device or address 无此器件或地址7 E2BIG Arg list too long Arg 列表太长8 ENOEXEC Exec format error Exec 格式错误9 EBADF Bad file number 文件数目错误10 ECHILD No child processes 无子过程11 EAGAIN Try again 再试一遍12 ENOMEM Out of memory 内存溢出13 EACCES Permission denied 许可拒绝14 EFAULT Bad address 错误的地址15 ENOTBLK Block device required 需要块设备16 EBUSY Device or resource busy 设备或资源忙17 EEXIST File exists 文件存在18 EXDEV Cross-device link 跨器链接19 ENODEV No such device 无此设备20 ENOTDIR Not a directory 不是一个目录21 EISDIR Is a directory 是一个目录22 EINV AL Invalid argument 无效的函数自变量23 ENFILE File table overflow 文件表溢出24 EMFILE Too many open files 打开的文件太多25 ENOTTY Inappropriate ioctl for device26 ETXTBSY Text file busy 文本文件忙27 EFBIG File too large 文件太大28 ENOSPC No space left on device 磁盘空间不足29 ESPIPE Illegal seek 不合法的寻找30 EROFS Read-only file system 只读文件系统31 EMLINK Too many links 太多的链接/usr/include/asm-generic/errno-base.h#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 */ #define EIO 5 /* I/O error */#define ENXIO 6 /* No such device or address */ #define E2BIG 7 /* Argument list too long */#define ENOEXEC 8 /* Exec format error */#define EBADF 9 /* Bad file number */#define ECHILD 10 /* No child processes */#define EAGAIN 11 /* Try again */#define ENOMEM 12 /* Out of memory */#define EACCES 13 /* Permission denied */#define EFAULT 14 /* Bad address */#define ENOTBLK 15 /* Block device required */#define EBUSY 16 /* Device or resource busy */ #define EEXIST 17 /* File exists */#define EXDEV 18 /* Cross-device link */#define ENODEV 19 /* No such device */#define ENOTDIR 20 /* Not a directory */#define EISDIR 21 /* Is a directory */#define EINVAL 22 /* Invalid argument */#define ENFILE 23 /* File table overflow */#define EMFILE 24 /* Too many open files */#define ENOTTY 25 /* Not a typewriter */#define ETXTBSY 26 /* Text file busy */#define EFBIG 27 /* File too large */#define ENOSPC 28 /* No space left on device */#define ESPIPE 29 /* Illegal seek */#define EROFS 30 /* Read-only file system */#define EMLINK 31 /* Too many links */#define EPIPE 32 /* Broken pipe */#define EDOM 33 /* Math argument out of domain of func */ #define ERANGE 34 /* Math result not representable *//usr/include/asm-generic/errno.h#define EDEADLK 35 /* Resource deadlock would occur */#define ENAMETOOLONG 36 /* File name too long */#define ENOLCK 37 /* No record locks available */#define ENOSYS 38 /* Function not implemented */#define ENOTEMPTY 39 /* Directory not empty */#define ELOOP 40 /* Too many symbolic links encountered */ #define EWOULDBLOCK EAGAIN /* Operation would block */#define ENOMSG 42 /* No message of desired type */#define EIDRM 43 /* Identifier removed */#define ECHRNG 44 /* Channel number out of range */#define EL2NSYNC 45 /* Level 2 not synchronized */#define EL3HLT 46 /* Level 3 halted */#define EL3RST 47 /* Level 3 reset */#define ELNRNG 48 /* Link number out of range */#define EUNATCH 49 /* Protocol driver not attached */ #define ENOCSI 50 /* No CSI structure available */#define EL2HLT 51 /* Level 2 halted */#define EBADE 52 /* Invalid exchange */#define EBADR 53 /* Invalid request descriptor */#define EXFULL 54 /* Exchange full */#define ENOANO 55 /* No anode */#define EBADRQC 56 /* Invalid request code */#define EBADSLT 57 /* Invalid slot */#define EDEADLOCK EDEADLK#define EBFONT 59 /* Bad font file format */#define ENOSTR 60 /* Device not a stream */#define ENODATA 61 /* No data available */#define ETIME 62 /* Timer expired */#define ENOSR 63 /* Out of streams resources */#define ENONET 64 /* Machine is not on the network */ #define ENOPKG 65 /* Package not installed */#define EREMOTE 66 /* Object is remote */#define ENOLINK 67 /* Link has been severed */#define EADV 68 /* Advertise error */#define ESRMNT 69 /* Srmount error */#define ECOMM 70 /* Communication error on send */#define EPROTO 71 /* Protocol error */#define EMULTIHOP 72 /* Multihop attempted */#define EDOTDOT 73 /* RFS specific error */#define EBADMSG 74 /* Not a data message */#define EOVERFLOW 75 /* Value too large for defined data type */#define ENOTUNIQ 76 /* Name not unique on network */#define EBADFD 77 /* File descriptor in bad state */#define EREMCHG 78 /* Remote address changed */#define ELIBACC 79 /* Can not access a needed shared library */#define ELIBBAD 80 /* Accessing a corrupted shared library */#define ELIBSCN 81 /* .lib section in a.out corrupted */#define ELIBMAX 82 /* Attempting to link in too many shared libraries */ #define ELIBEXEC 83 /* Cannot exec a shared library directly */#define EILSEQ 84 /* Illegal byte sequence */#define ERESTART 85 /* Interrupted system call should be restarted */#define ESTRPIPE 86 /* Streams pipe error */#define EUSERS 87 /* Too many users */#define ENOTSOCK 88 /* Socket operation on non-socket */#define EDESTADDRREQ 89 /* Destination address required */#define EMSGSIZE 90 /* Message too long */#define EPROTOTYPE 91 /* Protocol wrong type for socket */#define ENOPROTOOPT 92 /* Protocol not available */#define EPROTONOSUPPORT 93 /* Protocol not supported */#define ESOCKTNOSUPPORT 94 /* Socket type not supported */#define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */#define EPFNOSUPPORT 96 /* Protocol family not supported */#define EAFNOSUPPORT 97 /* Address family not supported by protocol */ #define EADDRINUSE 98 /* Address already in use */#define EADDRNOTAVAIL 99 /* Cannot assign requested address */#define ENETDOWN 100 /* Network is down */#define ENETUNREACH 101 /* Network is unreachable */#define ENETRESET 102 /* Network dropped connection because of reset */#define ECONNABORTED 103 /* Software caused connection abort */#define ECONNRESET 104 /* Connection reset by peer */#define ENOBUFS 105 /* No buffer space 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 shutdown */#define ETOOMANYREFS 109 /* Too many references: cannot splice */#define ETIMEDOUT 110 /* Connection timed out */#define ECONNREFUSED 111 /* Connection refused */#define EHOSTDOWN 112 /* Host is down */#define EHOSTUNREACH 113 /* No route to host */#define EALREADY 114 /* Operation already in progress */ #define EINPROGRESS 115 /* Operation now in progress */ #define ESTALE 116 /* Stale NFS file handle */#define EUCLEAN 117 /* Structure needs cleaning */#define ENOTNAM 118 /* Not a XENIX named type file */ #define ENAVAIL 119 /* No XENIX semaphores available */ #define EISNAM 120 /* Is a named type file */#define EREMOTEIO 121 /* Remote I/O error */#define EDQUOT 122 /* Quota exceeded */#define ENOMEDIUM 123 /* No medium found */#define EMEDIUMTYPE 124 /* Wrong medium type */#define ECANCELED 125 /* Operation Canceled */#define ENOKEY 126 /* Required key not available */#define EKEYEXPIRED 127 /* Key has expired */#define EKEYREVOKED 128 /* Key has been revoked */#define EKEYREJECTED 129 /* Key was rejected by service */ /* for robust mutexes */#define EOWNERDEAD 130 /* Owner died */#define ENOTRECOVERABLE 131 /* State not recoverable */。
linux命令执行返回值(附错误对照表)费元星

linux命令执⾏返回值(附错误对照表)费元星在 Linux 下,不管你是启动⼀个桌⾯程序也好,还是在控制台下运⾏命令,所有的程序在结束时,都会返回⼀个数字值,这个值叫做返回值,或者称为错误号 ( Error Number )。
在控制台下,有⼀个特殊的环境变量 $?,保存着前⼀个程序的返回值,我们可以试试:$ ls *.pngDiagram1.png eqn.png peazip.pngeqn4.png Mandelbrot.png x2.png$ echo $?先随便执⾏个命令,⽐如像上⾯的 ls 某些⽂件,然后通过 echo $?,打印 $? 的值~我们发现返回值是 0,这是什么意思呢?只要返回值是 0,就代表程序执⾏成功了~也就是说,如果 $? 变量的值不是 0 的话,就表⽰上⼀个命令在执⾏的过程中出错了。
我们可以试着 ls ⼀个不存在的⽂件:$ ls linuxgemls: ⽆法访问 linuxgem: 没有那个⽂件或⽬录$ echo $?2这样,对于某些打印出⼀堆不熟悉的英⽂信息的命令,可以⽅便的看出它是否成功执⾏结束。
不过,每次都 echo $? ⼀下太累了,没关系,你可以把 $? 放在提⽰符⾥去:galeki@localhost ~ $ export PS1="[\$?]${PS1}"[0]galeki@localhost ~ $export PS1="[\$?]${PS1}" 这个命令把 $? 的值放在的提⽰符的最前⾯,这样每次执⾏完命令,这个值都会⾃动更新,这下就⼀⽬了然了~那么如果返回的值不是 0,我们要怎么知道是那⾥出错了呢?⼤多数的程序出错都会给出提⽰,如果没有提⽰的话,可以⽤ perror 这个程序来查看错误的信息,⽐如返回值是 2,我们可以运⾏:$ perror 2OS error code 2: No such file or directory这样就清楚了,原来是⽂件不存在~错误对照表:"OS error code 1: Operation not permitted""OS error code 2: No such file or directory""OS error code 3: No such process""OS error code 4: Interrupted system call""OS error code 5: Input/output error""OS error code 6: No such device or address""OS error code 7: Argument list too long""OS error code 8: Exec format error""OS error code 9: Bad file descriptor""OS error code 10: No child processes""OS error code 11: Resource temporarily unavailable""OS error code 12: Cannot allocate memory""OS error code 13: Permission denied""OS error code 14: Bad address""OS error code 15: Block device required""OS error code 16: Device or resource busy""OS error code 17: File exists""OS error code 18: Invalid cross-device link""OS error code 19: No such device""OS error code 20: Not a directory""OS error code 21: Is a directory""OS error code 22: Invalid argument""OS error code 23: Too many open files in system""OS error code 24: Too many open files""OS error code 25: Inappropriate ioctl for device""OS error code 26: Text file busy""OS error code 27: File too large""OS error code 28: No space left on device""OS error code 29: Illegal seek""OS error code 30: Read-only file system""OS error code 31: Too many links""OS error code 32: Broken pipe""OS error code 33: Numerical argument out of domain""OS error code 34: Numerical result out of range""OS error code 35: Resource deadlock avoided""OS error code 36: File name too long""OS error code 37: No locks available""OS error code 38: Function not implemented""OS error code 39: Directory not empty""OS error code 40: Too many levels of symbolic links""OS error code 42: No message of desired type""OS error code 43: Identifier removed""OS error code 44: Channel number out of range""OS error code 45: Level 2 not synchronized""OS error code 46: Level 3 halted""OS error code 47: Level 3 reset""OS error code 48: Link number out of range""OS error code 49: Protocol driver not attached""OS error code 50: No CSI structure available""OS error code 51: Level 2 halted""OS error code 52: Invalid exchange""OS error code 53: Invalid request descriptor""OS error code 54: Exchange full""OS error code 55: No anode""OS error code 56: Invalid request code""OS error code 57: Invalid slot""OS error code 59: Bad font file format""OS error code 60: Device not a stream""OS error code 61: No data available""OS error code 62: Timer expired""OS error code 63: Out of streams resources""OS error code 64: Machine is not on the network""OS error code 65: Package not installed""OS error code 66: Object is remote""OS error code 67: Link has been severed""OS error code 68: Advertise error""OS error code 69: Srmount error""OS error code 70: Communication error on send""OS error code 71: Protocol error""OS error code 72: Multihop attempted""OS error code 73: RFS specific error""OS error code 74: Bad message""OS error code 75: Value too large for defined data type""OS error code 76: Name not unique on network""OS error code 77: File descriptor in bad state""OS error code 78: Remote address changed""OS error code 79: Can not access a needed shared library""OS error code 80: Accessing a corrupted shared library""OS error code 81: .lib section in a.out corrupted""OS error code 82: Attempting to link in too many shared libraries" "OS error code 83: Cannot exec a shared library directly""OS error code 84: Invalid or incomplete multibyte or wide character" "OS error code 85: Interrupted system call should be restarted" "OS error code 86: Streams pipe error""OS error code 87: Too many users""OS error code 88: Socket operation on non-socket""OS error code 89: Destination address required""OS error code 90: Message too long""OS error code 91: Protocol wrong type for socket""OS error code 92: Protocol not available""OS error code 93: Protocol not supported""OS error code 94: Socket type not supported""OS error code 95: Operation not supported""OS error code 96: Protocol family not supported""OS error code 97: Address family not supported by protocol""OS error code 98: Address already in use""OS error code 99: Cannot assign requested address""OS error code 100: Network is down""OS error code 101: Network is unreachable""OS error code 102: Network dropped connection on reset""OS error code 103: Software caused connection abort""OS error code 104: Connection reset by peer""OS error code 105: No buffer space available""OS error code 106: Transport endpoint is already connected""OS error code 107: Transport endpoint is not connected""OS error code 108: Cannot send after transport endpoint shutdown""OS error code 109: Too many references: cannot splice""OS error code 110: Connection timed out""OS error code 111: Connection refused""OS error code 112: Host is down""OS error code 113: No route to host""OS error code 114: Operation already in progress""OS error code 115: Operation now in progress""OS error code 116: Stale NFS file handle""OS error code 117: Structure needs cleaning""OS error code 118: Not a XENIX named type file""OS error code 119: No XENIX semaphores available""OS error code 120: Is a named type file""OS error code 121: Remote I/O error""OS error code 122: Disk quota exceeded""OS error code 123: No medium found""OS error code 124: Wrong medium type""OS error code 125: Operation canceled""OS error code 126: Required key not available""OS error code 127: Key has expired""OS error code 128: Key has been revoked""OS error code 129: Key was rejected by service""OS error code 130: Owner died""OS error code 131: State not recoverable""MySQL error code 132: Old database file""MySQL error code 133: No record read before update""MySQL error code 134: Record was already deleted (or record file crashed)" "MySQL error code 135: No more room in record file""MySQL error code 136: No more room in index file""MySQL error code 137: No more records (read after end of file)""MySQL error code 138: Unsupported extension used for table""MySQL error code 139: Too big row""MySQL error code 140: Wrong create options""MySQL error code 141: Duplicate unique key or constraint on write or update" "MySQL error code 142: Unknown character set used""MySQL error code 143: Conflicting table definitions in sub-tables of MERGE table" "MySQL error code 144: Table is crashed and last repair failed""MySQL error code 145: Table was marked as crashed and should be repaired" "MySQL error code 146: Lock timed out; Retry transaction""MySQL error code 147: Lock table is full; Restart program with a larger locktable" "MySQL error code 148: Updates are not allowed under a read only transactions" "MySQL error code 149: Lock deadlock; Retry transaction""MySQL error code 150: Foreign key constraint is incorrectly formed""MySQL error code 151: Cannot add a child row""MySQL error code 152: Cannot delete a parent row"。
errorcode错误代码含义查询

error code(错误代码)=0是操作成功完成。
error code(错误代码)=1是功能错误。
error code(错误代码)=2是系统找不到指定的文件。
error code(错误代码)=3是系统找不到指定的路径。
error code(错误代码)=4是系统无法打开文件。
error code(错误代码)=5是拒绝访问。
error code(错误代码)=6是句柄无效。
error code(错误代码)=7是存储控制块被损坏。
error code(错误代码)=8是存储空间不足,无法处理此命令。
error code(错误代码)=9是存储控制块地址无效。
error code(错误代码)=10是环境错误。
error code(错误代码)=11是试图加载格式错误的程序。
error code(错误代码)=12是访问码无效。
error code(错误代码)=13是数据无效。
error code(错误代码)=14是存储器不足,无法完成此操作。
error code(错误代码)=15是系统找不到指定的驱动器。
error code(错误代码)=16是无法删除目录。
error code(错误代码)=17是系统无法将文件移到不同的驱动器。
error code(错误代码)=18是没有更多文件。
error code(错误代码)=19是介质受写入保护。
error code(错误代码)=20是系统找不到指定的设备。
error code(错误代码)=21是设备未就绪。
error code(错误代码)=22是设备不识别此命令。
error code(错误代码)=23是数据错误(循环冗余检查)。
error code(错误代码)=24是程序发出命令,但命令长度不正确。
error code(错误代码)=25是驱动器无法找出磁盘上特定区域或磁道的位置。
error code(错误代码)=26是无法访问指定的磁盘或软盘。
error code(错误代码)=27是驱动器找不到请求的扇区。
linux recv errorno 6

linux recv errorno 6
在Linux系统中,recv函数返回errno 6(EAGAIN)表示接收操作遇到了以下问题:
EAGAIN:资源暂时不可用。
这通常意味着缓冲区没有数据可接收,或者网络条件不允许接收数据。
在这种情况下,recv函数会返回EAGAIN 错误,并等待一段时间后再次尝试接收。
可能的原因有以下几点:
1. 网络连接断开或尚未建立连接。
2. 接收缓冲区容量不足,需要扩大缓冲区或减少发送方的发送速率。
3. 应用程序正在接收的数据量大于网络传输速率,导致接收缓冲区始终为空。
解决方法:
1. 检查网络连接,确保套接字已正确连接到远程主机。
2. 调整接收缓冲区大小,以便在网络条件不佳时仍能接收数据。
3. 监控发送速率,避免因发送速度过快而导致接收缓冲区始终为空。
4. 检查网络拥塞情况,如有必要,可以通过调整发送和接收参数来
优化网络性能。
需要注意的是,errno 6(EAGAIN)并不是recv函数的唯一错误返回值。
根据不同的错误情况,recv函数还可能返回其他错误码,如EBADF (文件描述符无效)、EFAULT(缓冲区地址无效)等。
要准确判断错误原因,需要结合代码和网络条件进行综合分析。
Linux服务器前台常出现的错误提示及含意

Linux服务器前台常出现的错误提示及含意2008-07-22 20:44◆一般类的提示eth1: Too much work at interrupt, IntrStatus=0x0001这条提示的含意为. 某网卡的中断请求过多. 如果只是偶尔出现一次可忽略. 但这条提示如果经常出现或是集中出现,那涉及到的可能性就比较多有可能需要进行处理了.。
可能性比较多,如网卡性能;服务器性能;网络攻击..等等。
◆一般类的提示IPVS: incoming ICMP: failed checksum from 61.172.0.X!服务器收到了一个校验和错误的ICMP数据包。
这类的数据包有可能是非法产生的垃圾数据.但从目前来看服务器收到这样的数据非常多,一般都忽略。
一般代理服务器在工作时会每秒钟转发几千个数据包.收到几个错误数据包不会影响正常的工作.这是问我最多的一类提示了。
◆一般类的提示NET: N messages suppressed.服务器忽略了N 个数据包.和上一条提示类似。
服务器收到的数据包被认为是无用的垃圾数据数据。
这类数据多是由攻击类的程序产生的。
这条提示如果N 比较小的时候可以忽略。
但如果经常或是长时间出现3位数据以上的这类提示,就很有可能是服务器受到了垃圾数据类的带宽攻击了。
◆一般类的提示UDP: bad checksum. From 221.200.X.X:50279 to 218.62.X.X:1155 ulen 24UDP: short packet: 218.2.X.X:3072 3640/217 to 222.168.X.X:57596218.26.131.X sent an invalid ICMP type 3, code 13 error to a broadcast: 0.1.0.4 on eth0服务器收到了一个错误的数据包,分别为UDP校验和错误;过短的UDP数据包;一个错误的ICMP类型数据。
error code错误代码含义查询

error code(错误代码)=0是操作成功完成。
error code(错误代码)=1是功能错误。
error code(错误代码)=2是系统找不到指定的文件。
error code(错误代码)=3是系统找不到指定的路径。
error code(错误代码)=4是系统无法打开文件。
error code(错误代码)=5是拒绝访问。
error code(错误代码)=6是句柄无效。
error code(错误代码)=7是存储控制块被损坏。
error code(错误代码)=8是存储空间不足,无法处理此命令。
error code(错误代码)=9是存储控制块地址无效。
error code(错误代码)=10是环境错误。
error code(错误代码)=11是试图加载格式错误的程序。
error code(错误代码)=12是访问码无效。
error code(错误代码)=13是数据无效。
error code(错误代码)=14是存储器不足,无法完成此操作。
error code(错误代码)=15是系统找不到指定的驱动器。
error code(错误代码)=16是无法删除目录。
error code(错误代码)=17是系统无法将文件移到不同的驱动器。
error code(错误代码)=18是没有更多文件。
error code(错误代码)=19是介质受写入保护。
error code(错误代码)=20是系统找不到指定的设备。
error code(错误代码)=21是设备未就绪。
error code(错误代码)=22是设备不识别此命令。
error code(错误代码)=23是数据错误(循环冗余检查)。
error code(错误代码)=24是程序发出命令,但命令长度不正确。
error code(错误代码)=25是驱动器无法找出磁盘上特定区域或磁道的位置。
error code(错误代码)=26是无法访问指定的磁盘或软盘。
error code(错误代码)=27是驱动器找不到请求的扇区。
Linux错误码大全(建议收藏)

Linux错误码大全查看错误代码errno是调试程序的一个重要方法。
当linuc C api函数发生异常时,一般会将errno变量(需include errno.h)赋一个整数值,不同的值表示不同的含义,可以通过查看该值推测出错的原因。
在实际编程中用这一招解决了不少原本看来莫名其妙的问题。
比较麻烦的是每次都要去linux源代码里面查找错误代码的含义,现在把它贴出来,以后需要查时就来这里看了。
1-34号错误号是在内核源码的include/asm-generic/errno-base.h定义35-132则是在include/asm-generic/errno.h中定义剩下还有一些更大的错误号是留给内核级别的,如系统调用等,用户程序一般是看不见的这些号的,Ubuntu9.10中/usr/src/linux-headers-2.6.31-21-generic/include/linux/errno.h#ifndef _ASM_GENERIC_ERRNO_BASE_H#define _ASM_GENERIC_ERRNO_BASE_H#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 */ #define EIO 5 /*I/O error */#define ENXIO 6 /*No such device or address */ #define E2BIG 7 /*Argument list too long */ #define ENOEXEC 8 /*Exec format error */ #define EBADF 9 /*Bad file number */#define ECHILD 10 /*No child processes */ #define EAGAIN 11 /*Try again */#define ENOMEM 12 /*Out of memory */#define EACCES 13 /*Permission denied */ #define EFAULT 14 /*Bad address */#define ENOTBLK 15 /*Block device required */ #define EBUSY16 /*Device or resource busy */ #define EEXIST 17 /*File exists */#define EXDEV 18 /*Cross-device link */#define ENODEV 19 /*No such device */#define ENOTDIR 20 /*Not a directory */#define EISDIR 21 /*Is a directory */#define EINVAL 22 /*Invalid argument */#define ENFILE 23 /*File table overflow */#define EMFILE 24 /*Too many open files */#define ENOTTY 25 /*Not a typewriter */#define ETXTBSY 26 /*Text file busy */#define EFBIG 27 /*File too large */#define ENOSPC 28 /*No space left on device */ #define ESPIPE 29 /*Illegal seek */#define EROFS 30 /*Read-only file system */#define EMLINK 31 /*Too many links */#define EPIPE 32 /*Broken pipe */#define EDOM 33 /*Math argument out of domain of func */#define ERANGE 34 /*Math result not representable */#endif#include#define EDEADLK 35 /*Resource deadlock would occur */ #define ENAMETOOLONG 36 /*File name too long */#define ENOLCK 37 /*No record locks available */ #define ENOSYS 38 /*Function not implemented */ #defineENOTEMPTY 39 /*Directory not empty */#define ELOOP 40 /*Too many symbolic links encountered */#define EWOULDBLOCK EAGAIN /*Operation would block */ #define ENOMSG 42 /*No message of desired type */ #define EIDRM 43 /*Identifier removed */#define ECHRNG 44 /*Channel number out of range */ #define EL2NSYNC 45 /*Level 2 not synchronized */ #define EL3HLT 46 /*Level 3 halted */#define EL3RST 47 /*Level 3 reset */#define ELNRNG 48 /*Link number out of range */#define EUNATCH 49 /*Protocol driver not attached */ #define ENOCSI 50 /*No CSI structure available */ #define EL2HLT 51 /*Level 2 halted */#define EBADE 52 /*Invalid exchange */#define EBADR 53 /*Invalid request descriptor */ #define EXFULL 54 /*Exchange full */#define ENOANO 55 /*No anode */#define EBADRQC 56 /*Invalid request code */ #define EBADSLT 57 /*Invalid slot */#define EDEADLOCK EDEADLK#define EBFONT 59 /*Bad font file format */#define ENOSTR 60 /*Device not a stream */#define ENODATA 61 /*No data available */#define ETIME 62 /*Timer expired */#define ENOSR 63 /*Out of streams resources */#define ENONET 64 /*Machine is not on the network */ #define ENOPKG 65 /*Package not installed */ #define EREMOTE 66 /*Object is remote */#define ENOLINK 67 /*Link has been severed */ #define EADV 68 /*Advertise error */#define ESRMNT 69 /*Srmount error */#define ECOMM 70 /*Communication error on send */ #define EPROTO 71 /*Protocol error */#define EMULTIHOP 72 /*Multihop attempted */#define EDOTDOT 73 /*RFS specific error */#define EBADMSG 74 /*Not a data message */#define EOVERFLOW 75 /*Value too large for defined data type */#define ENOTUNIQ 76 /*Name not unique on network */#define EBADFD 77 /*File descriptor in bad state */ #define EREMCHG 78 /*Remote address changed */ #define ELIBACC 79 /*Can not access a needed shared library */#define ELIBBAD 80 /*Accessing a corrupted shared library */ #define ELIBSCN 81 /* .lib section in a.out corrupted */#define ELIBMAX 82 /*Attempting to link in too many shared libraries */#define ELIBEXEC 83 /*Cannot exec a shared library directly */ #define EILSEQ 84 /*Illegal byte sequence */#define ERESTART 85 /*Interrupted system call should be restarted */#define ESTRPIPE 86 /*Streams pipe error */#define EUSERS 87 /*Too many users */#define ENOTSOCK 88 /*Socket operation on non-socket */#define EDESTADDRREQ 89 /*Destination address required */ #define EMSGSIZE 90 /*Message too long */#define EPROTOTYPE 91 /*Protocol wrong type for socket */ #define ENOPROTOOPT 92 /*Protocol not available */#define EPROTONOSUPPORT 93 /*Protocol not supported */ #define ESOCKTNOSUPPORT 94 /*Socket type not supported */ #define EOPNOTSUPP 95 /*Operation not supported on transport endpoint */#define EPFNOSUPPORT 96 /*Protocol family not supported */ #define EAFNOSUPPORT 97 /*Address family not supported by protocol */#define EADDRINUSE 98 /*Address already in use */#define EADDRNOTAVAIL 99 /*Cannot assign requested address */#define ENETDOWN 100 /*Network is down */#define ENETUNREACH 101 /*Network is unreachable */#define ENETRESET 102 /*Network dropped connection because of reset */#define ECONNABORTED 103 /*Software caused connection abort */#define ECONNRESET 104 /*Connection reset by peer */#define ENOBUFS 105 /*No buffer space 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 shutdown */#define ETOOMANYREFS 109 /*T oo many references: cannot splice */#define ETIMEDOUT 110 /*Connection timed out */#define ECONNREFUSED 111 /*Connection refused */ #define EHOSTDOWN 112 /*Host is down */#define EHOSTUNREACH 113 /*No route to host */#define EALREADY 114 /*Operation already in progress */ #define EINPROGRESS 115 /*Operation now in progress */ #define ESTALE 116 /*Stale NFS file handle */ #define EUCLEAN 117 /*Structure needs cleaning */ #define ENOTNAM 118 /*Not a XENIX named type file */ #define ENAVAIL 119 /*No XENIX semaphores available */ #define EISNAM 120 /*Is a named type file */ #define EREMOTEIO 121 /*Remote I/O error */#define EDQUOT 122 /*Quota exceeded */#define ENOMEDIUM 123 /*No medium found */#define EMEDIUMTYPE 124 /*Wrong medium type *#define ECANCELED 125 / *操作已取消*/#define ENOKEY 126 / *必需的密钥不可用*/ #define EKEYEXPIRED 127 / *密钥已过期*/#define EKEYREVOKED 128 / *密钥已被撤销*/#define EKEYREJECTED 129 / *密钥被服务拒绝*// *用于强大的互斥体*/#define EOWNERDEAD 130 / *所有者死亡*/#define ENOTRECOVERABLE 131 / *状态不可恢复*/#define ERFKILL 132 / *由于射频杀死*/#ifdef __KERNEL__/ **用户程序切勿看到这些内容。
打印Linux系统错误编码及提示

系统运维工程师和系统开发工程师在日常工作中,经常会遇到此类问题“当你进行了一些不当操作,系统会给你错误提示”,这些错误提示在操作系统中都是错误编码的,每一个提示对应一个错误编码,错误编码供程序代码中方便调用,接下来我们会打印出linux操作系统的错误编码及提示,如下:一、系统环境系统版本:内核版本:二、程序代码代码如下:三、编译运行结果如下:[root@CentOS6 erro_num]# gcc error_num.c[root@centos6 erro_num]# ./a.out0:Success1:Operation not permitted2:No such file or directory3:No such process4:Interrupted system call5:Input/output error6:No such device or address7:Argument list too long8:Exec format error9:Bad file descriptor10:No child processes11:Resource temporarily unavailable 12:Cannot allocate memory13:Permission denied14:Bad address15:Block device required16:Device or resource busy17:File exists18:Invalid cross-device link19:No such device20:Not a directory21:Is a directory22:Invalid argument23:Too many open files in system 24:Too many open files25:Inappropriate ioctl for device 26:Text file busy27:File too large28:No space left on device29:Illegal seek30:Read-only file system31:Too many links32:Broken pipe33:Numerical argument out of domain 34:Numerical result out of range 35:Resource deadlock avoided36:File name too long37:No locks available38:Function not implemented39:Directory not empty40:Too many levels of symbolic links 41:Unknown error 4142:No message of desired type43:Identifier removed44:Channel number out of range 45:Level 2 not synchronized46:Level 3 halted47:Level 3 reset48:Link number out of range49:Protocol driver not attached50:No CSI structure available51:Level 2 halted52:Invalid exchange53:Invalid request descriptor54:Exchange full55:No anode56:Invalid request code57:Invalid slot58:Unknown error 5859:Bad font file format60:Device not a stream61:No data available62:Timer expired63:Out of streams resources64:Machine is not on the network65:Package not installed66:Object is remote67:Link has been severed68:Advertise error69:Srmount error70:Communication error on send71:Protocol error72:Multihop attempted73:RFS specific error74:Bad message75:Value too large for defined data type76:Name not unique on network77:File descriptor in bad state78:Remote address changed79:Can not access a needed shared library80:Accessing a corrupted shared library81:.lib section in a.out corrupted82:Attempting to link in too many shared libraries 83:Cannot exec a shared library directly84:Invalid or incomplete multibyte or wide character 85:Interrupted system call should be restarted 86:Streams pipe error87:Too many users88:Socket operation on non-socket89:Destination address required90:Message too long91:Protocol wrong type for socket92:Protocol not available93:Protocol not supported94:Socket type not supported95:Operation not supported96:Protocol family not supported97:Address family not supported by protocol98:Address already in use99:Cannot assign requested address100:Network is down101:Network is unreachable102:Network dropped connection on reset103:Software caused connection abort104:Connection reset by peer105:No buffer space available106:Transport endpoint is already connected 107:Transport endpoint is not connected108:Cannot send after transport endpoint shutdown 109:Too many references: cannot splice110:Connection timed out111:Connection refused112:Host is down113:No route to host114:Operation already in progress115:Operation now in progress116:Stale NFS file handle117:Structure needs cleaning118:Not a XENIX named type file119:No XENIX semaphores available120:Is a named type file121:Remote I/O error122:Disk quota exceeded123:No medium found124:Wrong medium type125:Operation canceled126:Required key not available127:Key has expired128:Key has been revoked129:Key was rejected by service130:Owner died131:State not recoverable如果你看过nginx-1.0.10源码,里面有一个类似的错误编码预定义135个,在objs/ngx_auto_config.h 中,#define NGX_SYS_NERR135,事实证明,这种思想是非常可取的,我们自己写软件的时候,不妨尝试一下?/儒道至圣最新章节。
Linux新手必读常见命令行错误及解决方法

Linux新手必读常见命令行错误及解决方法Linux操作系统作为一款强大且广泛应用的操作系统,其命令行界面是最为重要的一部分。
然而,对于新手来说,掌握命令行并不是一件容易的事情。
在使用过程中,经常会遇到各种错误提示,影响正常的使用体验。
本文将介绍一些常见的命令行错误以及解决方法,帮助Linux新手更好地应对各种情况。
错误一:命令找不到或不存在(Command not found)这是一个非常常见的错误,意味着输入的命令在当前的环境中没有找到。
这通常是由于命令不存在或者命令没有被正确地安装所致。
解决方法:1. 确保所输入的命令正确无误,检查是否拼写错误。
2. 使用适当的命令进行搜索。
例如,使用`which`命令可以查找某个命令的路径,例如`which command_name`。
3. 检查命令是否被正确地安装。
可以尝试使用`apt-get`或者`yum`等包管理器进行命令的安装。
4. 如果命令仍然无法找到,可能需要手动安装命令或者检查环境变量设置。
错误二:权限不足(Permission denied)Linux系统中,每个用户都有相应的权限来访问和执行文件。
当遇到权限不足的错误提示时,说明当前用户没有执行该命令的权限。
解决方法:1. 使用`sudo`命令,该命令可以提升当前用户的权限并执行命令。
例如,`sudo command_name`。
2. 如果当前用户没有sudo权限,则需要使用管理员账户来执行命令。
错误三:文件或目录不存在(No such file or directory)当输入的文件或者目录不存在时,就会出现这个错误提示。
这可能是由于输入错误的文件名或者目录路径所致。
解决方法:1. 确认输入的文件或者目录路径是否正确,并检查拼写错误。
2. 使用`ls`命令来查看当前目录下的文件和目录,确认所要操作的文件或目录是否存在。
错误四:命令语法错误(Syntax error)当输入的命令语法错误时,系统会提示命令的用法或者提供一些错误信息。
linux signals 对照表

9
杀死(Kill)。无法被忽略Байду номын сангаас阻塞或捕获的信号,强制结束进程。
SIGSEGV
11
段违例(Segmentation Violation)。非法内存访问时触发。
SIGTERM
15
终止(Termination)。请求进程终止的正常方式,可被捕获和处理。
SIGCHLD
17/10
子进程停止或终止时发送给父进程。
SIGCONT
18
继续(Continue)。用于恢复暂停的进程。
SIGSTOP
19
停止(Stop),不可被捕获、忽略或设置为默认操作。
SIGTSTP
20
暂停(Terminal Stop),与SIGSTOP类似,但可通过终端控制。
SIGTTIN
21
后台进程试图从终端读取时发送给该进程。
SIGTTOU
22
后台进程试图向终端写入时发送给该进程。
以上列表仅包含部分常见的信号,实际上Linux系统支持的信号数量会更多,包括一些特定于架构或实现的信号。在编程中可以使用<signal.h>头文件中的宏定义来引用这些信号。
在Linux系统中,信号(Signal)是进程间通信的一种机制,用于通知进程某个事件发生。每个信号都有一个编号和名称,以下是常见的Linux信号对照表:
信号名
值
描述
SIGHUP
1
挂起(Hang Up)。通常用于终端连接断开或重新配置服务时重启服务。
SIGINT
2
中断(Interrupt)。按下Ctrl+C键时发送给前台进程的信号。
SIGQUIT
3
退出(Quit)。按下Ctrl+\键时发送,生成core dump并退出进程。
Linux中socket错误编码表errno

Linux中socket错误编码表errno最近在网络编程使用的过程中,发现errno会经常使用。
因此决定在此做个留用,以备以后使用。
虽然errno是非线程安全的,但是可以通过几种机制保证其安全。
最近在使用的过程中获得了errno,程序无法执行,也不知道如何解决问题。
因此,理解每一个返回的errno整数值的含义是很重要的。
这个我们可以通过strerror函数来实现。
strerror(返回整数errno对应的错误原因的描述字符串)所需头文件: #include函数声明: char * strerror(int errnum);输入:整数errno输出:返回描述错误原因的字符串指针功能:用来依参数errnum 的错误代码来查询其错误原因的描述字符串,然后将该字符串指针返回。
示例:#include#include#define NUM 150int main(void){int i;for ( i=0; i {printf( "%d:%s\n", i, strerror(i) );}return 0;}运行结果:0:Success1:Operation not permitted2:No such file or directory3:No such process4:Interrupted system call5:Input/output error6:No such device or address7:Argument list too long8:Exec format error9:Bad file descriptor10:No child processes11:Resource temporarily unavailable 12:Cannot allocate memory13:Permission denied14:Bad address15:Block device required16:Device or resource busy17:File exists18:Invalid cross-device link19:No such device20:Not a directory21:Is a directory22:Invalid argument23:Too many open files in system 24:Too many open files25:Inappropriate ioctl for device 26:Text file busy27:File too large28:No space left on device29:Illegal seek30:Read-only file system31:Too many links32:Broken pipe33:Numerical argument out of domain 34:Numerical result out of range 35:Resource deadlock avoided36:File name too long37:No locks available38:Function not implemented39:Directory not empty40:Too many levels of symbolic links 41:Unknown error 4142:No message of desired type43:Identifier removed44:Channel number out of range 45:Level 2 not synchronized46:Level 3 halted47:Level 3 reset48:Link number out of range49:Protocol driver not attached50:No CSI structure available51:Level 2 halted52:Invalid exchange53:Invalid request descriptor54:Exchange full55:No anode56:Invalid request code57:Invalid slot58:Unknown error 5859:Bad font file format60:Device not a stream61:No data available62:Timer expired63:Out of streams resources64:Machine is not on the network65:Package not installed66:Object is remote67:Link has been severed68:Advertise error69:Srmount error70:Communication error on send71:Protocol error72:Multihop attempted73:RFS specific error74:Bad message75:Value too large for defined data type76:Name not unique on network77:File descriptor in bad state78:Remote address changed79:Can not access a needed shared library80:Accessing a corrupted shared library81:.lib section in a.out corrupted82:Attempting to link in too many shared libraries 83:Cannot exec a shared library directly84:Invalid or incomplete multibyte or wide character 85:Interrupted system call should be restarted 86:Streams pipe error87:Too many users88:Socket operation on non-socket89:Destination address required90:Message too long91:Protocol wrong type for socket92:Protocol not available93:Protocol not supported94:Socket type not supported95:Operation not supported96:Protocol family not supported97:Address family not supported by protocol98:Address already in use99:Cannot assign requested address100:Network is down101:Network is unreachable102:Network dropped connection on reset103:Software caused connection abort104:Connection reset by peer105:No buffer space available106:Transport endpoint is already connected 107:Transport endpoint is not connected108:Cannot send after transport endpoint shutdown 109:Too many references: cannot splice110:Connection timed out111:Connection refused112:Host is down113:No route to host114:Operation already in progress115:Operation now in progress116:Stale NFS file handle117:Structure needs cleaning118:Not a XENIX named type file119:No XENIX semaphores available 120:Is a named type file121:Remote I/O error122:Disk quota exceeded123:No medium found124:Wrong medium type125:Operation canceled126:Required key not available 127:Key has expired128:Key has been revoked129:Key was rejected by service 130:Owner died131:State not recoverable132:Unknown error 132133:Unknown error 133134:Unknown error 134135:Unknown error 135136:Unknown error 136137:Unknown error 137138:Unknown error 138139:Unknown error 139140:Unknown error 140141:Unknown error 141142:Unknown error 142143:Unknown error 143144:Unknown error 144145:Unknown error 145146:Unknown error 146147:Unknown error 147148:Unknown error 148149:Unknown error 149通过这个我们终于理解errno的含义了。
Linux报错及翻译

1 EPERM Operation not permitted 操作不许可2 ENOENT No such file or directory 无此文件或目录3 ESRCH No such process无此过程4 EINTR Interrupted system call 系统调用被禁止5 EIO I/O error I/O 错误6 ENXIO No such device or address 无此器件或地址7 E2BIG Arg list too long Arg列表太长8 ENOEXEC Exec format error Exec格式错误9 EBADF Bad file number文件数目错误10 ECHILD No child processes 无子过程11 EAGAIN Try again再试一遍12 ENOMEM Out of memory 内存溢出13 EACCES Permission denied 许可拒绝14 EFAULT Bad address 错误的地址15 ENOTBLK Block device required 需要块设备16 EBUSY Device or resource busy 设备或资源忙17 EEXIST File exists 文件存在18 EXDEV Cross-device link 跨器链接19 ENODEV No such device 无此设备20 ENOTDIR Not a directory 不是一个目录21 EISDIR Is a directory 是一个目录22 EINVAL Invalid argument 无效的函数自变量23 ENFILE File table overflow 文件表溢出24 EMFILE Too many open files打开的文件太多25 ENOTTY Inappropriate ioctl for device26 ETXTBSY Text file busy 文本文件忙27 EFBIG File too large 文件太大28 ENOSPC No space left on device 磁盘空间不足29 ESPIPE Illegal seek 不合法的寻找30 EROFS Read-only file system 只读文件系统31 EMLINK Too many links 太多的链接。
Linux系统错误对照表

Linux系统错误对照表:errno0 : Successerrno1 : Operation not permittederrno2 : No such file or directoryerrno3 : No such processerrno4 : Interrupted system callerrno5 : Input/output errorerrno6 : No such device or addresserrno7 : Argument list too longerrno8 : Exec format errorerrno9 : Bad file descriptorerrno10 : No child processeserrno11 : Resource temporarily unavailable errno12 : Cannot allocate memoryerrno13 : Permission deniederrno14 : Bad addresserrno15 : Block device requirederrno16 : Device or resource busyerrno17 : File existserrno18 : Invalid cross-device linkerrno19 : No such deviceerrno20 : Not a directoryerrno21 : Is a directoryerrno22 : Invalid argumenterrno23 : Too many open files in system errno24 : Too many open fileserrno25 : Inappropriate ioctl for device errno26 : Text file busyerrno27 : File too largeerrno28 : No space left on deviceerrno29 : Illegal seekerrno30 : Read-only file systemerrno31 : Too many linkserrno32 : Broken pipeerrno33 : Numerical argument out of domain errno34 : Numerical result out of range errno35 : Resource deadlock avoidederrno36 : File name too longerrno37 : No locks availableerrno38 : Function not implementederrno39 : Directory not emptyerrno40 : Too many levels of symbolic links errno41 : Unknown error 41errno42 : No message of desired type errno43 : Identifier removederrno44 : Channel number out of range errno45 : Level 2 not synchronized errno46 : Level 3 haltederrno47 : Level 3 reseterrno48 : Link number out of range errno49 : Protocol driver not attached errno50 : No CSI structure available errno51 : Level 2 haltederrno52 : Invalid exchangeerrno53 : Invalid request descriptor errno54 : Exchange fullerrno55 : No anodeerrno56 : Invalid request codeerrno57 : Invalid sloterrno58 : Unknown error 58errno59 : Bad font file formaterrno60 : Device not a streamerrno61 : No data availableerrno62 : Timer expirederrno63 : Out of streams resourceserrno64 : Machine is not on the networkerrno65 : Package not installederrno66 : Object is remoteerrno67 : Link has been severederrno68 : Advertise errorerrno69 : Srmount errorerrno70 : Communication error on senderrno71 : Protocol errorerrno72 : Multihop attemptederrno73 : RFS specific errorerrno74 : Bad messageerrno75 : Value too large for defined datatypeerrno76 : Name not unique on networkerrno77 : File descriptor in bad stateerrno78 : Remote address changederrno79 : Can not access a needed sharedlibraryerrno80 : Accessing a corrupted sharedlibraryerrno81 : .lib section in a.out corruptederrno82 : Attempting to link in too manyshared libraries errno83 : Cannot exec a shared librarydirectlyerrno84 : Invalid or incomplete multibyte orwide character errno85 : Interrupted system call should berestartederrno86 : Streams pipe errorerrno87 : Too many userserrno88 : Socket operation on non-socketerrno89 : Destinationaddress requirederrno90 : Message too longerrno91 : Protocol wrong type for socketerrno92 : Protocol not availableerrno93 : Protocol not supportederrno94 : Socket type not supportederrno95 : Operation not supportederrno96 : Protocol family not supportederrno97 : Address family not supported byprotocol errno98 : Address already in useerrno99 : Cannot assign requested addresserrno100 : Network is downerrno101 : Network is unreachableerrno102 : Network dropped connection onreset errno103 : Software caused connection abort errno104 : Connection reset by peererrno105 : No buffer space availableerrno106 : Transport endpoint is alreadyconnected errno107 : Transport endpoint is notconnectederrno108 : Cannot send after transportendpoint shutdown errno109 : Too many references: cannot spliceerrno110 : Connection timed outerrno111 : Connection refusederrno112 : Host is downerrno113 : No route to hosterrno114 : Operation already in progresserrno115 : Operation now in progresserrno116 : Stale NFS file handleerrno117 : Structure needs cleaningerrno118 : Not a XENIX named type fileerrno119 : No XENIX semaphores availableerrno120 : Is a named type fileerrno121 : Remote I/O errorerrno122 : Disk quota exceedederrno123 : No medium founderrno124 : Wrong medium typeerrno125 : Operation cancelederrno126 : Required key not availableerrno127 : Key has expirederrno128 : Key has been revokederrno129 : Key was rejected by serviceerrno130 : Owner diederrno131 : State not recoverableerrno132 : Operation not possible due toRF-kill errno133 : Unknown error 133errno134 : Unknown error 134errno135 : Unknown error 135errno136 : Unknown error 136errno137 : Unknown error 137errno138 : Unknown error 138errno139 : Unknown error 139。
Linux内存错误诊断

Linux内存错误诊断先了解⼀些概念DRAM(Dynamic Random Access Memory),即动态,最为常见的。
ECC是“Error Checking and Correcting”的简写,中⽂名称是“错误检查和纠正”。
ECC内存,即应⽤了能够实现错误检查和纠正技术(ECC)的内存条。
EDAC,即Error Detection And Correction(错误检测与纠正)。
内存有两种错误类型分别是CE和UE,CE 是 Correctable Error 的简称, UE是Uncorrectable Error的简称,CE即可恢复的错误,暂不影响系统的正常运⾏。
可以在找时机停机换掉。
UE为不可恢复的内存错误,通常会导致宕机。
系统messages⽇志[root@my-host mg4a]# grep kernel /var/log/messagesJan 14 19:01:11 my-host kernel: mce: [Hardware Error]: Machine check events loggedJan 14 19:01:12 my-host kernel: EDAC MC0: 1 CE memory read error on CPU_SrcID#0_Ha#1_Chan#1_DIMM#0 (channel:5 slot:0 page:0x554c02 offset:0x3c0 grain:32 syndrome:0x0 - area:DRAM err_code:0001:0091 socke [root@my-host mg4a]# grep "[0-9]" /sys/devices/system/edac/mc/mc*/csrow*/ch*_ce_count/sys/devices/system/edac/mc/mc0/csrow0/ch1_ce_count:0/sys/devices/system/edac/mc/mc0/csrow0/ch5_ce_count:1/sys/devices/system/edac/mc/mc1/csrow0/ch1_ce_count:0/sys/devices/system/edac/mc/mc1/csrow0/ch5_ce_count:0/sys/devices/system/edac/mc/mc2/csrow0/ch1_ce_count:0/sys/devices/system/edac/mc/mc2/csrow0/ch5_ce_count:0/sys/devices/system/edac/mc/mc3/csrow0/ch1_ce_count:0/sys/devices/system/edac/mc/mc3/csrow0/ch5_ce_count:0[root@my-host mg4a]# dmidecode -t 1# dmidecode 3.0Getting SMBIOS data from sysfs.SMBIOS 2.7 present.Handle 0x0044, DMI type 1, 27 bytesSystem InformationManufacturer: LENOVOProduct Name: Lenovo System x3750 M4 -[8753IH5]-Version: 03Serial Number: 06FF367UUID: C4EF8080-7926-11E5-8B14-6C0B849B418EWake-up Type: OtherSKU Number: XxXxXxXFamily: System X这是另外⼀台设备messges⽇志Jun 27 13:53:25 irora30 kernel: [Hardware Error]: MC4 Error (node 2): DRAM ECC error detected on the NB.Jun 27 13:53:25 irora30 kernel: EDAC amd64 MC2: CE ERROR_ADDRESS= 0x8de3b1960Jun 27 13:53:25 irora30 kernel: EDAC MC2: CE page 0x8de3b1, offset 0x960, grain 0, syndrome 0xab40, row 5, channel 0, label "": amd64_edacJun 27 13:53:25 irora30 kernel: [Hardware Error]: Error Status: Corrected error, no action required.Jun 27 13:53:25 irora30 kernel: [Hardware Error]: CPU:1 (15:2:0) MC4_STATUS[-|CE|MiscV|-|AddrV|-|-|CECC]: 0x8c204000ab080a13Jun 27 13:53:25 irora30 kernel: [Hardware Error]: MC4_ADDR: 0x00000008de3b1960Jun 27 13:53:25 irora30 kernel: [Hardware Error]: cache level: L3/GEN, mem/io: MEM, mem-tx: RD, part-proc: RES (no timeout)Jun 27 14:19:27 irora30 auditd[5571]: Audit daemon rotating log filesJun 27 19:09:23 irora30 auditd[5571]: Audit daemon rotating log filesJun 27 23:59:21 irora30 auditd[5571]: Audit daemon rotating log filesJun 28 02:15:55 irora30 kernel: [Hardware Error]: MC4 Error (node 2): DRAM ECC error detected on the NB.Jun 28 02:15:55 irora30 kernel: EDAC amd64 MC2: CE ERROR_ADDRESS= 0x8d9ea5960Jun 28 02:15:55 irora30 kernel: EDAC MC2: CE page 0x8d9ea5, offset 0x960, grain 0, syndrome 0xab40, row 5, channel 0, label "": amd64_edacJun 28 02:15:55 irora30 kernel: [Hardware Error]: Error Status: Corrected error, no action required.Jun 28 02:15:55 irora30 kernel: [Hardware Error]: CPU:1 (15:2:0) MC4_STATUS[-|CE|MiscV|-|AddrV|-|-|CECC]: 0x8c204000ab080813Jun 28 02:15:55 irora30 kernel: [Hardware Error]: MC4_ADDR: 0x00000008d9ea5960Jun 28 02:15:55 irora30 kernel: [Hardware Error]: cache level: L3/GEN, mem/io: MEM, mem-tx: RD, part-proc: SRC (no timeout)Jun 28 03:08:25 irora30 kernel: [Hardware Error]: MC4 Error (node 2): DRAM ECC error detected on the NB.Jun 28 03:08:25 irora30 kernel: EDAC amd64 MC2: CE ERROR_ADDRESS= 0x8ded39960Jun 28 03:08:25 irora30 kernel: EDAC MC2: CE page 0x8ded39, offset 0x960, grain 0, syndrome 0xab40, row 5, channel 0, label "": amd64_edacJun 28 03:08:25 irora30 kernel: [Hardware Error]: Error Status: Corrected error, no action required.Jun 28 03:08:25 irora30 kernel: [Hardware Error]: CPU:1 (15:2:0) MC4_STATUS[-|CE|MiscV|-|AddrV|-|-|CECC]: 0x8c204000ab080813Jun 28 03:08:25 irora30 kernel: [Hardware Error]: MC4_ADDR: 0x00000008ded39960Jun 28 03:08:25 irora30 kernel: [Hardware Error]: cache level: L3/GEN, mem/io: MEM, mem-tx: RD, part-proc: SRC (no timeout)Jun 28 03:45:13 irora30 rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-t Jun 28 04:44:25 irora30 auditd[5571]: Audit daemon rotating log filesJun 28 09:34:22 irora30 auditd[5571]: Audit daemon rotating log filesJun 28 10:02:30 irora30 ansible-command: Invoked with warn=True executable=None _uses_shell=True _raw_params=df -hl /var|awk 'NR>1 && int($5) > 80' removes=None creates=None chdir=NoneJun 28 14:23:49 irora30 auditd[5571]: Audit daemon rotating log filesJun 28 19:09:25 irora30 auditd[5571]: Audit daemon rotating log files故障确认及定位故障内存槽位[root@irora30 ~]# grep "[0-9]" /sys/devices/system/edac/mc/mc*/csrow*/ch*_ce_count/sys/devices/system/edac/mc/mc0/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc0/csrow5/ch0_ce_count:0/sys/devices/system/edac/mc/mc1/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc1/csrow5/ch0_ce_count:0/sys/devices/system/edac/mc/mc2/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc2/csrow5/ch0_ce_count:294/sys/devices/system/edac/mc/mc3/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc3/csrow5/ch0_ce_count:0/sys/devices/system/edac/mc/mc4/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc4/csrow5/ch0_ce_count:0/sys/devices/system/edac/mc/mc5/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc5/csrow5/ch0_ce_count:0/sys/devices/system/edac/mc/mc6/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc6/csrow5/ch0_ce_count:0/sys/devices/system/edac/mc/mc7/csrow4/ch0_ce_count:0/sys/devices/system/edac/mc/mc7/csrow5/ch0_ce_count:0[root@irora30 ~]#count:不为0的⾏即代表存在内存错误。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
中英文对照Linux 操作系统错误代码解释(zhouyutang@ linuxcman@)OS error code 0: Success操作系统错误代码0:成功OS error code 1: Operation not permitted操作系统错误代码1:操作不允许OS error code 2: No such file or directory操作系统错误代码2:没有这样的文件或目录OS error code 3: No such process操作系统错误代码3:没有这样的过程OS error code 4: Interrupted system call操作系统错误代码4:中断的系统调用OS error code 5: Input/output error操作系统错误代码5:输入/输出错误OS error code 6: No such device or address操作系统错误代码6:没有这样的设备或地址OS error code 7: Argument list too long操作系统错误代码7:参数列表太长OS error code 8: Exec format error操作系统错误代码8:执行格式错误OS error code 9: Bad file descriptor操作系统错误代码9:坏的文件描述符OS error code 10: No child processes操作系统错误代码10:无子过程OS error code 11: Resource temporarily unavailable 操作系统错误代码11:资源暂时不可用OS error code 12: Cannot allocate memory操作系统错误代码12:无法分配内存OS error code 13: Permission denied操作系统错误代码13:权限被拒绝OS error code 14: Bad address操作系统错误代码14:错误的地址OS error code 15: Block device required操作系统错误代码15:需要块设备OS error code 16: Device or resource busy操作系统错误代码16:设备或资源忙OS error code 17: File exists操作系统错误代码17:文件已经存在OS error code 18: Invalid cross-device link操作系统错误代码18:无效的跨设备链接OS error code 19: No such device操作系统错误代码19:没有这样的设备OS error code 20: Not a directory操作系统错误代码20:不是一个目录OS error code 21: Is a directory操作系统错误代码21:是一个目录OS error code 22: Invalid argument操作系统错误代码22:无效参数OS error code 23: Too many open files in system操作系统错误代码23:打开太多的文件系统OS error code 24: Too many open files操作系统错误代码24:打开的文件太多OS error code 25: Inappropriate ioctl for device操作系统错误代码25:不适当的设备ioctl使用OS error code 26: Text file busy操作系统错误代码26:文本文件忙OS error code 27: File too large操作系统错误代码27:文件太大OS error code 28: No space left on device操作系统错误代码28:设备上没有空间OS error code 29: Illegal seek操作系统错误代码29:非法搜索OS error code 30: Read-only file system操作系统错误代码30:只读文件系统OS error code 31: Too many links操作系统错误代码31:链接过多OS error code 32: Broken pipe操作系统错误代码32:管道破裂OS error code 33: Numerical argument out of domain 操作系统错误代码33:超出域的数值参数OS error code 34: Numerical result out of range操作系统错误代码34:数值结果超出范围OS error code 35: Resource deadlock avoided操作系统错误代码35:避免资源死锁OS error code 36: File name too long操作系统错误代码36:文件名太长OS error code 37: No locks available操作系统错误代码37:没有可用锁OS error code 38: Function not implemented操作系统错误代码38:功能没有实现OS error code 39: Directory not empty操作系统错误代码39:目录非空OS error code 40: Too many levels of symbolic links 操作系统错误代码40:符号链接层次太多OS error code 42: No message of desired type操作系统错误代码42:没有期望类型的消息OS error code 43: Identifier removed操作系统错误代码43:标识符删除OS error code 44: Channel number out of range操作系统错误代码44:通道数目超出范围OS error code 45: Level 2 not synchronized操作系统错误代码45:2级不同步OS error code 46: Level 3 halted操作系统错误代码46:3级终止OS error code 47: Level 3 reset操作系统错误代码47:3级复位OS error code 48: Link number out of range操作系统错误代码48:链接数超出范围OS error code 49: Protocol driver not attached 操作系统错误代码49:协议驱动程序没有连接OS error code 50: No CSI structure available 操作系统错误代码50:没有可用的CSI结构OS error code 51: Level 2 halted操作系统错误代码51:2级中断OS error code 52: Invalid exchange操作系统错误代码52:无效的交换OS error code 53: Invalid request descriptor 操作系统错误代码53:无效的请求描述符OS error code 54: Exchange full操作系统错误代码54:交换空间满OS error code 55: No anode操作系统错误代码55:阳极不存在OS error code 56: Invalid request code操作系统错误代码56:无效的请求代码OS error code 57: Invalid slot操作系统错误代码57:无效的槽OS error code 59: Bad font file format操作系统错误代码59:错误的字体文件格式OS error code 60: Device not a stream操作系统错误代码60:设备不属于流类型OS error code 61: No data available操作系统错误代码61:无可用数据OS error code 62: Timer expired操作系统错误代码62:超时OS error code 63: Out of streams resources操作系统错误代码63:超出流资源范围OS error code 64: Machine is not on the network 操作系统错误代码64:主机不在网络上OS error code 65: Package not installed操作系统错误代码65:软件包没有安装OS error code 66: Object is remote操作系统错误代码66:对象是远程的OS error code 67: Link has been severed操作系统错误代码67:链接被切断OS error code 68: Advertise error操作系统错误代码68:广告错误OS error code 69: Srmount error操作系统错误代码69:srmount错误OS error code 70: Communication error on send 操作系统错误代码70:发送数据时通讯错误OS error code 71: Protocol error操作系统错误代码71:协议错误OS error code 72: Multihop attempted操作系统错误代码72:企图进行多次跳转OS error code 73: RFS specific error操作系统错误代码73:RFS类型错误OS error code 74: Bad message操作系统错误代码74:坏消息OS error code 75: Value too large for defined data type操作系统错误代码75:数值超过对于给定的数据类型OS error code 76: Name not unique on network操作系统错误代码76:主机名在网络上不是唯一OS error code 77: File descriptor in bad state操作系统错误代码77:坏状态的文件描述符OS error code 78: Remote address changed操作系统错误代码78:远端地址改变OS error code 79: Can not access a needed shared library操作系统错误代码79:无法访问需要的共享库OS error code 80: Accessing a corrupted shared library操作系统错误代码80:访问了一个损坏的共享库OS error code 81: .lib section in a.out corrupted操作系统错误代码81:a. out文件中的.lib段损坏。