本地环境因误操作,post出错。
错误信息如下:
Error 2013-11-10 09:11:08.202840 15780 4140619456 Poster stopped: Internal error encountered; cannot continue (posting from abcde_splex, queue nn_xx, to abcde_splex)
Error 2013-11-10 09:11:08.183667 15780 4140619456 Poster: 15010 - Error reading pre-sync'd objcache for datasource 0x0afe1d42+PP+nn_xx+sp_opst_mt+o.abcde_splex-o.abcde_splex, actid 1 (posting from abcde_splex, queue nn_xx, to abcde_splex) [module opo]
Error 2013-11-10 09:11:08.163692 15780 4140619456 Poster: 17000 - Error opening file /sp/vardir/state/0x0afe1d42+PP+nn_xx+sp_opst+o.abcde_splex-o.abcde_splex-objcache_sp_opst.1: No such file or directory. (posting from abcde_splex, queue nn_xx, to abcde_splex) [module osp]
Notice 2013-11-10 09:11:07.047715 15780 4140619456 Poster: SQL Cache disabled. (posting from abcde_splex, queue nn_xx, to abcde_splex) [module opo]
Info 2013-11-10 09:10:53.346882 15780 4141209280 Poster launched, pid = 15780 (posting from abcde_splex, queue nn_xx, to abcde_splex)
event_log (15/45)
网上找了一下,按照步骤执行,OK。
原文如下:
https://support.quest.com/SolutionDetail.aspx?ID=69485
Knowledge Article 69485
-
Title
Post stopped due to error “Poster: 17006 - Cannot open object cache..." -
Description
Post stops due to error and the following messages are observed in the event log:
Info 2011-01-14 19:11:27.546419 26993 1 Poster exited with code=1, pid = 27948 (posting from SID1, queue queue_name, to SID2)
Error 2011-01-14 19:11:27.515512 27948 1 Poster stopped: Internal error encountered; cannot continue (posting from SID1, queue queue_name, to SID2)
Error 2011-01-14 19:11:27.498093 27948 1 Poster: 15010 - Error reading pre-sync'd objcache for datasource objectcache_name, actid 4 (posting from SID1, queue queue_name, to SID2) [module opo]
Error 2011-01-14 19:11:27.484628 27948 1 Poster: 17006 - Cannot open object cache: Input/output: /u00/splex/var/state/0x0a01009c+PP+server+sp_opst+o.SID1-o.SID2-objcache_sp_opst.4: open() failed \ (posting from SID1, queue queue_name, to SID2) [module osp]
Info 2011-01-14 19:11:20.075846 27948 1 Poster launched, pid = 27948 (posting from SID1, queue queue_name, to SID2)
-
Cause
A missing object cache is causing Post to error.
-
Resolution
Create the missing object cache on the target using the latest sp_ocap object cache from source and start post. Here are the steps involved:
1. Stop capture on the SOURCE. Make sure that it is “stopped by user” and not “stopping” when issuing “status” on source sp_ctrl
2. Restart it.
3. Login to the source database as Shareplex user and query the Shareplex_actid table. Note down the value in the actid column.
4. Go to vardir/state dir on the SOURCE and look for *objcache_sp_ocap.<actid value from Step 3.>
5. Copy the above object cache file in binary format to vardir/state on target.
6. On the target rename this file to same name as the name of the missing file reported in the target event_log,
mv *objcache_sp_ocap.<actid value from Step 3.> 0x0a01009c+PP+server+sp_opst+o.SID1-o.SID2-objcache_sp_opst.4
7. Make sure that the ownership/permissions of the newly created object cache are same as those of the other object cache files (identified by the string *objcache*) in the /vardir/state directory on target.
8. Start post.
-
Additional Information
Watch this video in SOL 102109 for more information : https://support.quest.com/SolutionDetail.aspx?id=SOL102109&pr=SharePlex for Oracle