天天看點

中國移動短信MISC割接

短資訊中心錯誤與中國移動代碼的對應關系。

MI::zzzz

SMSC傳回狀态報告的狀态值為EXPIRED

MJ:zzzz

SMSC傳回狀态報告的狀态值為DELETED

MK:zzzz

SMSC傳回狀态報告的狀态值為UNDELIV

ML:zzzz

SMSC傳回狀态報告的狀态值為ACCEPTD

MM:zzzz

SMSC傳回狀态報告的狀态值為UNKNOWN

MN:zzzz

SMSC傳回狀态報告的狀态值為REJECTD 回頁首

CMPP發送失敗代碼對照表

值(4位,不足4位前面補0) 含義

1 消息結構錯

2 指令字錯誤

3 消息序列号重複

4 消息長度錯

5 資費代碼錯

6 超過最大資訊長

7 業務代碼錯

8 流量控制錯

9 本網關不負責此計費号碼

10 Src_ID錯

11 Msg_src錯

12 計費位址錯

13 目的位址錯

14~49 擴充

51 尚未建立連接配接

52 尚未成功登入

53 發送消息失敗

54 逾時未接收到響應消息

55 等待狀态報告逾時

60 保留

61 有效時間已經過期

62 定時發送時間已經過期

63 不能識别的FeeType

64 發送服務源位址鑒權失敗

65 發送服務目的位址鑒權失敗

66 接收服務源位址鑒權失敗

67 接收服務目的位址鑒權失敗

68 使用者鑒權失敗

69 此使用者為黑名單使用者

70 網絡斷連或目的裝置關閉接口

71 超過最大節點數

72 找不到路由

73 等待應答逾時

74 送SCP失敗

75 送SCP鑒權等待應答逾時

76 資訊安全鑒權失敗

77 超過最大Submit送出數

78 SPID 為空

79 業務類型為空

80 CPCode錯誤

81 發送接收接口重複

82 循環路由

83 超過接收側短消息MTU

84 送DSMP重發失敗

85 DSMP系統忙重發

86 DSMP系統忙,且緩存滿重發

87 DSMP流控重發

88 等DSMP應答逾時重發

89

201~240 SCP錯誤碼

202 非神州行預付費使用者

203 資料庫操作失敗

206 移動使用者帳戶資料異常

208 使用者餘額不足

210 超過最高欠費額

215 重複發送消息序列号msgid相同的計費請求消息

218 SCP互聯失敗

222 未登記的SP

232 月消費超額

241~255 SMC錯誤碼(其中250~255為康為短消息中心錯誤應答映射,根據smpp3.4協定)

241 未定義

250 消息隊列滿

300 暫還沒有設定定義255号以上錯誤的,建議SP查一下是否存在

回頁首

華為InfoX——SMPP話單錯誤碼

錯誤碼 含義

AAAA 網關錯誤碼

1XXXX 消息發往SCP出錯時錯誤碼

2BBBB SCP傳回錯誤應答時的錯誤碼,其中BBBB為SCP傳回的錯誤應答消息中的錯誤碼值

3XXXX 消息發往下一級ISMG出錯時錯誤碼

4CCCC 下一級ISMG傳回錯誤應答時的錯誤碼,其中CCCC為下一級ISMG傳回的錯誤應答消息中的錯誤碼值

5XXXX 消息發往SP出錯時錯誤碼

6DDDD SP傳回錯誤應答時的錯誤碼,其中DDDD為SP傳回的錯誤應答消息中的錯誤碼值

7XXXX 消息發往DSMP出錯時錯誤碼

8EEEE DSMP傳回錯誤應答時的錯誤碼,其中EEEE為DSMP傳回的錯誤應答消息中的錯誤碼值

9XXXX 消息發往SMC出錯時錯誤碼

10FFFF SMC傳回錯誤應答時的錯誤碼,其中FFFF為SMC傳回的錯誤應答消息中的錯誤碼值

11XXXX 消息發往SPACE出錯時錯誤碼

12GGGG SPACE傳回錯誤應答時的錯誤碼,其中FFFF為SPACE傳回的錯誤應答消息中的錯誤碼值

回頁首

華為InfoX——CMPP狀态報告錯誤stat含義

Message State Final Message States Description

DELIVERED DELIVRD Message is delivered to destination

EXPIRED EXPIRED Message validity period has

expired

DELETED DELETED Message has been deleted.

UNDELIVERABLE UNDELIV Message is undeliverable

ACCEPTED ACCEPTD Message is in accepted state(i.e. has been manually read on behalf of the subscriber by customer service)

UNKNOWN UNKNOWN Message is in invalid state

REJECTED REJECTD Message is in a rejected state

NOROUTE NOROUTE 查找路由失敗

MA:xxxx MA:xxxx SMSC不傳回響應消息時的狀态報告

MB:xxxx MB:xxxx SMSC傳回錯誤響應消息時的狀态報告

MC:xxxx MC:xxxx 沒有從SMSC處接收到狀态報告時的狀态報告

CA:xxxx CA:xxxx SCP不傳回響應消息時的狀态報告

CB:xxxx CB:xxxx SCP傳回錯誤響應消息時的狀态報告

DA:xxxx DA:xxxx DSMP不傳回響應消息時的狀态報告

DB:xxxx DB:xxxx DSMP傳回錯誤響應消息時的狀态報告

SA:xxxx SA:xxxx SP不傳回響應消息時的狀态報告

SB:xxxx SB:xxxx SP傳回錯誤響應消息時的狀态報告

IA:xxxx IA:xxxx 下一級ISMG不傳回響應消息時的狀态報告

IB:xxxx IB:xxxx 下一級ISMG傳回錯誤響應消息時的狀态報告

IC:xxxx IC:xxxx 沒有從下一級ISMG處接收到狀态報告時的狀态報告

ID:xxxx ID:xxxx 網關ISMG内部檢測錯誤碼

ID:0020 ID:0020 SPACE使用者鑒權子產品鑒權使用者停機或欠費錯誤

ID:0021 ID:0021 SPACE使用者鑒權子產品:使用者銷戶錯誤

MI::zzzz MI::zzzz SMSC傳回狀态報告的狀态值為EXPIRED

MJ:zzzz MJ:zzzz SMSC傳回狀态報告的狀态值為DELETED

MK:zzzz MK:zzzz SMSC傳回狀态報告的狀态值為UNDELIV

ML:zzzz ML:zzzz SMSC傳回狀态報告的狀态值為ACCEPTD

MM:zzzz MM:zzzz SMSC傳回狀态報告的狀态值為UNKNOWN

MN:zzzz MN:zzzz SMSC傳回狀态報告的狀态值為REJECTD

MH:zzzz MH:zzzz 其它值

回頁首

華為InfoX——接口斷連錯誤碼說明

4.1 infoX接口斷連的原因概述

接口斷連的原因一般可分為三類,分别為:

A、握手逾時(Enquire Link)

B、業務子產品發送的消息協定錯誤

C、TCP/IP的SOCKET關閉或産生異常。

以下将對各情況進行描述。

4.2 業務子產品發送的消息協定錯誤

此情況由于客戶子產品發送了結構錯誤的消息,或者消息錯位,導緻infoX讀取消息錯誤。由于infoX與客戶子產品采用消息流格式,為防止由于消息錯位造成以後的消息都不能正确取得,此時,對于基中的某些消息,infoX将斷連接配接口。原因分别為:

錯誤碼 原因分析 後續操作

97001 預設解碼失敗 為防止以後消息錯位,接口将斷連

97002 消息頭錯誤 為防止以後消息錯位,接口将斷連

97003 源緩沖區不夠,不處理 繼續接收消息

97004 目的緩沖區不夠 為防止以後消息錯位,接口将斷連

97005 嚴重協定錯誤 為防止以後消息錯位,接口将斷連

97006 協定中某字段一般性錯誤 隻删除此消息,不斷開接口

97007 接收到NACK消息 為防止以後消息錯位,接口将斷連

97008 接收太多的握手 接口将斷連

97009 位址錯誤,NPI、TON不支援 隻删除此消息,不斷開接口

97010 時間格式錯誤 隻删除此消息,不斷開接口

97011 DCS錯誤 隻删除此消息,不斷開接口

97012 協定不支援 隻删除此消息,不斷開接口

97013~97999 保留

例:

2001/05/28 15:31:03 2 ID為32的接口産生接口斷連資訊,對端位址:10.10.2.1 ErrCode:97001,ErrorType:0

4.3 握手或接收異常錯誤

錯誤碼 原因分析 後續操作

19000 保留

19001 接收消息的Buff出了問題 接口将斷連

19002 解碼傳回的值不對(隻能是0/-1/>0) 接口将斷連

19003 握手逾時 接口将斷連

19004 對端主動關閉Socket

19005 連接配接對方伺服器的間隔時間,到時重連

19006 發送Login請求後,等待對方伺服器的應答消息逾時

19007 進行Socket底層的連接配接建立,等待connect函數的時間

19008 Dsmpfep read消息錯誤

4.4 TCP/IP的SOCKET關閉或産生異常

此情況是由于用戶端主動關閉退出産生的提示資訊,錯誤代碼為“0”;

例:

2001/05/28 15:32:14 2 ID為32的接口産生接口斷連資訊,對端位址:10.10.2.1 ErrCode:0,ErrorType:0

或者由于SOCKET底層的其它異常錯誤,導緻接口斷連,此時的錯誤碼将有多種多樣,較長的描述請見WINDOWS平台SOCKET錯誤碼說明及UNIX平台錯誤碼說明。

例:

2001/05/30 15:49:32 2 ID為32的接口産生接口斷連資訊,對端位址:10.10.2.1 ErrCode:10054,ErrorType:0

4.5 WINDOWS平台SOCKET錯誤碼說明

MSDN對于SOCKET異常ID的描述

錯誤碼值 錯誤碼辨別 含義

10004 WSAEINTR Interrupted function call.

A blocking operation was interrupted by a call to WSACancelBlockingCall.

10013 WSAEACCES Permission denied.

An attempt was made to access a socket in a way forbidden by its access permissions. An example is using a broadcast address for sendto without broadcast permission being set using setsockopt(SO_BROADCAST).

10014 WSAEFAULT Bad address.

The system detected an invalid pointer address in attempting to use a pointer argument of a call. This error occurs if an application passes an invalid pointer value, or if the length of the buffer is too small. For instance, if the length of an argument which is a struct sockaddr is smaller than sizeof(struct sockaddr).

10022 WSAEINVAL Invalid argument.

Some invalid argument was supplied (for example, specifying an invalid level to the setsockopt function). In some instances, it also refers to the current state of the socket - for instance, calling accept on a socket that is not listening.

10024 WSAEMFILE Too many open files.

Too many open sockets. Each implementation may have a maximum number of socket handles available, either globally, per process or per thread.

10035 WSAEWOULDBLOCK Resource temporarily unavailable.

This error is returned from operations on non-blocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. It is a non-fatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connect on a non-blocking SOCK_STREAM socket, since some time must elapse for the connection to be established.

10036 WSAEINPROGRESS Operation now in progress.

A blocking operation is currently executing. Windows Sockets only allows a single blocking operation to be outstanding per task (or thread), and if any other function call is made (whether or not it references that or any other socket) the function fails with the WSAEINPROGRESS error.

10037 WSAEALREADY Operation already in progress.

An operation was attempted on a non-blocking socket that already had an operation in progress - i.e. calling connect a second time on a non-blocking socket that is already connecting, or canceling an asynchronous request (WSAAsyncGetXbyY) that has already been canceled or completed.

10038 WSAENOTSOCK Socket operation on non-socket.

An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid.

10039 WSAEDESTADDRREQ Destination address required.

A required address was omitted from an operation on a socket. For example, this error will be returned if sendto is called with the remote address of ADDR_ANY.

10040 WSAEMSGSIZE Message too long.

A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

10041 WSAEPROTOTYPE Protocol wrong type for socket.

A protocol was specified in the socket function call that does not support the semantics of the socket type requested. For example, the ARPA Internet UDP protocol cannot be specified with a socket type of SOCK_STREAM.

10042 WSAENOPROTOOPT Bad protocol option.

An unknown, invalid or unsupported option or level was specified in a getsockopt or setsockopt call.

10043 WSAEPROTONOSUPPORT Protocol not supported.

The requested protocol has not been configured into the system, or no implementation for it exists. For example, a socket call requests a SOCK_DGRAM socket, but specifies a stream protocol.

10044 WSAESOCKTNOSUPPORT Socket type not supported.

The support for the specified socket type does not exist in this address family. For example, the optional type SOCK_RAW might be selected in a socket call, and the implementation does not support SOCK_RAW sockets at all.

10045 WSAEOPNOTSUPP Operation not supported.

The attempted operation is not supported for the type of object referenced. Usually this occurs when a socket descriptor to a socket that cannot support this operation, for example, trying to accept a connection on a datagram socket.

10046 WSAEPFNOSUPPORT Protocol family not supported.

The protocol family has not been configured into the system or no implementation for it exists. Has a slightly different meaning to WSAEAFNOSUPPORT, but is interchangeable in most cases, and all Windows Sockets functions that return one of these specify WSAEAFNOSUPPORT.

10047 WSAEAFNOSUPPORT Address family not supported by protocol family.

An address incompatible with the requested protocol was used. All sockets are created with an associated "address family" (i.e. AF_INET for Internet Protocols) and a generic protocol type (i.e. SOCK_STREAM). This error will be returned if an incorrect protocol is explicitly requested in the socket call, or if an address of the wrong family is used for a socket, e.g. in sendto.

10048 WSAEADDRINUSE Address already in use.

Only one usage of each socket address (protocol/IP address/port) is normally permitted. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that wasn't closed properly, or one that is still in the process of closing. For server applications that need to bind multiple sockets to the same port number, consider using setsockopt(SO_REUSEADDR). Client applications usually need not call bind at all - connect will choose an unused port automatically. When bind is called with a wild-card address (involving ADDR_ANY), a WSAEADDRINUSE error could be delayed until the specific address is "committed." This could happen with a call to other function later, including connect, listen, WSAConnect or WSAJoinLeaf.

10049 WSAEADDRNOTAVAIL Cannot assign requested address.

The requested address is not valid in its context. Normally results from an attempt to bind to an address that is not valid for the local machine. This can also result from connect, sendto, WSAConnect, WSAJoinLeaf, or WSASendTo when the remote address or port is not valid for a remote machine (e.g. address or port 0).

10050 WSAENETDOWN Network is down.

A socket operation encountered a dead network. This could indicate a serious failure of the network system (i.e. the protocol stack that the WinSock DLL runs over), the network interface, or the local network itself.

10051 WSAENETUNREACH Network is unreachable.

A socket operation was attempted to an unreachable network. This usually means the local software knows no route to reach the remote host.

10052 WSAENETRESET Network dropped connection on reset.

The connection has been broken due to "keep-alive" activity detecting a failure while the operation was in progress. It can also be returned by setsockopt if an attempt is made to set SO_KEEPALIVE on a connection that has already failed.

10053 WSAECONNABORTED Software caused connection abort.

An established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error.

10054 WSAECONNRESET Connection reset by peer.

A existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host used a "hard close" (see setsockopt for more information on the SO_LINGER option on the remote socket.) This error may also result if a connection was broken due to "keep-alive" activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.

10055 WSAENOBUFS No buffer space available.

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.

10056 WSAEISCONN Socket is already connected.

A connect request was made on an already connected socket. Some implementations also return this error if sendto is called on a connected SOCK_DGRAM socket (For SOCK_STREAM sockets, the to parameter in sendto is ignored), although other implementations treat this as a legal occurrence.

10057 WSAENOTCONN Socket is not connected.

A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using sendto) no address was supplied. Any other type of operation might also return this error - for example, setsockopt setting SO_KEEPALIVE if the connection has been reset.

10058 WSAESHUTDOWN Cannot send after socket shutdown.

A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call. By calling shutdown a partial close of a socket is requested, which is a signal that sending or receiving or both has been discontinued.

10060 WSAETIMEDOUT Connection timed out.

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

10061 WSAECONNREFUSED Connection refused.

No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host - i.e. one with no server application running.

10064 WSAEHOSTDOWN Host is down.

A socket operation failed because the destination host was down. A socket operation encountered a dead host. Networking activity on the local host has not been initiated. These conditions are more likely to be indicated by the error WSAETIMEDOUT.

10065 WSAEHOSTUNREACH No route to host.

A socket operation was attempted to an unreachable host. See WSAENETUNREACH

10067 WSAEPROCLIM Too many processes.

A Windows Sockets implementation may have a limit on the number of applications that may use it simultaneously. WSAStartup may fail with this error if the limit has been reached.

10091 WSASYSNOTREADY Network subsystem is unavailable.

This error is returned by WSAStartup if the Windows Sockets implementation cannot function at this time because the underlying system it uses to provide network services is currently unavailable. Users should check:

that the appropriate Windows Sockets DLL file is in the current path,

that they are not trying to use more than one Windows Sockets implementation simultaneously. If there is more than one WINSOCK DLL on your system, be sure the first one in the path is appropriate for the network subsystem currently loaded.

the Windows Sockets implementation documentation to be sure all necessary components are currently installed and configured correctly.

10092 WSAVERNOTSUPPORTED WINSOCK.DLL version out of range.

The current Windows Sockets implementation does not support the Windows Sockets specification version requested by the application. Check that no old Windows Sockets DLL files are being accessed.

10093 WSANOTINITIALISED Successful WSAStartup not yet performed.

Either the application hasn't called WSAStartup or WSAStartup failed. The application may be accessing a socket which the current active task does not own (i.e. trying to share a socket between tasks), or WSACleanup has been called too many times.

10094 WSAEDISCON Graceful shutdown in progress.

Returned by WSARecv and WSARecvFrom to indicate the remote party has initiated a graceful shutdown sequence.

10109 WSATYPE_NOT_FOUND Class type not found.

The specified class was not found.

11001 WSAHOST_NOT_FOUND Host not found.

No such host is known. The name is not an official hostname or alias, or it cannot be found in the database(s) being queried. This error may also be returned for protocol and service queries, and means the specified name could not be found in the relevant database.

11002 WSATRY_AGAIN Non-authoritative host not found.

This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. A retry at some time later may be successful.

11003 WSANO_RECOVERY This is a non-recoverable error.

This indicates some sort of non-recoverable error occurred during a database lookup. This may be because the database files (e.g. BSD-compatible HOSTS, SERVICES or PROTOCOLS files) could not be found, or a DNS request was returned by the server with a severe error.

11004 WSANO_DATA Valid name, no data record of requested type.

The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a hostname -> address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server), and an MX record is returned but no A record - indicating the host itself exists, but is not directly reachable.

4.6 UNIX平台SOCKET錯誤碼說明

錯誤碼值 錯誤碼辨別 含義

HP平台

10001 EPERM Not super-user

10002 ENOENT No such file or directory

10003 ESRCH No such process

10004 EINTR interrupted system call

10005 EIO I/O error

10006 ENXIO No such device or address

10007 E2BIG Arg list too long

10008 ENOEXEC Exec format error

10009 EBADF Bad file number

10010 ECHILD No children

10011 EAGAIN No more processes

10012 ENOMEM Not enough core

10013 EACCES Permission denied

10014 EFAULT Bad address

10015 ENOTBLK Block device required

10016 EBUSY Mount device busy

10017 EEXIST File exists

10018 EXDEV Cross-device link

10019 ENODEV No such device

10020 ENOTDIR Not a directory

10021 EISDIR Is a directory

10022 EINVAL Invalid argument

10023 ENFILE File table overflow

10024 EMFILE Too many open files

10025 ENOTTY Not a typewriter

10026 ETXTBSY Text file busy

10027 EFBIG File too large

10028 ENOSPC No space left on device

10029 ESPIPE Illegal seek

10030 EROFS Read only file system

10031 EMLINK Too many links

10032 EPIPE Broken pipe

10033

10034

10035 ENOMSG No message of desired type

10036 EIDRM Identifier removed

10037 ECHRNG Channel number out of range

10038 EL2NSYNC Level 2 not synchronized

10039 EL3HLT Level 3 halted

10040 EL3RST Level 3 reset

10041 ELNRNG Link number out of range

10042 EUNATCH Protocol driver not attached

10043 ENOCSI No CSI structure available

10044 EL2HLT Level 2 halted

10045 EDEADLK A deadlock would occur

10046 ENOLCK System record lock table was full

10047 EILSEQ Illegal byte sequence

10048

10049

10050 ENONET Machine is not on the network

10051 ENODATA no data (for no delay io)

10052 ETIME timer expired

10053 ENOSR out of streams resources

10054 ENOSTR Device not a stream

10055 ENOPKG Package not installed

10056

10057 ENOLINK the link has been severed

10058 EADV advertise error

10059 ESRMNT srmount error

10060 ECOMM Communication error on send

10061 EPROTO Protocol error

10064 EMULTIHOP multihop attempted

10066 EDOTDOT Cross mount point (not really error)

10067 EBADMSG trying to read unreadable message

10068 EUSERS For Sun compatibilty, will not occur.

10069 EDQUOT Disc quota exceeded

10070 ESTALE Stale NFS file handle

10071 EREMOTE Too many levels of remote in path

10072 EOVERFLOW Value too large to be stored in data type

10152 ENOLOAD Cannot load required kernel module

10153 ERELOC Object file error in loading kernel module

10154 ENOMATCH Symbol matching given spec not found

10155 ENOUNLD Cannot unload kernel module

10156 EBADVER Version number mismatch for loadable kernel module

10157 ECONFIG Configured kernle resource exhausted

10158 ENOREG Cannot register required kernel module

10159 ENOUNREG Cannot unregister kernel module

10215 ENOSYM symbol does not exist in executable

10216 ENOTSOCK Socket operation on non-socket

10217 EDESTADDRREQ Destination address required

10218 EMSGSIZE Message too long

10219 EPROTOTYPE Protocol wrong type for socket

10220 ENOPROTOOPT Protocol not available

10221 EPROTONOSUPPORT Protocol not supported

10222 ESOCKTNOSUPPORT Socket type not supported

10223 EOPNOTSUPP Operation not supported

10224 EPFNOSUPPORT Protocol family not supported

10225 EAFNOSUPPORT Address family not supported by protocol family

10226 EADDRINUSE Address already in use

10227 EADDRNOTAVAIL Can't assign requested address

10228 ENETDOWN Network is down

10229 ENETUNREACH Network is unreachable

10230 ENETRESET Network dropped connection on

10231 ECONNABORTED Software caused connection abort

10232 ECONNRESET Connection reset by peer

10233 ENOBUFS No buffer space available

10234 EISCONN Socket is already connected

10235 ENOTCONN Socket is not connected

10236 ESHUTDOWN Can't send after socket shutdown

10237 ETOOMANYREFS Too many references: can't splice

ECONNREFUSED EREFUSED Double define for NFS

10238 ETIMEDOUT Connection timed out

10239 ECONNREFUSED Connection refused

10240 EREMOTERELEASE Remote peer released connection

10241 EHOSTDOWN Host is down

10242 EHOSTUNREACH No route to host

10244 EALREADY Operation already in progress

10245 EINPROGRESS Operation now in progress

10246 EWOULDBLOCK Operation would block

10247 ENOTEMPTY Directory not empty

10248 ENAMETOOLONG File name too long

10249 ELOOP Too many levels of symbolic links

10251 ENOSYS Function not implemented

10252 ENOTSUP Function not implemented

10253 ECANCELED aio request was canceled before complete

IBM平台

10001 EPERM Operation not permitted

10002 ENOENT No such file or directory

10003 ESRCH No such process

10004 EINTR interrupted system call

10005 EIO I/O error

10006 ENXIO No such device or address

10007 E2BIG Arg list too long

10008 ENOEXEC Exec format error

10009 EBADF Bad file descriptor

10010 ECHILD No child processes

10011 EAGAIN Resource temporarily unavailable

10012 ENOMEM Not enough space

10013 EACCES Permission denied

10014 EFAULT Bad address

10015 ENOTBLK Block device required

10016 EBUSY Resource busy

10017 EEXIST File exists

10018 EXDEV Improper link

10019 ENODEV No such device

10020 ENOTDIR Not a directory

10021 EISDIR Is a directory

10022 EINVAL Invalid argument

10023 ENFILE Too many open files in system

10024 EMFILE Too many open files

10025 ENOTTY Inappropriate I/O control operation

10026 ETXTBSY Text file busy

10027 EFBIG File too large

10028 ENOSPC No space left on device

10029 ESPIPE Invalid seek

10030 EROFS Read only file system

10031 EMLINK Too many links

10032 EPIPE Broken pipe

10033 EDOM Domain error within math function

10034 ERANGE Result too large

10035 ENOMSG No message of desired type

10036 EIDRM Identifier removed

10037 ECHRNG Channel number out of range

10038 EL2NSYNC Level 2 not synchronized

10039 EL3HLT Level 3 halted

10040 EL3RST Level 3 reset

10041 ELNRNG Link number out of range

10042 EUNATCH Protocol driver not attached

10043 ENOCSI No CSI structure available

10044 EL2HLT Level 2 halted

10045 EDEADLK Resource deadlock avoided

10046 ENOTREADY Device not ready

10047 EWRPROTECT Write-protected media

10048 EFORMAT Unformatted media

10049 ENOLCK No locks available

10050 ENOCONNECT no connection

10052 ESTALE no filesystem

10053 EDIST old, currently unused AIX errno

10054 EWOULDBLOCK

10055 EINPROGRESS Operation now in progress

10056 EALREADY Operation already in progress

10057 ENOTSOCK Socket operation on non-socket

10058 EDESTADDRREQ Destination address required

10059 EMSGSIZE Message too long

10060 EPROTOTYPE Protocol wrong type for socket

10061 ENOPROTOOPT Protocol not available

10062 EPROTONOSUPPORT Protocol not supported

10063 ESOCKTNOSUPPORT Socket type not supported

10064 EOPNOTSUPP Operation not supported on socket

10065 EPFNOSUPPORT Protocol family not supported

10066 EAFNOSUPPORT Address family not supported by protocol family

10067 EADDRINUSE Address already in use

10068 EADDRNOTAVAIL Can't assign requested address

10069 ENETDOWN Network is down

10070 ENETUNREACH Network is unreachable

10071 ENETRESET Network dropped connection on reset

10072 ECONNABORTED Software caused connection abort

10073 ECONNRESET Connection reset by peer

10074 ENOBUFS No buffer space available

10075 EISCONN Socket is already connected

10076 ENOTCONN Socket is not connected

10077 ESHUTDOWN Can't send after socket shutdown

10078 ETIMEDOUT Connection timed out

10079 ECONNREFUSED Connection refused

10080 EHOSTDOWN Host is down

10081 EHOSTUNREACH No route to host

10082 ERESTART restart the system call

10083 EPROCLIM Too many processes

10084 EUSERS Too many users

10085 ELOOP Too many levels of symbolic links

10086 ENAMETOOLONG File name too long

10087 Directory not empty

10088 EDQUOT Disc quota exceeded

10089 ECORRUPT Invalid file system control data

10093 EREMOTE Item is not local to host

10109 ENOSYS Function not implemented POSIX

10110 EMEDIA media surface error

10111 ESOFT I/O completed, but needs relocation

10112 ENOATTR no attribute found

10113 ESAD security authentication denied

10114 ENOTRUST not a trusted program

10115 ETOOMANYREFS Too many references: can't splice

10116 EILSEQ Invalid wide character

10117 ECANCELED asynchronous i/o cancelled

10118 ENOSR temp out of streams resources

10119 ETIME I_STR ioctl timed out

10120 EBADMSG wrong message type at stream head

10121 EPROTO STREAMS protocol error

10122 ENODATA no message ready at stream head

10123 ENOSTR fd is not a stream

10124 ENOTSUP POSIX threads unsupported value

10125 EMULTIHOP multihop is not allowed

10126 ENOLINK the link has been severed

10127 EOVERFLOW value too large to be stored in data type

回頁首

華為InfoX——維測及網管錯誤碼說明

infoX網關回送給維測台及網管的錯誤碼說明

維測錯誤碼 網管錯誤碼 含義

99000 4000 保留

99001 4001 使用者沒有查詢權限

99002 4002 使用者沒有修改權限

99003 4003 收到的維測協定錯誤(版本錯誤)

99004 4004 輸入要操作的帳号名為空

99005 4005 帳号名錯誤

99006 4006 不能對進階管理帳号sa進行操作

99007 4007 輸入相關帳号名不合法

99008 4008 輸入帳号優先級的值不合法

99009 4009 由于系統原因添加帳号失敗

99010 4010 由于系統原因添加接口失敗

99011 4011 添加接口的對端位址資訊輸入格式錯誤

99012 4012 添加接口的接口類型無效(維測台版本錯誤)

99013 4013 使用者不能删除sa下的維測接口

99014 4014 使用者輸入的接口ID無效

99015 4015 由于系統原因查詢接口失敗

99016 4016 由于系統原因,查詢号段鑒權資訊失敗

99017 4017 号段鑒權資訊所在帳号的鑒權類型無效

99018 4018 号段鑒權資訊所在帳号的鑒權類型為使用者鑒權

99019 4019 号段鑒權資訊輸入的服務類型無效

99020 4020 号段鑒權資訊輸入的位址類型無效

99021 4021 增加号段鑒權資訊已經存在或輸入号段無效

99022 4022 删除号段鑒權資訊不存在

99023 4023 路由資訊和帳号名不比對

99024 4024 路由資訊作業系統錯誤

99025 4025 删除路由的位址資訊錯誤

99026 4026 添加路由的位址資訊錯誤

99027 4027 添加PPS路由資訊輸入使用者類型錯誤

99028 4028 接入碼錯誤

99029 4029 SETPARAM輸入服務類型為SERVICE_SMS時,沒有接口

99030 4030 加載資料中心位址資訊失敗

99031 4031 加載錯誤提示資訊失敗

99032 4032 加載費率表失敗

99033 4033 加載IP資訊失敗

99034 4034 加載存儲轉發資訊失敗

99035 4035 加載SP攔截資訊失敗

99036 4036 加載DSMP相關資訊失敗

99037 4037 SETPARAM輸入特征字元串無效

99038 4038 GETPARAM輸入服務類型為SERVICE_SMS時,沒有接口

99039 4039 GETPARAM輸入服務類型為SERVICE_REVERSE1

99040 4040 GETPARAM輸入特征字元串無效

99041 4041 查詢ServiceID時檔案打開操作失敗

99042 4042 查詢ServiceID時檔案檔案長度錯誤

99043 4043 查詢ServiceID時檔案時申請記憶體錯誤

99044 4044 查詢ServiceID時檔案時取到的長度不是實際檔案的長度

99045 4045 設定性能閥值的消息類型參數錯誤

99046 4046 系統非雙機模式不能切換

99047 4047 動态加載不送scp的号段表失敗

99048 4048 加載SP資訊參數錯

99049 4049 加載SP資訊讀取配置檔案錯誤

99050 4050 增加跟蹤失敗

99051 4051 終止跟蹤失敗

99052 4052 增加統計任務失敗

99053 4053 統計類型錯誤

99054 4054 統計記錄錯誤

99055 4055 統計ID錯誤

99056 4056 設定網關屬性錯誤

99057 4057 GNS路由消息空

99058 4058 擷取GNS路由失敗

99059 4059 錯誤碼轉換檔案不存在

99060 4060 錯誤碼轉換檔案格式錯誤

99061 4061 查詢所有接口失敗

99062 4062 GNS發送接口類型錯誤

99063 4063 非法的SPTypeID,SPTypeCfg.dat中不存在

99064 4064 非法的PROXYID

99065 4065 不能進行PROXYID的修改

99066 4066 PROXY進行資料同步失敗

99067 4067 等待PROXY應答逾時

99068 4068 帳号接口資料同步類型錯誤

99069 4069 帳号接口資料同步網關錯誤

99070 4070 帳号接口資料同步PROXY未激活

99071 4071 帳号接口資料同步,沒有需要同步的資料

99072 4072 APP進行資料同步失敗,主要指服務端接口資料和用戶端接口狀态同步錯

99073 4073 添加内部連接配接接口,帳号的服務類型(或編碼類型)不正确

99074~99999 保留

回頁首

華為InfoX——錯誤碼說明

1.1.1 AAAA網關錯誤碼

AAAA的值(4位,不足4位前面補0) 含義

1 消息結構錯

2 指令字錯誤

3 消息序列号重複

4 消息長度錯

5 資費代碼錯

6 超過最大資訊長

7 業務代碼錯

8 流量控制錯

9 本網關不負責此計費号碼

10 Src_ID錯

11 Msg_src錯

12 計費位址錯

13 目的位址錯

14~49 擴充

51 尚未建立連接配接

52 尚未成功登入

53 發送消息失敗

54 逾時未接收到響應消息

55 等待狀态報告逾時

56 使用者鑒權時使用者狀态不正常

60 保留

61 有效時間已經過期

62 定時發送時間已經過期

63 不能識别的FeeType

64 發送服務源位址鑒權失敗

65 發送服務目的位址鑒權失敗

66 接收服務源位址鑒權失敗

67 接收服務目的位址鑒權失敗

68 使用者鑒權失敗

69 此使用者為黑名單使用者

70 網絡斷連或目的裝置關閉接口

71 超過最大節點數

72 找不到路由

73 等待應答逾時

74 送SCP失敗

75 送SCP鑒權等待應答逾時

76 資訊安全鑒權失敗

77 超過最大Submit送出數

78 SPID 為空

79 業務類型為空

80 CPCode錯誤

81 發送接收接口重複

82 循環路由

83 超過接收側短消息MTU

84 送DSMP重發失敗

85 DSMP系統忙重發

86 DSMP系統忙,且緩存滿重發

87 DSMP流控重發

88 等DSMP應答逾時重發

89

90 SGIP消息等待處理

91 SGIP協定狀态報告請求辨別錯誤

92 SGIP協定MT辨別錯

93 SGIP協定SP節點編号錯

94 沒有配置帳号

1.1.2 BBBB SCP傳回的錯誤碼

操作結果

BBBB的值(4位,不足4位前面補0) 含義 備注

0 成功

1 非神州行預付費使用者 指的是計費号碼在SCP中不存在,比如發送一個全球通号碼到SCP

2 資料庫操作失敗 因資料庫異常、被操作表不存在、被操作字段不存在等導緻SQL語句執行失敗的狀态。

3 鑒權失敗 保留未用

4 超過最大錯誤次數 保留未用

5 移動使用者帳戶資料異常 PPS狀态異常(包括未頭次使用、儲值卡被封鎖、儲值卡進入保留期、儲值卡挂失)

6 服務沒有激活 指的是monet_service表的servicestate狀态為未激活。

7 使用者餘額不足 使用者餘額不足扣減此次費用

8 超過包月費用上限 保留未用

9 超過最高欠費額 保留未用

10 使用者已注冊該項服務 保留未用

11 使用者沒有注冊該項服務 保留未用

14 未登記的網關 隻有注冊的網關ID才允許登入鑒權,未注冊的網關登入鑒權失敗。

15 網關登入摘要錯誤 網關登入認證時候根據密碼生成摘要與業務根據密碼生成摘要不一緻,大部分原因是網關的密碼與SCP的配置不對

16 參數錯誤 保留未用

17 伺服器端資料未傳完 保留未用

18 重複發送消息序列号msgid相同的計費請求消息 認為重複單條扣費,則傳回該狀态碼。SCP記錄一定時間(大概48小時)的消息,如果此時間段中重複則拒絕

20 未知錯誤 保留未用

21 資料庫錯誤 保留未用

22 SCP互聯失敗 消息發給非使用者歸屬SCP,需要通過互聯轉發消息,由于信令網故障等緣故可能導緻互聯失敗

23 數值越界 折扣>100,費率<0等

24 字段超長 保留未用

25 無相關資料 保留未用

26 資料重複 保留未用

40 未登記的SP 業務可設定對SP鑒權,未登記的SP則拒絕

41 SP帳戶狀态異常 SP未激活,SP狀态為激活和未激活兩種

42 SP無權限 保留未用

43 SP帳戶已存在 保留未用

44 未登記的SP業務類型 業務可設定對SP的業務鑒權,未登記的SP的業務則拒絕

45 SP業務類型資料異常 SP的業務類型資料未激活,實際業務類型狀态有激活和未激活兩種。

46 SP業務類型已存在 保留未用

52 夢網使用者已存在 保留未用

53 夢網使用者不存在 計費号碼不是夢網使用者,沒有進行夢網開戶

54 夢網使用者狀态異常 夢網使用者沒有激活

55 簽約資訊已存在 保留未用

56 簽約資訊不存在 保留未用

57 簽約資料異常 使用者與SP的簽約資訊資料未激活等

61 月消費超額 業務可設定月消費限額,如果超額則拒絕新的扣費請求

62 單筆消費超額 業務可設定單筆消費限額,如果超額則拒絕

63 使用者拒絕 保留未用

64 短消息編号已存在 網關生成的短消息編号msgid重複

65 對應扣費請求不存在 收到狀态報告消息時,根據msgid查詢monet_smrecord表沒有找到對應的扣費記錄

66 扣費請求已被确認 收到狀态報告消息時,根據msgid查詢monet_smrecord表的扣費記錄,發現該扣費記錄前面已收到過狀态報告。

67 未定義的計費類型 計費消息參數type非法,不是協定定義的類型

68 未定義的編碼方式 保留未用

69 包月控制計費請求失敗

70 動感地帶使用者的月租方式不正确 使用者模闆表中的月租方式不是固定月結日

1.1.3 CCCC ISMG傳回的錯誤碼

CCCC的值(4位,不足4位前面補0) 含義

infoX網關傳回錯誤碼值

1 消息結構錯

2 指令字錯

3 消息序号重複

4 消息長度錯

5 資費代碼錯

6 超過最大資訊長

7 業務代碼錯

8 流量控制錯

其它(參看AAAA網關内部錯誤碼表)

其他廠家錯誤碼:參看各廠家ISMG傳回錯誤碼表

1.1.4 DDDD SP傳回的錯誤碼

DDDD的值(4位,不足4位前面補0) 含義

參看各SP傳回錯誤碼表

1.1.5 EEEE DSMP傳回的錯誤碼

EEEE的值(4位,不足4位前面補0) 含義

1 未知錯誤

100-999為業務網關和DSMP之間的接口消息中的錯誤代碼

100 手機号碼不存在

101 手機号碼錯誤

102 使用者停機

103 使用者欠費

104 使用者沒有使用該業務的權限

105 業務代碼錯誤

106 服務代碼錯誤

107 業務不存在

108 該業務暫停服務

109 該服務種類不存在

110 該服務種類尚未開通

111 該業務尚未開通

112 SP代碼錯誤

113 SP不存在

114 SP暫停服務

115 使用者沒有定購該業務

116 使用者暫停定購該業務

117 該業務不能對該使用者開放

118 使用者已經訂購了該業務

119 使用者不能取消該業務

120 話單格式錯誤

121 沒有該類業務

122 接收異常

123 業務價格為負

124 業務價格格式錯誤

125 業務價格超出範圍

126 該使用者不是神州行使用者

127 該使用者沒有足夠的餘額

128 補款,沖正失敗

129 使用者已經是夢網使用者

130 使用者在BOSS中沒有相關使用者資料

131 BOSS系統資料同步出錯

132 相關資訊不存在

133 使用者資料同步出錯

134 SP資料同步出錯

135 業務資料同步出錯

136 使用者密碼錯誤

137 僞碼資訊錯誤

138 使用者相關資訊不存

9000-9999為系統級錯誤

9000 系統磁盤讀寫錯誤

9001 網絡異常

9002 網絡錯誤

9003 業務網關忙,業務網關緩存

9004 業務網關忙,并且業務網關緩沖區滿,DSMP緩存,并暫時不要發送消息,等待一段時間重試

9005 DSMP忙,DSMP緩存

9006 DSMP忙,并且DSMP緩沖區滿,業務網關緩存,并暫時不要發送消息,等待一段時間重試

9007 業務網關超過限制的流量

9008 DSMP異常,并不可用

9009 業務網關異常,并不可用

9010 該業務網關沒有權限調用該接口消息

9011 DSMP沒有權限發送該接口消息給業務網關

9012 版本不支援

9013 消息類型不對,系統不支援

9014 驗證錯誤,無法解析SOAP和XML結構、缺少必須存在的字段,或者消息格式不正确

9015 拒絕消息,伺服器無法完成請求的服務

1.1.6 FFFF SMC傳回的錯誤碼

FFFF的值(4位,不足4位前面補0) 含義

0X00000001 – 0X0000000F 保留給SMSC廠商定義錯誤

0X00000010 消息長度錯誤

0X00000011 指令長度錯誤

0X00000012 消息ID無效

0X00000013 沒有執行此指令的權限

0X00000014 – 0X0000001F 保留

0X00000020 無效的SYSTEMID

0X00000021 無效的密碼

0X00000022 無效的SYSTEMTYPE

0X00000023 – 0X0000003F 保留

0X00000040 位址錯誤

0X00000041 超過最大送出數

0X00000042 超過最大下發數

0X00000043 無效的使用者

0X00000044 無效的資料格式

0X00000045 建立消息失敗

0X00000046 無效的短消息ID

0X00000047 資料庫失敗

0X00000048 取消消息失敗

0X00000049 短消息狀态錯誤

0X0000004A 替換消息失敗

0X0000004B 替換消息源位址錯誤

0X0000004C – 0X0000005F 保留

0X00000060 無效的源位址TON

0X00000061 無效的源位址NPI

0X00000062 源位址錯誤

0X00000063 無效的目的位址TON

0X00000064 無效的目的位址NPI

0X00000065 目的位址錯誤

0X00000066 無效的定時時間

0X00000067 無效的逾時時間

0X00000068 無效的ESM_CALSS

0X00000069 無效的UDLEN

0X0000006A 無效的PRI

0X0000006B 無效的Registered_delivery_flag

0X0000006C 無效的Replace_if_present_flag

0X0000006D – 0X0000007F 保留

0X00000080 指定使用者已經存在

0X00000081 建立使用者失敗

0X00000082 使用者ID錯誤

0X00000083 指定使用者不存在

0X00000084 – 0X0000008F 保留

0X00000090 – 0X00000FFF 保留給SMSC廠商定義錯誤

其他 保留

1.1.7 GGGG SPACE傳回的錯誤碼

XXXX的值(4位,不足4位前面補0) 含義

102 使用者停機

103 使用者欠費

2004 使用者銷戶

1.1.8 XXXX消息發往SCP、SP、DSMP、SMC出錯時錯誤碼

XXXX的值(4位,不足4位前面補0) 含義

0051 尚未建立連接配接

0052 尚未成功登入

0053 發送消息失敗

0054 逾時未接收到響應消息

0100-0499 廠家自定義的錯誤碼

0100 向SCP發送消息時失敗

0012 發送SCP的過程中目的帳号被删除

0030 沒有路由

回頁首

收集到的移動CMPP的錯誤資訊,不知道是否正确,希望對大家有幫助

1、如何進行登入失敗原因分析

ICP登入網關經常會失敗,主要有一下原因,如果ICP使用自己的API可以對登入的應答消息中消息狀态字段進行分析,下面列出了主要的錯誤原因:

SMPP協定 CMPP協定 錯誤碼含義

status=0 result=0 登入成功

status=6 result=2 登入帳号名在系統不存在

status=11 result=3 登入效驗密碼錯誤

status=9 result=9 超過最大接口數(帳号限制或總數限制)

status=48 result=48 對端裝置IP被限制

如果是使用公司提供的動态庫(動态庫隻提供成功與失敗兩種狀态),則也着重按上述情況進行原因分析。

注:前提為初始化接口成功

2、消息發送失敗原因分析

ICP送出消息失敗,可通過多種方式對其原因進行分析,首先最常見的方法是使用維測台跟蹤消息,看其應答消息的傳回狀态,下面列出了送出消息常見的錯誤碼,可進行參考分析。

SMPP協定 CMPP協定 錯誤碼含義 備注

status=0 result=0 成功

status=49 result=1 消息結構錯 注:這些錯誤碼一般不會在自己的網關出現,隻可能此錯誤是其他網關前轉過來。

status=51 result=2 指令字錯

status=52 result=3 MsgID錯誤

status=53 result=4 消息長度錯

status=54 result=5 資費代碼錯誤

status=55 result=6 超過的最大資訊長度

status=56 result=7 業務代碼錯誤

status=57 result=8 流量控制錯

status=59 result=9 前轉判斷錯

status=58 result=10 超過了最大網關前傳節點 注:網關常見錯誤碼,這些錯誤碼一般是消息在網關被拒絕掉而産生的。

status= 30 result=11 找不到路由

status=16 result=12 定時發送時間或有效時間錯

status= 12 result=13 各種鑒權失敗

status=27 result=14 應答逾時

status= 19 result=15 接口無效

status=102 result=16 SCP應答逾時

其它 result=17~255 短消息中心或SCP處出錯

status=60 result=60 黑名單使用者 D200版本才支援此特性

常見的SCP出錯的錯誤碼(詳細内容請參考SCP錯誤碼表)

status=40 result=40 未登記的SP 注:SCP扣費鑒權常見錯誤碼表,詳細

status=44 result=44 未登記的SP業務類型

status=50 result=50 移動使用者不存在

status=60 result=60 餘額不足

常見短消息中心回錯誤碼(公司内部短消息中心)

status=19 result=19 無送出權限 注:短消息中心拒絕掉此消息常見錯誤。

status=64 result=64 位址錯誤

status=65 result=65 超過最大送出數

status=66 result=66 超過最大下發數

另外可根據網關産生的Smpp統計話單來進行分析,Smpp話單中的60話單的第16個字段為消息狀态,可根據消息狀态來進行分析,其清單如下。

0 成功

10 無效的接口ID 注:網關常見錯誤碼,這些錯誤碼一般是消息在網關被拒絕掉而産生的。

12 鑒權失敗

16 消息已過有效期

19 發送的接口無效

27 應答逾時

30 路由錯誤,發送不到指定的帳号

40 未登記的SP 注:SCP扣費鑒權常見錯誤碼表。

44 未登記的SP業務類型

50 移動使用者不存在

60 餘額不足

100 SCP發送錯誤

102 SCP應答逾時

99 消息前轉錯誤 注:其它網關對消息拒絕

19 無送出權限 注:短消息中心拒絕掉此消息常見錯誤。

64 位址錯誤

65 超過最大送出數

66 超過最大下發數

一個負數 重發消息錯誤 啟動Msgstore有效

注:此錯誤碼表隻作為參考,由于系統連接配接複雜,各系統的錯誤碼又各成一體,是以會出現錯誤碼沖突的問題。應該具體情況具體分析。

infoX内部使用錯誤碼表:

E_ERROR_MSG

E_SUCCESS 成功

E_ACCESSERR=1 接入碼錯誤

E_CALLERERR=2 主叫錯誤

E_ACCOUNTERR=3 帳号指針不符

E_SMTYPEERR=4 SmType錯誤

E_NEWACCOUNTFAIL=5 生成帳号對象失敗

E_ACCOUNTNAMEERR=6 帳号名錯,查無此帳号

E_CODETYPEERR=7 編碼類型錯

E_CREATEIFFAIL=8 生成IF對象失敗

E_BEYONDMAXIFNUM=9 超過INTERFACEMANAGER的最大IF數

E_INVALIDIFID=10 無效的IF的ID

E_ACCOUNTPASSWORDERR=11 帳号的密碼錯誤

E_NORIGHT=12 沒有權限

E_PIDERR=13 PID 錯誤

E_INVALIDROUTETABLE=14 無效的ROUTETABLE

E_CANNOTFINDIF=15 通過HDRV不能找到IF

E_PARAMERR=16 = 0 參數錯

E_STATUSERR=17 狀态錯誤

E_INVALIDACCOUNT =18 無效的ACCOUNT

E_INVALIDIF=19 無效的IF

E_NOSUBMITRIGHT=20 無送出消息權限

E_NODELIVERRIGHT=21 無下發消息權限

E_CHECKTYPEERR=22 鑒權類型錯誤

E_NUMREPEAT=23 号段重複

E_NOTHISNUM=24 沒有指定的号段

E_WATIACK=25 等待應答隊列消息錯誤

E_DCS_ ERROR=26 解碼時DCS有錯誤

E_SUBMIT_TIME_OUT=27 應答逾時

E_SUBMIT_ERROR=28 向短消息中心送出消息錯誤

E_PARSER=29 使用者輸入消息解析錯誤

E_SERVICE_NOT_OPEN=30 指定服務未啟動

E_IF_STYLE=31 接口類型錯誤

E_ADDR_FOMRAT=32 位址格式錯誤

E_PARAM_NO=33 錯誤的參數類型

E_BIND_SERVICEERR=34 連接配接時服務類型錯誤

E_BUFFERERR=35 緩區錯誤

E_ADD_TRACEERR=36 增加跟蹤失敗

E_CANCEL_TRACEERR=37 終止跟蹤失敗

E_ADD_STATERR=38 增加統計任務失敗

E_STAT_TYPEERR=39 統計類型錯誤

E_STAT_NUMERR=40 統計記錄錯誤

E_STAT_IDERR=41 統計ID錯誤

E_USER_SEND_FAIL=42 user manager send error

E_USER_STATUS=43 使用者管理狀态轉換錯誤

E_USER_TOMANY=44 使用者過多

E_NO_PROMPT=45 無需要應答使用者的消息

E_FAILED=46 一般的錯誤

E_RESOURCE_LIMITED=47 資源不足

E_IP_ERROR=48 連接配接裝置的IP錯誤

E_SCP_SEND_FAIL = 100 向SCP發送消息時失敗

E_SCP_SEND_TIME_OUT = 101 發送消息逾時

E_SCP_WAITACK_TIME_OUT = 102 等待SCP的應答逾時

E_STATUS_REPORT_TIME_OUT = 103 等待狀态報告逾時

E_STATUS_REPORT_OVER_FLOW = 104 等待狀态報告逾時

E_GW_RESEND_ERROR = 160 從備份程序發

E_STORE_TIME_OUT= 0x80000150 在重發程序中逾時

E_STORE_BACK_UP = 0x80000151 在重發程序中備份逾時

E_STORE_ALREADY_EXIST = 0x80000152 備份時,ID已存在

E_STORE_NOIDLE_ENTITY = 0x80000153 查詢時,ID非法

E_STORE_EXPIRE_TIMEOUT = 0x80000154 超過有效期

E_STORE_ENTITY_END = 0x80000155 短消息備份的消息處理結束

E_STORE_ALREADY_WORKING = 0x80000156 消息處在工作态,不能删除

E_STORE_CANCEL= 0x80000157 消息被Cancel

CMPP接口錯誤碼對照表

CMPP_CONNECT_STATUS

E_CMPP_SUCCESS =0 成功

E_CMPP_CONNECT_MSGSTRUCTURE_ERR = 1 消息結構錯

E_CMPP_CONNECT_SPID_ERR=2 非法SP_ID

E_CMPP_CONNECT_SPAUTH_ERR=3 SP認證錯

E_CMPP_CONNECT_VERSION_ERR=4 版本太高

E_CMPP_CONNECT_OTHER_ERR=5 其他錯誤

CMPP_SUBMIT_ACK_STATUS

E_CMPP_SUBMIT_MSGSTRUCTURE_ERR = 1 消息結構錯

E_CMPP_SUBMIT_COMMANDID_ERR=2 指令字錯

E_CMPP_SUBMIT_MSGID_ERR=3 消息序号重複

E_CMPP_SUBMIT_MSG_LEN_ERR=4 消息長度錯

E_CMPP_SUBMIT_FEECODE_ERR=5 資費代碼錯

E_CMPP_SUBMIT_EXCEED_MAX_MSG_LEN=6 超過最大資訊長

E_CMPP_SUBMIT_SERVICEID_ERR=7 業務代碼錯

E_CMPP_SUBMIT_FLOWCONTROL_ERR=8 流量控制錯

E_CMPP_SUBMIT_FWD_ESTIMATE_ERR =9 前傳判斷錯

E_CMPP_NODE_NUM=10 超過了最大網關前傳節點

E_CMPP_SERVICE_NOT_OPEN=11 找不到路由

E_CMPP_PARAMERR=12 定時發送時間或有效時間錯

E_CMPP_NORIGHT=13 各種鑒權失敗

E_CMPP_SUBMIT_TIME_OUT=14 應答逾時

E_CMPP_INVALIDIF=15 接口無效

E_CMPP_SCP_WAITACK_TIME_OUT=16 SCP應答逾時

E_CMPP_SUBMIT_ERR=17~255 其他錯誤

SCP鑒權扣費錯誤碼表

狀态碼 含義 備注

-1 狀态碼錯誤,未定義的狀态碼

0 成功

以前使用的錯誤代碼,仍保留,但不使用

1 非神州行預付費使用者

2 資料庫操作失敗

3 鑒權失敗 暫不使用

4 超過最大錯誤次數 暫不使用

5 移動使用者帳戶資料異常 PPS狀态異常

6 服務沒有激活

7 使用者餘額不足

8 超過包月費用上限 暫不使用

9 超過最高欠費額 暫不使用

10 使用者已注冊該項服務 暫不使用

11 使用者沒有注冊該項服務 暫不使用

12 移動使用者已存在

13 網關向SMC送出短消息失敗

14 未登記的網關

15 網關登入摘要錯誤 網關生成摘要與SCP摘要不一緻。

16 參數錯誤

17 伺服器端資料未傳完 暫不使用

18 重複發送消息序列号msgid相同的單條計費請求消息 新增加(MNET2.1.D5)

系統錯誤,後面的幾類錯誤代碼無法說明的才用系統錯誤代碼

20 未知錯誤

21 資料庫錯誤

22 SCP互聯失敗

23 數值越界 折扣>100,費率<0等

24 字段超長 字元串字段長度超長

25 無相關資料 在資料庫充查詢不到資料

26 資料重複 表中已經存在相同關鍵字的資料

網關檢查

30 未登記的網關

31 網關登入摘要錯誤

32 網關已存在

33 網關帳戶狀态異常 網關未激活

34 不支援的摘要算法 目前僅支援MD5

SP檢查

40 未登記的SP

41 SP帳戶狀态異常 SP未激活

42 SP無權限

43 SP帳戶已存在

44 未登記的SP業務類型

45 SP業務類型資料異常 SP的業務類型資料未激活

46 SP業務類型已存在

手機使用者檢查

50 移動使用者不存在 不存在此手機号碼

51 移動使用者狀态異常 PPS狀态異常

52 夢網使用者已存在

53 夢網使用者不存在

54 夢網使用者狀态異常

55 簽約資訊已存在

56 簽約資訊不存在

57 簽約資料異常 使用者與SP的簽約資訊資料未激活等。

業務邏輯檢查

60 餘額不足

61 月消費超額

62 單筆消費超額

63 使用者拒絕 使用者拒絕付費,保留為擴充。

64 短消息編号已存在 網關生成的短消息編号重複

65 對應扣費請求不存在

66 扣費請求已被确認 收到網關重複的狀态報告

67 未定義的計費類型

68 未定義的編碼方式

隻MGW需要錯誤代碼,内部使用,不對外。

200 未定義使用者操作代碼

201 未定義使用者個性參數

回頁首

東軟諾基亞新增錯誤碼分類定義

1.1 錯誤碼分類定義

錯誤類别 新增加的錯誤碼取值 新增加的錯誤碼含義詳細解釋

aaaa n1n1n1n1

n2n2n2n2

… …

mbmbmbmb n1n1n1n1

n2n2n2n2

… …

cccc 0151 等待狀态報告逾時

cbcbcbcb n1n1n1n1

n2n2n2n2

… …

dbdbdbdb n1n1n1n1

n2n2n2n2

… …

sbsbsbsb n1n1n1n1

n2n2n2n2

… …

ibibibib n1n1n1n1

n2n2n2n2

… …

idididid 0005 DSMP發送隊列滿(在嘗試送出該消息多次後,均得到DSMP傳回的DSMP忙類型應答)

0009 計費使用者無權限(SP攔截功能。限制本地接入SP向省外轉發消息;限制鏡像接入SP向主接入SP省份轉發消息。)

1240 SMMC校驗失敗(其他原因被SMWC過濾)

1241 SMMC校驗失敗(被使用者屏蔽 因使用者已經設定不接收來自該SP的短信而被過濾)

1242 SMMC校驗失敗(SMMC傳回錯誤應答,消息内容非法)

1243 SMWC 校驗失敗(SMWC發現消息内容非法)

1244 SMWC 校驗失敗(此使用者為申請停機狀态)

1245 SMWC 校驗失敗(此使用者已欠費停機狀态)

1246 SMWC 校驗失敗(此使用者已申請預銷号)

1247 SMWC 校驗失敗(此使用者已欠費預銷号)

1248 SMWC 校驗失敗(号碼禁用,禁止該使用者)

1250 SMWC 校驗失敗(非在網使用者,因使用者不在白名單中而被過濾)

1251 SMWC 校驗失敗(缺乏訂購關系,因沒有該包月業務訂購關系而被過濾)

給SP傳回的錯誤代碼值定義(CMPP_SUBMIT_RESP中的結果) 100 同步錯誤(包序号不連續)

101 尚未正确BIND(沒有登入成功,就發送消息)

102 不合法的消息模式(Registered_Delivery填寫非法,包月消息不允許群發)

103 不合法的資料編碼(Msg_Fmt填寫不符合協定規範)

104 不合法的計費類型(FeeType 填寫不符合協定規範)

105 不合法的日期格式

106 目标位址數量過多

107 不合法的手機号碼

108 不合法的參數

109 無路由

110 定時發送時間過大(超過系統的預設過期時間範圍)

112 過期時間非法

128 不合法的計費使用者類型

129 包序号越界

130 不合法的ISMG辨別

131 不合法的目的網關

132 不合法的狀态報告

133 未知 SMSC

134 未知 LOCAL

144 資訊費填寫非法

145 發送速度過快

146 目的使用者重複

147 pk_number值大于pk_total

148 以CMPP3.0協定轉發過來的MT消息的目的SP,在本網關配置以CMPP2.0協定接入,非法。

255 系統錯誤

給SMSC傳回的錯誤代碼值定義 無

給DSMP傳回的錯誤代碼值定義 100 手機号碼不存在(DSMP推送過來的包月消息中的計費使用者所處号段在本網關沒有配置)

107 SP類型非法(DSMP推送過來的包月消息中的SP在本網關配置為以2.0協定接入)

113 SP不存在(DSMP推送的包月消息中的SP在本網關沒有配置)

9003 業務網關忙(該消息等一段時間在發送給網關)

9004 業務網關緩存滿

給省外ISMG傳回的錯誤代碼值定義(ibibibib) 100 同步錯誤(包序号不連續)

101 尚未正确BIND(沒有登入成功,就發送消息)

102 不合法的消息模式(Registered_Delivery填寫非法)

103 不合法的資料編碼(Msg_Fmt填寫問題)

104 不合法的計費類型(FeeType 填寫問題)

105 不合法的日期格式

106 目标位址數量過

107 不合法的手機号碼

108 不合法的參數

109 無路由

110 定時發送時間過大(超過系統的預設過期時間範圍)

112 過期時間非法

128 不合法的計費使用者類型

129 包序号越界

130 不合法的ISMG辨別

131 不合法的目的網關

132 不合法的狀态報告

133 未知 SMSC

134 未知 LOCAL

144 資訊費非法

145 發送速度過快

146 目的使用者重複

147 pk_number值大于pk_total

148 以CMPP3.0協定轉發過來的MT消息的目的SP,在本網關配置以CMPP2.0協定接入,非法。

255 系統錯誤

給SCP傳回的錯誤代碼值定義 無

繼續閱讀