由于网络中断导致pump传递失败,重启pump进程报错
2015-08-27 10:14:37 ERROR OGG-01031 There is a problem in network communicat
ion, a remote file problem, encryption keys for target and source do not match (
if using ENCRYPT) or an unknown error. (Reply received is Unable to open file "/
data/u01/app/ogg/dirdatremote/sa000877" (error 11, Resource temporarily unavaila
ble)).
目标端查看有告警
2015-08-27 10:14:37 WARNING OGG-01223 Oracle GoldenGate Collector for Oracle:
Unable to lock file "/data/u01/app/ogg/dirdatremote/sa000877" (error 11, Resource temporarily unavailable).
Lock currently held by process id (PID) 21070.
结论:由于远端日志进程锁定了trail文件,导致pump无法获取文件权限,无法写入
解决办法:在远端kill -9 id (PID) 21070.
可参考博客
http://blog.itpub.net/25618347/viewspace-730797/