黑匣子错误日志信息参考

文件操作错误 (2130 - 2229)

错误码名称数值错误消息格式参数说明描述
ERR_WR_FILE_SEEK2130Failed to seek file, vgid:%u, fid:%llu, offset:%lld, file size:%lluvgid: 卷组 ID
fid: 文件 ID
offset: 偏移量
file size: 文件大小
文件定位失败
ERR_WR_FILE_REMOVE_OPENING2141WR file is open-删除已打开的文件
ERR_WR_FILE_REMOVE_SYSTEM2142WR file %s is system file%s: 文件名禁止删除系统文件
ERR_WR_FILE_RENAME2150Rename failed, reason %s%s: 错误原因通用重命名失败
ERR_WR_FILE_RENAME_DIFF_VG2151Failed to rename from vg %s to another vg %s, function not supported%s: 源卷组
%s: 目标卷组
跨卷组重命名不支持
ERR_WR_FILE_RENAME_EXIST2152Rename failed, reason %s%s: 错误原因目标文件已存在
ERR_WR_FILE_RENAME_OPENING_REMOTE2153Failed to rename %s to %s, while source file is opend by other instance.%s: 源文件名
%s: 目标文件名
源文件被其他实例占用
ERR_WR_FILE_CLOSE2160Close file failed, reason %s%s: 错误原因关闭文件失败
ERR_WR_FILE_CREATE2170Create file failed, reason %s%s: 错误原因创建文件失败
ERR_WR_FILE_RDWR_INSUFF_PER2181Insufficient permission to %s file, while the permission is %u.%s: 操作类型(读/写)
%u: 当前权限
文件权限不足
ERR_WR_FILE_NOT_EXIST2190The file %s of %s does not exist%s: 文件名
%s: 上下文路径
文件不存在
ERR_WR_FILE_OPENING_REMOTE2191The file is open in other inst: %hhu, command:%u exec failed.%hhu: 实例 ID
%u: 命令码
文件被其他实例占用
ERR_WR_FILE_TYPE_MISMATCH2192The type of directory link or file %s is not matched.%s: 路径名路径类型不匹配
ERR_WR_FILE_PATH_ILL2193Path %s decode error %s%s: 路径
%s: 错误原因
路径解析错误
ERR_WR_FILE_INVALID_SIZE2194Invalid extend offset %lld, size %d.%lld: 扩展偏移量
%d: 扩展大小
文件扩展参数非法

目录操作错误 (2230 - 2280)

错误码名称数值错误消息格式参数说明描述
ERR_WR_DIR_REMOVE_NOT_EMPTY2231The dir is not empty, can not remove.-目录非空无法删除
ERR_WR_DIR_CREATE_DUPLICATED2241Make dir or Create file failed, %s has already existed%s: 目录名目录/文件已存在

链接操作错误 (2280 - 2300)

错误码名称数值错误消息格式参数说明描述
ERR_WR_LINK_READ_NOT_LINK2281The path %s is not a soft link.%s: 路径名路径非软链接
ERR_WR_LINK_CREATE2290Failed to create symbolic link, reason %s%s: 错误原因创建符号链接失败

配置错误 (2300 - 2320)

错误码名称数值错误消息格式参数说明描述
ERR_WR_CONFIG_FILE_OVERSIZED2300The size of config file %s is too large%s: 配置文件名配置文件过大
ERR_WR_CONFIG_LOAD2301Please check wr_vg_conf.ini, reason %s%s: 错误原因配置文件加载失败
ERR_WR_CONFIG_LINE_OVERLONG2302The length of row %d is too long%d: 行号配置文件行过长

基础数据结构错误 (2350 - 2400)

错误码名称数值错误消息格式参数说明描述
ERR_WR_OAMAP_INSERT2350Failed to insert hash map-哈希表插入失败
ERR_WR_OAMAP_INSERT_DUP_KEY2351Hash map duplicated key-哈希表键重复
ERR_WR_OAMAP_FETCH2352Failed to fetch hash map-哈希表查询失败
ERR_WR_SKLIST_ERR2360Error WR skip list.-跳表通用错误
ERR_WR_SKLIST_NOT_INIT2361Error WR skip list not init.-跳表未初始化
ERR_WR_SKLIST_NOT_EXIST2362Error WR skip list not exist.-跳表不存在
ERR_WR_SKLIST_EXIST2363Error WR skip list key value exist.-跳表键已存在
ERR_WR_SHM_CREATE2370Failed to create shared memory, key=0x%08x, size=%llukey: 共享内存键
size: 内存大小
共享内存创建失败
ERR_WR_SHM_CHECK2371Failed to check shared memory ctrl, key=0x%08x, reason=%skey: 共享内存键
reason: 错误原因
共享内存检查失败
ERR_WR_SHM_LOCK2372Failed to lock vg shared memory, reason=%sreason: 错误原因共享内存加锁失败
ERR_WR_SHM_LOCK_TIMEOUT2373Try to get shm lock timeout-共享内存锁超时
ERR_WR_GA_INIT2380WR ga init error, reason %s%s: 错误原因全局分配器初始化失败
ERR_WR_GA_GET_ADDR2381WR ga get addr error, pool id %d, object id%u.%d: 内存池 ID
%u: 对象 ID
全局地址获取失败
ERR_WR_GA_ALLOC_OBJECT2382WR ga alloc object error, pool id %d.%d: 内存池 ID对象分配失败
ERR_WR_SESSION_INVALID_ID2390Invalid session %d%d: 会话 ID会话 ID 非法
ERR_WR_SESSION_CREATE2391Create new WR session failed, no free sessions, %d sessions used.%d: 已用会话数会话创建失败(已达上限)
ERR_WR_SESSION_EXTEND2392Extend WR session failed, reason : %s.%s: 错误原因会话扩展失败

其他错误 (2400 - 2500)

错误码名称数值错误消息格式参数说明描述
ERR_WR_INVALID_PARAM2400Invalid WR parameter: %s%s: 参数名参数非法
ERR_WR_NO_SPACE2401WR no space in the vg-卷组空间不足
ERR_WR_ENV_NOT_INITIALIZED2402The WR env has not been initialized.-WR 环境未初始化
ERR_WR_CLI_EXEC_FAIL2403WR client exec cmd '%s' failed, reason %s.%s: 命令
%s: 错误原因
客户端命令执行失败
ERR_WR_FNODE_CHECK2404WR fnode error, reason %s%s: 错误原因文件节点检查失败
ERR_WR_LOCK_TIMEOUT2405WR lock timeout-锁超时
ERR_WR_SERVER_IS_DOWN2406WR server is down-服务端未运行
ERR_WR_CHECK_SIZE2407Failed to specify size %d which is not aligned with WR allocate-unit size %d%d: 指定大小
%d: 分配单元大小
大小未对齐分配单元
ERR_WR_MES_ILL2408WR message contact error, reason %s%s: 错误原因消息格式错误
ERR_WR_STRING_TOO_LONG2409The length(%u) of text can't be larger than %u, text = %s%u: 当前长度
%u: 最大长度
%s: 文本内容
字符串过长
ERR_WR_TCP_TIMEOUT_REMAIN2410Waiting for request head(size) timeout, %d bytes remained%d: 剩余字节数TCP 接收超时
ERR_WR_UDS_INVALID_URL2411Invalid unix domain socket url:%s, length %d. Eg:server_locator="UDS:UNIX_emserver.domain"%s: URL
%d: URL 长度
Unix 域套接字 URL 非法
ERR_WR_RECV_MSG_FAILED2412Recv msg failed, errcode:%d, inst:%u.%d: 错误码
%u: 实例 ID
消息接收失败
ERR_WR_INIT_LOGGER_FAILED2414Log init failed.-日志初始化失败
ERR_WR_OUT_OF_MEM2415Failed to apply for memory.-内存申请失败
ERR_WR_INVALID_ID2416Invalid %s id : %llu.%s: ID 类型
%llu: ID 值
ID 非法
ERR_WR_PROCESS_REMOTE2417Failed to process remote, errcode: %d, errmsg: %s.%d: 错误码
%s: 错误消息
远程处理失败
ERR_WR_CONNECT_FAILED2418Failed to connect wr server, errcode: %d, errmsg: %s.%d: 错误码
%s: 错误消息
连接服务端失败
ERR_WR_VERSION_NOT_MATCH2419[CHECK_PROTO]Protocol version need be changed, old protocol version is %u, new protocol version is %u.%u: 旧版本号
%u: 新版本号
协议版本不兼容
ERR_WR_INVALID_BLOCK_TYPE2420Get Invalid block type, expect type is %u, but the type in share memory is %u.%u: 预期类型
%u: 实际类型
内存块类型不匹配
ERR_WR_SERVER_REBOOT2421WR server has reboot or close, wr client need reboot or close.-服务端已重启/关闭
ERR_WR_UNSUPPORTED_CMD2422Command "%s" is not supported in current version(%u) of wrserver, least supporting version is %u.%s: 命令名
%u: 当前版本
%u: 最低支持版本
命令不支持
ERR_WR_FILE_SYSTEM_ERROR2423File system error, reason %m.%m: 系统错误消息文件系统错误
ERR_WR_CONNECTION_CLOSED2424WR connection is closed-连接已关闭
ERR_WR_MASTER_CHANGE2498Master id has changed.-主节点变更
ERR_WR_RECOVER_CAUSE_BREAK2499Req break by recovery.-恢复操作中断请求
意见反馈
编组 3备份
    openGauss 2025-06-07 22:42:35
    取消