文档章节

Linux错误代码含义/Linux Error Code

小熊猫大暴走
 小熊猫大暴走
发布于 2014/12/13 10:50
字数 699
阅读 59
收藏 0

C Name

Value

Description

EPERM

1

Operation not permitted

ENOENT

2

No such file or directory

ESRCH

3

No such process

EINTR

4

Interrupted system call

EIO

5

I/O error

ENXIO

6

No such device or address

E2BIG

7

Arg list too long

ENOEXEC

8

Exec format error

EBADF

9

Bad file number

ECHILD

10

No child processes

EAGAIN

11

Try again

ENOMEM

12

Out of memory

EACCES

13

Permission denied

EFAULT

14

Bad address

ENOTBLK

15

Block device required

EBUSY

16

Device or resource busy

EEXIST

17

File exists

EXDEV

18

Cross-device link

ENODEV

19

No such device

ENOTDIR

20

Not a directory

EISDIR

21

Is a directory

EINVAL

22

Invalid argument

ENFILE

23

File table overflow

EMFILE

24

Too many open files

ENOTTY

25

Not a tty device

ETXTBSY

26

Text file busy

EFBIG

27

File too large

ENOSPC

28

No space left on device

ESPIPE

29

Illegal seek

EROFS

30

Read-only file system

EMLINK

31

Too many links

EPIPE

32

Broken pipe

EDOM

33

Math argument out of domain

ERANGE

34

Math result not representable

EDEADLK

35

Resource deadlock would occur

ENAMETOOLONG

36

Filename too long

ENOLCK

37

No record locks available

ENOSYS

38

Function not implemented

ENOTEMPTY

39

Directory not empty

ELOOP

40

Too many symbolic links encountered

EWOULDBLOCK

41

Same as EAGAIN

ENOMSG

42

No message of desired type

EIDRM

43

Identifier removed

ECHRNG

44

Channel number out of range

EL2NSYNC

45

Level 2 not synchronized

EL3HLT

46

Level 3 halted

EL3RST

47

Level 3 reset

ELNRNG

48

Link number out of range

EUNATCH

49

Protocol driver not attached

ENOCSI

50

No CSI structure available

EL2HLT

51

Level 2 halted

EBADE

52

Invalid exchange

EBADR

53

Invalid request descriptor

EXFULL

54

Exchange full

ENOANO

55

No anode

EBADRQC

56

Invalid request code

EBADSLT

57

Invalid slot

EDEADLOCK

 -

Same as EDEADLK

EBFONT

59

Bad font file format

ENOSTR

60

Device not a stream

ENODATA

61

No data available

ETIME

62

Timer expired

ENOSR

63

Out of streams resources

ENONET

64

Machine is not on the network

ENOPKG

65

Package not installed

EREMOTE

66

Object is remote

ENOLINK

67

Link has been severed

EADV

68

Advertise error

ESRMNT

69

Srmount error

ECOMM

70

Communication error on send

EPROTO

71

Protocol error

EMULTIHOP

72

Multihop attempted

EDOTDOT

73

RFS specific error

EBADMSG

74

Not a data message

EOVERFLOW

75

Value too large for defined data type

ENOTUNIQ

76

Name not unique on network

EBADFD

77

File descriptor in bad state

EREMCHG

78

Remote address changed

ELIBACC

79

Cannot access a needed shared library

ELIBBAD

80

Accessing a corrupted shared library

ELIBSCN

81

A .lib section in an .out is corrupted

ELIBMAX

82

Linking in too many shared libraries

ELIBEXEC

83

Cannot exec a shared library directly

EILSEQ

84

Illegal byte sequence

ERESTART

85

Interrupted system call should be restarted

ESTRPIPE

86

Streams pipe error

EUSERS

87

Too many users

ENOTSOCK

88

Socket operation on non-socket

EDESTADDRREQ

89

Destination address required

EMSGSIZE

90

Message too long

EPROTOTYPE

91

Protocol wrong type for socket

ENOPROTOOPT

92

Protocol not available

EPROTONOSUPPORT

93

Protocol not supported

ESOCKTNOSUPPORT

94

Socket type not supported

EOPNOTSUPP

95

Operation not supported on transport

EPFNOSUPPORT

96

Protocol family not supported

EAFNOSUPPORT

97

Address family not supported by protocol

EADDRINUSE

98

Address already in use

EADDRNOTAVAIL

99

Cannot assign requested address

ENETDOWN

100

Network is down

ENETUNREACH

101

Network is unreachable

ENETRESET

102

Network dropped

ECONNABORTED

103

Software caused connection

ECONNRESET

104

Connection reset by

ENOBUFS

105

No buffer space available

EISCONN

106

Transport endpoint

ENOTCONN

107

Transport endpoint

ESHUTDOWN

108

Cannot send after transport

ETOOMANYREFS

109

Too many references

ETIMEDOUT

110

Connection timed

ECONNREFUSED

111

Connection refused

EHOSTDOWN

112

Host is down

EHOSTUNREACH

113

No route to host

EALREADY

114

Operation already

EINPROGRESS

115

Operation now in

ESTALE

116

Stale NFS file handle

EUCLEAN

117

Structure needs cleaning

ENOTNAM

118

Not a XENIX-named

ENAVAIL

119

No XENIX semaphores

EISNAM

120

Is a named type file

EREMOTEIO

121

Remote I/O error

EDQUOT

122

Quota exceeded

ENOMEDIUM

123

No medium found

EMEDIUMTYPE

124

Wrong medium type

本文转载自:??

上一篇: gdiplus 初始化
下一篇: bmp loader
小熊猫大暴走

小熊猫大暴走

粉丝 42
博文 276
码字总数 267492
作品 0
海淀
程序员
私信 提问
MySQL下perror工具查看System Error Code信息

原文出处:潇湘隐者 在MySQL数据库的维护过程中,我们有时候会在MySQL的错误日志文件中看到一些关于Operating system error的错误信息,例如在MySQL的错误日志里面,有时候会看到关于 InnoDB...

潇湘隐者
2018/04/25
0
0
怎样解决 Ubuntu 中的 “sub process usr bin dpkg returned an error code 1” 错误

如果你在 Ubuntu Linux 上安装软件时遇到 “sub process usr bin dpkg returned an error code 1”,请按照以下步骤进行修复。 Ubuntu 和其他基于 Debian 的发行版中的一个常见问题是已经损坏...

38%
2018/09/29
0
0
【转载】python中os.system()的返回值

最近遇到os.system()执行系统命令的情况,上网搜集了一下,整理如下,以备不时之需,同时也希望能帮到某些人。 一、python中的 os.system(cmd)的返回值与linux命令返回值(具体参见本文附加内...

beijing_zbs
2015/10/30
309
0
websocket部署到Linux服务器,使用wss访问报错400

使用spring websocket做在线聊天,本地使用ws连接没有问题。但是部署到Linux上在连接访问就会报错400,错误信息Error during WebSocket handshake: Unexpected response code: 400。Linux使用...

titan0115
2018/01/10
1K
2
Rsync+sersync 实时同步

# #sersync 下载地址 #rsync CentOS系统包里面有 #rsync 详解 #sersync 详解 #逻辑图 #均关闭防火墙和selinux #目标服务器rsync 作为守护进程 , 源服务器rsync 作为客户端 #rsync支持推送和...

chaunceyjiang
2018/06/26
0
0

没有更多内容

加载失败,请刷新页面

加载更多

如何递归计算目录中的所有代码行?

我们有一个PHP应用程序,并希望计算特定目录及其子目录下的所有代码行。 我们不需要忽略评论,因为我们只是想弄清楚。 wc -l *.php 该命令在给定目录中运行良好,但忽略子目录。 我当时认为...

技术盛宴
35分钟前
3
0
使用 try-with-resources 优雅关闭资源

我们知道,在 Java 编程过程中,如果打开了外部资源(文件、数据库连接、网络连接等、redis),我们必须在这些外部资源使用完毕后,手动关闭它们。 因为外部资源不由 JVM 管理,无法享用 JVM ...

七弦桐
42分钟前
4
0
04.深入浅出索引(上)

简单来说,索引的出现就是为了提高数据查询效率,就像书的目录一样。 索引的常见模型 索引实现的方式有很多种,所以这里就引入了索引模型的概念,可以用于提高读写效率的数据结构很多,比较常...

scgaopan
45分钟前
5
0
Redis哨兵、复制、集群的设计原理,以及区别

谈到Redis服务器的高可用,如何保证备份的机器是原始服务器的完整备份呢?这时候就需要哨兵和复制。 **哨兵(Sentinel):**可以管理多个Redis服务器,它提供了监控,提醒以及自动的故障转移的...

Java阿七
55分钟前
5
0
浅析laravel路由执行原理

目前很多文章已经对Laravel的执行原理做了详细介绍,这里只是为了个人做一下简单记录 首先看入口 index.php 关键的执行函数就是 handle方法 ,但是前面的几个预处理函数,包括了整合框架的大...

冻结not
今天
5
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部