stop cpt COPY 0 "SCH.NAME='V3XUSER' AND TAB.NAME='JK_SCHEDULER_STATE'" TRUNCATE|INSERT|THREAD|8 start cpt
重新启动执行端exec,故障解除。
如果出现如下错误:
1 2 3 4 5
2023-10-19 14:36:15 CPT[INFO]: DM8 log format is RLOG_PKG, arch: /opt/dmdbms/arch/ARCHIVE_LOCAL1_0x320D63E6[0]_2023-10-19_14-16-46.log, db_magic: 839738342 - 839738342 2023-10-19 14:36:15 CPT[ERROR]: Database Magic is not consistent(839738342:866064215), maybe DB is restored or changed, please check connected DB or reload dictionary using CLEAR mask and delete checked file: dmhs_1_0.ini 2023-10-19 14:36:15 CPT[INFO]: DM8 CPT is free. 2023-10-19 14:36:15 MGR[ERROR]: initial log analysis module failure 2023-10-19 14:36:15 MGR[ERROR]: unable to start capture, ID no: 1
只需要删除采集端dmhs的bin目录中的dmhs_1_0.ini文件就可以了。
如果遇到错误如下:
1 2 3 4
2023-10-19 14:28:40 CPT[ERROR]: DDL_MASK is not empty, but some DDL auxiliary table is missed, please rebuild it or set DDL_MASK = 0. 2023-10-19 14:28:40 CPT[INFO]: DM8 CPT is free. 2023-10-19 14:28:40 MGR[ERROR]: initial log analysis module failure 2023-10-19 14:28:40 MGR[ERROR]: unable to start capture, ID no: 1
则是需要在采集端重新执行如下脚本:
1
/opt/dmhs/scripts/ddl_sql_dm8.sql
路径可能不通,搜索文件名即可。
如果遇到如下错误:
1
2023-10-19 14:25:51 CPT[ERROR]: DDL_MASK is not empty, but some DDL auxiliary table is missed, please rebuild it or set DDL_MASK = 0.