如何拯救SharePlex read process router file fail for actid x?





問題: SharePlex event_log出現如下訊息,代表Read process不能運作。





Error    2019-08-10 20:51:29.291526 19220 547252064 Reader: RouteDB load for actid 41 failed: routes file does not exist for actid   (from o.PXPROD) [module ord]
Info     2019-08-10 20:51:29.297165 18892 2226095968 Reader exited with code=1, pid = 19220  (from o.PXPROD)
Info     2019-08-10 20:51:58.049938 19436 2226095968 Reader launched, pid = 19436  (from o.PXPROD)
Notice   2019-08-10 20:51:58.105539 19436 2958284640 Reader: Replicating according to target compatibility of "9.1.3"  (from o.PXPROD) [module sys]
Error    2019-08-10 20:51:59.304181 19436 2958284640 Reader: RouteDB load for actid 41 failed: routes file does not exist for actid   (from o.PXPROD) [module ord]
Info     2019-08-10 20:51:59.309003 18892 2226095968 Reader exited with code=1, pid = 19436  (from o.PXPROD)

原因:
新的cache file Route file 並沒有產生。

解決方法
步驟一: Shutdown SharePlex 和重新執行 ora_setup

步驟二: 假如執行ora_setup 並沒有解決問題,請重新執行activate the config file
注意: 這個activate會得到相同錯誤,但是會產生新的actid和新的router file在這個資料夾 $sp_sys_vardir/db folder

步驟三: 在資料夾 $sp_sys_vardir/db,複製router file 並指給 event_log中需要的 actid,須注意相關資料夾和檔案權限是否一致。

步驟四: 在資料夾 $sp_sys_vardir/state,複製cache file 並指給 event_log中需要的 actid,須注意相關資料夾和檔案權限是否一致。

步驟五: 重新Activate config和啟動Read process

以上分享,希望對各位有幫助。

留言

這個網誌中的熱門文章

MSSQL 瘦身 : 壓縮資料庫

[SAP] 什麼是SAP? R/3 and S/4 是什麼意思? 差別在哪? (勿轉臉書)

InTrust 自動幫您蒐集 AD 帳號的登入/登出紀錄,長時間保存並保護