5. Error Codes

 

 

Error codes and error names associated with messages displayed on UNIX hosts are listed here. Some of these messages are also generated by MultiNet.

The below table lists the error codes alphabetically.

Error Name

Error Code

Description

E2BIG

7

Arg list too long

EACCES

13

Permission denied

EADDRINUSE

48

Address already in use

EADDRNOTAVAIL

49

Can't assign requested address

EAFNOSUPPORT

47

Address family not supported by protocol family

EAGAIN

11

No more processes

EALREADY

37

Operation already in progress

EBADF

9

Bad file number

EBUSY

16

Mount device busy

ECHILD

10

No children

ECONNABORTED

53

Software caused connection abort

ECONNREFUSED

61

Connection refused. This can occur when a connection is attempted to a non-existent server process. This message indicates that even though a path was established to the remote host, the remote host is not prepared for the type of connection attempted.

 

Therefore, the connection was refused. The most likely cause is that a server (daemon) has not been enabled on the remote host. Servers are enabled automatically when a host is booted. Check with the system administrator of the remote host.

ECONNRESET

54

The connection was reset by the remote node. This occurs when the remote node has rebooted and the local node attempts to transmit on a stale connection.

EDEADLK

35

Operation would block

EDESTADDRREQ

39

Destination address required

EDOM

33

Argument too large

EDQUOT

69

Disc quota exceeded

EEXIST

17

File exists

EFAULT

14

Bad address

EFBIG

27

File too large

EHOSTDOWN

64

Host is down

EHOSTUNREACH

65

No route can be found to the host you are trying to contact, an intermediate router is not working temporarily, or an intermediate router is set to prevent access to the host. If you are attempting to access a remote host via modem, this error means the terminal port is set /MODEM but no modem carrier (DTR) is present.

EINPROGRESS

36

Operation now in progress

EINTR

4

Interrupted system call

EINVAL

22

Invalid argument

EIO

5

I/O error

EISCONN

56

Socket is already connected

EISDIR

21

Is a directory

ELOOP

62

Too many levels of symbolic links

EMFILE

24

Too many open files

EMLINK

31

Too many links

EMSGSIZE

40

Message too long

ENAMETOOLONG

63

File name too long

ENETDOWN

50

Network is down

ENETRESET

52

Network dropped connection on reset

ENETUNREACH

51

Network is unreachable. The IP network you are trying to contact is not reachable. No route to the remote host or network can be found. This can be due to one of the following conditions:

 

·         Two hosts on the same network were assigned Internet addresses containing different network numbers.

·         The remote host is on a different network but you have not added the proper route entry using the MULTINET SET/ROUTE command. If you have a single gateway available, you can set a DEFAULT ROUTE to send all packets to this gateway.

·         If your network is a Class C network (that is, the first byte of the network is 192 or larger), make sure the first three bytes of the Internet address are the same for all hosts.

 

To correct these problems, check the routing tables and HOSTS files to resolve the incompatibility, and make sure the hosts have the same network number.

ENFILE

23

File table overflow

ENOBUFS

55

No buffer space available

ENODEV

19

No such device

ENOENT

2

No such file or directory

ENOEXEC

8

Exec format error

ENOMEM

12

Not enough core

ENOPROTOOPT

42

Protocol not available

ENOSPC

28

No space left on device

ENOTBLK

15

Block device required

ENOTCONN

57

Socket is not connected

ENOTDIR

20

Not a directory

ENOTEMPTY

66

Directory not empty

ENOTSOCK

38

Socket operation on non-socket

ENOTTY

25

Not a typewriter

ENXIO

6

No such device or address

EOPNOTSUPP

45

Operation not supported on socket

EPERM

1

Not owner

EPFNOSUPPORT

46

Protocol family not supported

EPIPE

32

Broken pipe

EPROCLIM

67

Too many processes

EPROTONOSUPPORT

43

Protocol not supported

EPROTOTYPE

41

Protocol wrong type for socket

ERANGE

34

Result too large

EROFS

30

Read-only file system

ESHUTDOWN

58

Can't send after socket shutdown

ESOCKTNOSUPPOT

44

Socket type not supported

ESPIPE

29

Illegal seek

ESRCH

3

No such process

ETIMEDOUT

60

Low-level packet transmission could not be accomplished in one or both directions. Either the connection request or its reply failed to get through.

ETOOMANYREFS

59

Too many references: cannot splice

ETXTBSY

26

Text file busy

EUSERS

68

Too many users

EVMSERR

65535

VMS-specific error code for non-translatable errors from VMS to C

EWOULDBLOCK

35

Operation would block

EXDEV

18

Cross-device link

 

The below table lists the error codes sorted numerically.

Error Code

Error Name

Description

1

EPERM

Not owner

2

ENOENT

No such file or directory

3

ESRCH

No such process

4

EINTR

Interrupted system call

5

EIO

I/O error

6

ENXIO

No such device or address

7

E2BIG

Arg list too long

8

ENOEXEC

Exec format error

9

EBADF

Bad file number

10

ECHILD

No children

11

EAGAIN

No more processes

12

ENOMEM

Not enough core

13

EACCES

Permission denied

14

EFAULT

Bad address

15

ENOTBLK

Block device required

16

EBUSY

Mount device 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

Not a typewriter

26

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

32

EPIPE

Broken pipe

33

EDOM

Argument too large

34

ERANGE

Result too large

35

EWOULDBLOCK

Operation would block

36

EINPROGRESS

Operation now in progress

37

EALREADY

Operation already in progress

38

ENOTSOCK

Socket operation on non-socket

39

EDESTADDRREQ

Destination address required

40

EMSGSIZE

Message too long

41

EPROTOTYPE

Protocol wrong type for socket

42

ENOPROTOOPT

Protocol not available

43

EPROTONOSUPPORT

Protocol not supported

44

ESOCKTNOSUPPORT

Socket type not supported

45

EOPNOTSUPP

Operation not supported on socket

46

EPFNOSUPPORT

Protocol family not supported

47

EAFNOSUPPORT

Address family not supported by protocol family

48

EADDRINUSE

Address already in use

49

EADDRNOTAVAIL

Can't assign requested address

50

ENETDOWN

Network is down

51

ENETUNREACH

Network is unreachable. The IP network you are trying to contact is not reachable. No route to the remote host or network can be found. This can be due to one of the following conditions:

 

Two hosts on the same network were assigned Internet addresses containing different network numbers.

 

The remote host is on a different network but you have not added the proper route entry using the MULTINET SET/ROUTE command. If you have a single gateway available, you can set a DEFAULT ROUTE to send all packets to this gateway.

 

If your network is a Class C network (that is, the first byte of the network is 192 or larger), make sure the first three bytes of the Internet address are the same for all hosts.

 

To correct these problems, check the routing tables and HOSTS files to resolve the incompatibility, and make sure the hosts have the same network number.

52

ENETRESET

Network dropped connection on reset

53

ECONNABORTED

Software caused connection abort

54

ECONNRESET

The connection was reset by the remote node. Typically this occurs when the remote node has rebooted and the local node attempts to transmit on a stale connection.

54

ECONNRESET

Connection reset by peer

55

ENOBUFS

No buffer space available

56

EISCONN

Socket is already connected

57

ENOTCONN

Socket is not connected

58

ESHUTDOWN

Can't send after socket shutdown

59

ETOOMANYREFS

Too many references: can't splice

60

ETIMEDOUT

Low-level packet transmission could not be accomplished in one or both directions. Either the connection request or its reply failed to get through.

61

ECONNREFUSED

Connection refused. This can occur when a connection is attempted to a non-existent server process. This message indicates that even though a path was established to the remote host, the remote host is not prepared for the type of connection attempted.

 

Therefore, the connection was refused. The most likely cause is that a server (daemon) has not been enabled on the remote host. Servers are enabled automatically when a host is booted. Check with the system administrator of the remote host.

62

ELOOP

Too many levels of symbolic links

63

ENAMETOOLONG

File name too long

64

EHOSTDOWN

Host is down

65

EHOSTUNREACH

No route can be found to the host you are trying to contact, an intermediate router is not working temporarily, or an intermediate router is set to prevent access to the host. If you are attempting to access a remote host via modem, this error means the terminal port is set /MODEM but no modem carrier (DTR) is present.

66

ENOTEMPTY

Directory not empty

67

EPROCLIM

Too many processes

68

EUSERS

Too many users

69

EDQUOT

Disc quota exceeded

65535

EVMSERR

VMS-specific error code for non-translatable errors from VMS to C

 

SSH Client Error Codes

The following table shows the new error codes for the following SSH clients: SSH2, SSH-ADD2, SSH-KEYGEN, SSH-CMPCLIENT, SSH-CERTTOOL and SSH-CERTVIEW clients.  These codes are implemented in MultiNet V5.4 and up.

Error Code

Error Name

Description

0C1F8044

AGENTBADPASS

Invalid password entered

0C1F804C

AGENTERROR

General error

0C1F806A

AGENTNOAGENT

No agent is available

0C1F8072

AGENTNOFILE

Private key is unreadable

0C1F807A

AGENTNOID

Key not found in authentication agent

0C1F83F1

AGENTOK

Successful operation by agent

0C1F8082

AUTHCANCEL

Authentication cancelled by user

0C1F803C

AUTHFAIL

Authentication failed

0C1F808A

CERT12ENCOD

Certificate PKCS#12 encoding failed

0C1F8092

CERT12SAVE

Failed to save PKCS#12 package

0C1F809A

CERTBADSTATUS

Bad status returned

0C1F80A2

CERTCANTSETPUB

Failed to set public key

0C1F80AA

CERTERROR

Certificate error

0C1F80B2

CERTNO10SIGN

No PKCS#10 requests signed

0C1F80C2

CERTNOSER

No serial number supplied

0C1F80CA

CERTNOVAL12OBJ

No objects to store in PKCS#12 package

0C1F80D2

CERTPRVKEYGEN

Failed to generate private key

0C1F80DA

CERTPRVKEYREAD

Failed to read private key

0C1F80E2

CERTPRVKEYWRT

Failed to write private key

0C1F80EA

CERTUNDEF

Undefined error

0C1F80F2

CERTWRTFILEB64

failed to write base64 file

0C1F80FA

COMPERR

Compression error

0C1F8102

CONNECTFAIL

Connection failed

0C1F80BA

CONNNOTALLOWED

Connection not allowed

0C1F810A

DISCONBYAPP

Session disconnected by application

0C1F8112

E2BIG

Argument list too long

0C1F811A

EABANDONED

Owner cannot release resource

0C1F8122

EACCES

Permission denied

0C1F812A

EADDRINUSE

Address already in use

0C1F8132

EADDRNOTAVAIL

Can't assign requested address

0C1F813A

EAFNOSUPPORT

Address family not supported

0C1F8142

EAGAIN

No more processes

0C1F814A

EALIGN

Alignment error

0C1F8152

EALREADY

Operation already in progress

0C1F815A

EBADCAT

Bad message catalogue format

0C1F8162

EBADF

Bad file number

0C1F816A

EBADMSG

Corrupted message detected

0C1F8172

EBUSY

Mount device busy

0C1F817A

ECANCELED

Operation canceled

0C1F8182

ECHILD

No children

0C1F818A

ECONNABORTED

Software caused connection abort

0C1F8192

ECONNREFUSED

Connection refused

0C1F819A

ECONNRESET

Connection reset by peer

0C1F81A2

EDEADLK

Resource deadlock avoided

0C1F81AA

EDESTADDRREQ

Destination address required

0C1F81B2

EDOM

Math argument

0C1F81BA

EDQUOT

Disk quota exceeded

0C1F81C2

EEXIST

File exists

0C1F81CA

EFAIL

Cannot start operation

0C1F81D2

EFAULT

Bad address

0C1F81DA

EFBIG

File too large

0C1F81E2

EFTYPE

Inappropriate operation for file type

0C1F81EA

EHOSTDOWN

Host is down

0C1F81F2

EHOSTUNREACH

No route to host

0C1F81FA

EIDRM

Identifier removed

0C1F8202

EILSEQ

Illegal byte sequence

0C1F820A

EINPROG

Asynchronous operation in progress

0C1F8212

EINPROGRESS

Operation now in progress

0C1F821A

EINTR

Interrupted system call

0C1F8222

EINVAL

Invalid argument

0C1F822A

EIO

I/O error

0C1F8232

EISCONN

Socket is already connected

0C1F823A

EISDIR

Is a directory

0C1F8242

ELOOP

Too many levels of symbolic links

0C1F824A

EMFILE

Too many open files

0C1F8252

EMLINK

Too many links

0C1F825A

EMSGSIZE

Message too long

0C1F8262

ENAMETOOLONG

File name too long

0C1F826A

ENETDOWN

Network is down

0C1F8272

ENETRESET

Network dropped connection on reset

0C1F827A

ENETUNREACH

Network is unreachable

0C1F8282

ENFILE

File table overflow

0C1F828A

ENOBUFS

No buffer space available

0C1F8292

ENODEV

No such device

0C1F829A

ENOENT

No such file or directory

0C1F82A2

ENOEXEC

Exec format error

0C1F82AA

ENOLCK

No locks available

0C1F82B2

ENOMEM

Not enough core

0C1F82BA

ENOMSG

No message of desired type

0C1F82C2

ENOPROTOOPT

Protocol not available

0C1F82CA

ENOSPC

No space left on device

0C1F82D2

ENOSYS

Function not implemented

0C1F82DA

ENOTBLK

Block device required

0C1F82E2

ENOTCONN

Socket is not connected

0C1F82EA

ENOTDIR

Not a directory

0C1F82F2

ENOTEMPTY

Directory not empty

0C1F82FA

ENOTSOCK

Socket operation on non-socket

0C1F8302

ENOTSUP

Function not implemented

0C1F830A

ENOTTY

Not a typewriter

0C1F8312

ENWAIT

No waiting processes

0C1F831A

ENXIO

No such device or address

0C1F8322

EOPNOTSUPP

Operation not supported on socket

0C1F832A

EPERM

Not owner

0C1F8332

EPFNOSUPPORT

Protocol family not supported

0C1F833A

EPIPE

Broken pipe

0C1F8342

EPROCLIM

Too many processes

0C1F834A

EPROTONOSUPPORT

Protocol not supported

0C1F8352

EPROTOTYPE

Protocol wrong type for socket

0C1F835A

ERANGE

Result too large

0C1F8362

EREMOTE

Too many levels of remote in path

0C1F836A

EROFS

Read-only file system

0C1F8372

ESHUTDOWN

Can't send after socket shutdown

0C1F837A

ESOCKTNOSUPPORT

Socket type not supported

0C1F8382

ESPIPE

Illegal seek

0C1F838A

ESRCH

No such process

0C1F8392

ESTALE

Stale NFS file handle

0C1F839A

ETIMEDOUT

Connection timed out

0C1F83A2

ETOOMANYREFS

Too many references: can't splice

0C1F83AA

ETXTBSY

Text file busy

0C1F83B2

EUSERS

Too many users

0C1F83BA

EWOULDBLOCK

I/O would block

0C1F83C2

EXDEV

Cross-device link

0C1F8014

EXECERR

Subprocess execution error

0C1F800C

FATALERR

Fatal error

0C1F805A

HOSTNOTALLOW

Host not allowed to connect

0C1F8024

ILLUSER

Illegal username

0C1F801C

KEYEXFAILED

Key exchange failed

0C1F802C

KEYNOTVER

Key not verified

0C1F8034

MACERR

MAC error

0C1F8062

NOMOREMETH

No more authentication methods

0C1F83CA

PROTERR

Protocol error

0C1F83D2

PROTNOTSUP

Protocol not supported

0C1F83DA

SRVNOTAVAIL

Service not available

0C1F83E9

SUCCESS

Successful completion

0C1F8052

TOOMANYCONN

Too many connections

0C1F83E2

UNDEFDISCONCODE

Undefined disconnect reason