黑匣子错误日志信息参考
文件操作错误 (2130 - 2229)
错误码名称 | 数值 | 错误消息格式 | 参数说明 | 描述 |
---|
ERR_WR_FILE_SEEK | 2130 | Failed to seek file, vgid:%u, fid:%llu, offset:%lld, file size:%llu | vgid : 卷组 ID
fid : 文件 ID
offset : 偏移量
file size : 文件大小 | 文件定位失败 |
ERR_WR_FILE_REMOVE_OPENING | 2141 | WR file is open | - | 删除已打开的文件 |
ERR_WR_FILE_REMOVE_SYSTEM | 2142 | WR file %s is system file | %s : 文件名 | 禁止删除系统文件 |
ERR_WR_FILE_RENAME | 2150 | Rename failed, reason %s | %s : 错误原因 | 通用重命名失败 |
ERR_WR_FILE_RENAME_DIFF_VG | 2151 | Failed to rename from vg %s to another vg %s, function not supported | %s : 源卷组
%s : 目标卷组 | 跨卷组重命名不支持 |
ERR_WR_FILE_RENAME_EXIST | 2152 | Rename failed, reason %s | %s : 错误原因 | 目标文件已存在 |
ERR_WR_FILE_RENAME_OPENING_REMOTE | 2153 | Failed to rename %s to %s, while source file is opend by other instance. | %s : 源文件名
%s : 目标文件名 | 源文件被其他实例占用 |
ERR_WR_FILE_CLOSE | 2160 | Close file failed, reason %s | %s : 错误原因 | 关闭文件失败 |
ERR_WR_FILE_CREATE | 2170 | Create file failed, reason %s | %s : 错误原因 | 创建文件失败 |
ERR_WR_FILE_RDWR_INSUFF_PER | 2181 | Insufficient permission to %s file, while the permission is %u. | %s : 操作类型(读/写)
%u : 当前权限 | 文件权限不足 |
ERR_WR_FILE_NOT_EXIST | 2190 | The file %s of %s does not exist | %s : 文件名
%s : 上下文路径 | 文件不存在 |
ERR_WR_FILE_OPENING_REMOTE | 2191 | The file is open in other inst: %hhu, command:%u exec failed. | %hhu : 实例 ID
%u : 命令码 | 文件被其他实例占用 |
ERR_WR_FILE_TYPE_MISMATCH | 2192 | The type of directory link or file %s is not matched. | %s : 路径名 | 路径类型不匹配 |
ERR_WR_FILE_PATH_ILL | 2193 | Path %s decode error %s | %s : 路径
%s : 错误原因 | 路径解析错误 |
ERR_WR_FILE_INVALID_SIZE | 2194 | Invalid extend offset %lld, size %d. | %lld : 扩展偏移量
%d : 扩展大小 | 文件扩展参数非法 |
目录操作错误 (2230 - 2280)
错误码名称 | 数值 | 错误消息格式 | 参数说明 | 描述 |
---|
ERR_WR_DIR_REMOVE_NOT_EMPTY | 2231 | The dir is not empty, can not remove. | - | 目录非空无法删除 |
ERR_WR_DIR_CREATE_DUPLICATED | 2241 | Make dir or Create file failed, %s has already existed | %s : 目录名 | 目录/文件已存在 |
链接操作错误 (2280 - 2300)
错误码名称 | 数值 | 错误消息格式 | 参数说明 | 描述 |
---|
ERR_WR_LINK_READ_NOT_LINK | 2281 | The path %s is not a soft link. | %s : 路径名 | 路径非软链接 |
ERR_WR_LINK_CREATE | 2290 | Failed to create symbolic link, reason %s | %s : 错误原因 | 创建符号链接失败 |
配置错误 (2300 - 2320)
错误码名称 | 数值 | 错误消息格式 | 参数说明 | 描述 |
---|
ERR_WR_CONFIG_FILE_OVERSIZED | 2300 | The size of config file %s is too large | %s : 配置文件名 | 配置文件过大 |
ERR_WR_CONFIG_LOAD | 2301 | Please check wr_vg_conf.ini, reason %s | %s : 错误原因 | 配置文件加载失败 |
ERR_WR_CONFIG_LINE_OVERLONG | 2302 | The length of row %d is too long | %d : 行号 | 配置文件行过长 |
基础数据结构错误 (2350 - 2400)
错误码名称 | 数值 | 错误消息格式 | 参数说明 | 描述 |
---|
ERR_WR_OAMAP_INSERT | 2350 | Failed to insert hash map | - | 哈希表插入失败 |
ERR_WR_OAMAP_INSERT_DUP_KEY | 2351 | Hash map duplicated key | - | 哈希表键重复 |
ERR_WR_OAMAP_FETCH | 2352 | Failed to fetch hash map | - | 哈希表查询失败 |
ERR_WR_SKLIST_ERR | 2360 | Error WR skip list. | - | 跳表通用错误 |
ERR_WR_SKLIST_NOT_INIT | 2361 | Error WR skip list not init. | - | 跳表未初始化 |
ERR_WR_SKLIST_NOT_EXIST | 2362 | Error WR skip list not exist. | - | 跳表不存在 |
ERR_WR_SKLIST_EXIST | 2363 | Error WR skip list key value exist. | - | 跳表键已存在 |
ERR_WR_SHM_CREATE | 2370 | Failed to create shared memory, key=0x%08x, size=%llu | key : 共享内存键
size : 内存大小 | 共享内存创建失败 |
ERR_WR_SHM_CHECK | 2371 | Failed to check shared memory ctrl, key=0x%08x, reason=%s | key : 共享内存键
reason : 错误原因 | 共享内存检查失败 |
ERR_WR_SHM_LOCK | 2372 | Failed to lock vg shared memory, reason=%s | reason : 错误原因 | 共享内存加锁失败 |
ERR_WR_SHM_LOCK_TIMEOUT | 2373 | Try to get shm lock timeout | - | 共享内存锁超时 |
ERR_WR_GA_INIT | 2380 | WR ga init error, reason %s | %s : 错误原因 | 全局分配器初始化失败 |
ERR_WR_GA_GET_ADDR | 2381 | WR ga get addr error, pool id %d, object id%u. | %d : 内存池 ID
%u : 对象 ID | 全局地址获取失败 |
ERR_WR_GA_ALLOC_OBJECT | 2382 | WR ga alloc object error, pool id %d. | %d : 内存池 ID | 对象分配失败 |
ERR_WR_SESSION_INVALID_ID | 2390 | Invalid session %d | %d : 会话 ID | 会话 ID 非法 |
ERR_WR_SESSION_CREATE | 2391 | Create new WR session failed, no free sessions, %d sessions used. | %d : 已用会话数 | 会话创建失败(已达上限) |
ERR_WR_SESSION_EXTEND | 2392 | Extend WR session failed, reason : %s. | %s : 错误原因 | 会话扩展失败 |
其他错误 (2400 - 2500)
错误码名称 | 数值 | 错误消息格式 | 参数说明 | 描述 |
---|
ERR_WR_INVALID_PARAM | 2400 | Invalid WR parameter: %s | %s : 参数名 | 参数非法 |
ERR_WR_NO_SPACE | 2401 | WR no space in the vg | - | 卷组空间不足 |
ERR_WR_ENV_NOT_INITIALIZED | 2402 | The WR env has not been initialized. | - | WR 环境未初始化 |
ERR_WR_CLI_EXEC_FAIL | 2403 | WR client exec cmd '%s' failed, reason %s. | %s : 命令
%s : 错误原因 | 客户端命令执行失败 |
ERR_WR_FNODE_CHECK | 2404 | WR fnode error, reason %s | %s : 错误原因 | 文件节点检查失败 |
ERR_WR_LOCK_TIMEOUT | 2405 | WR lock timeout | - | 锁超时 |
ERR_WR_SERVER_IS_DOWN | 2406 | WR server is down | - | 服务端未运行 |
ERR_WR_CHECK_SIZE | 2407 | Failed to specify size %d which is not aligned with WR allocate-unit size %d | %d : 指定大小
%d : 分配单元大小 | 大小未对齐分配单元 |
ERR_WR_MES_ILL | 2408 | WR message contact error, reason %s | %s : 错误原因 | 消息格式错误 |
ERR_WR_STRING_TOO_LONG | 2409 | The length(%u) of text can't be larger than %u, text = %s | %u : 当前长度
%u : 最大长度
%s : 文本内容 | 字符串过长 |
ERR_WR_TCP_TIMEOUT_REMAIN | 2410 | Waiting for request head(size) timeout, %d bytes remained | %d : 剩余字节数 | TCP 接收超时 |
ERR_WR_UDS_INVALID_URL | 2411 | Invalid unix domain socket url:%s, length %d. Eg:server_locator="UDS:UNIX_emserver.domain" | %s : URL
%d : URL 长度 | Unix 域套接字 URL 非法 |
ERR_WR_RECV_MSG_FAILED | 2412 | Recv msg failed, errcode:%d, inst:%u. | %d : 错误码
%u : 实例 ID | 消息接收失败 |
ERR_WR_INIT_LOGGER_FAILED | 2414 | Log init failed. | - | 日志初始化失败 |
ERR_WR_OUT_OF_MEM | 2415 | Failed to apply for memory. | - | 内存申请失败 |
ERR_WR_INVALID_ID | 2416 | Invalid %s id : %llu. | %s : ID 类型
%llu : ID 值 | ID 非法 |
ERR_WR_PROCESS_REMOTE | 2417 | Failed to process remote, errcode: %d, errmsg: %s. | %d : 错误码
%s : 错误消息 | 远程处理失败 |
ERR_WR_CONNECT_FAILED | 2418 | Failed to connect wr server, errcode: %d, errmsg: %s. | %d : 错误码
%s : 错误消息 | 连接服务端失败 |
ERR_WR_VERSION_NOT_MATCH | 2419 | [CHECK_PROTO]Protocol version need be changed, old protocol version is %u, new protocol version is %u. | %u : 旧版本号
%u : 新版本号 | 协议版本不兼容 |
ERR_WR_INVALID_BLOCK_TYPE | 2420 | Get Invalid block type, expect type is %u, but the type in share memory is %u. | %u : 预期类型
%u : 实际类型 | 内存块类型不匹配 |
ERR_WR_SERVER_REBOOT | 2421 | WR server has reboot or close, wr client need reboot or close. | - | 服务端已重启/关闭 |
ERR_WR_UNSUPPORTED_CMD | 2422 | Command "%s" is not supported in current version(%u) of wrserver, least supporting version is %u. | %s : 命令名
%u : 当前版本
%u : 最低支持版本 | 命令不支持 |
ERR_WR_FILE_SYSTEM_ERROR | 2423 | File system error, reason %m. | %m : 系统错误消息 | 文件系统错误 |
ERR_WR_CONNECTION_CLOSED | 2424 | WR connection is closed | - | 连接已关闭 |
ERR_WR_MASTER_CHANGE | 2498 | Master id has changed. | - | 主节点变更 |
ERR_WR_RECOVER_CAUSE_BREAK | 2499 | Req break by recovery. | - | 恢复操作中断请求 |
openGauss 2025-06-07 22:42:35