我們系統(tǒng)是2009年建立的Oracle 10.2.0.5 for hp-ux ia64 11.31,目前需要進(jìn)行號碼核對的創(chuàng)建,對接成功后廢除舊系統(tǒng),使用的同步復(fù)制軟件為Oracle Goldengate,由于Oracle Goldengate 12C不支持Oracle Database 10g,只能使用Oracle Goldengate 11g,在源端添加mgr,抽取,投遞進(jìn)程后,啟動抽取進(jìn)程5分鐘異常停止報(bào)錯(cuò);
在趙縣等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站 網(wǎng)站設(shè)計(jì)制作按需求定制開發(fā),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),高端網(wǎng)站設(shè)計(jì),成都全網(wǎng)營銷推廣,外貿(mào)網(wǎng)站建設(shè),趙縣網(wǎng)站建設(shè)費(fèi)用合理。
2016-08-17 16:40:57 ERROR OGG-01028 Oracle GoldenGate Capture for Oracle, ext07cb.prm: error 9 (Bad file number) positioning into log, rba 174680064.
2016-08-17 16:58:36 ERROR OGG-01028 Oracle GoldenGate Capture for Oracle, ext07cb.prm: Error validating file info for sequence 43907 because of an inval
id thread ID (2)
只能升級至Version 11.2.1.0.6,升級包真心不好找。差點(diǎn)選用Quest公司Shareplex做同步軟件。Ogg的升級比較容易,打包原來的ogg目錄,不用刪除原目錄,直接將升級包進(jìn)行解壓至原目錄即可。
但是在使用ggsci登陸Ogg管理端時(shí)候,出現(xiàn)報(bào)錯(cuò):
essdb3_oracle[/orabak01/ogg]$ggsci
/usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.11.1'. Killed
感覺是缺少了什么lib庫文件導(dǎo)致的??梢越栌胠dd命令進(jìn)行查看(ldd只是個(gè)shell,不是程序。ldd用于判斷某個(gè)可執(zhí)行的 binary 檔案含有什么動態(tài)函式庫)
essdb5_oracle[/home/oracle]$cd /orabak01/ogg
essdb5_oracle[/orabak01/ogg]$ldd ggsci
libm.so.1 => /usr/lib/hpux64/libm.so.1
librt.so.1 => /usr/lib/hpux64/librt.so.1
libgglog.sl => /orabak01/ogg/libgglog.sl
libggrepo.sl => /orabak01/ogg/libggrepo.sl
libdb-5.2.so => /orabak01/ogg/libdb-5.2.so
libicui18n.sl.38 => /orabak01/ogg/libicui18n.sl.38
libicuuc.sl.38 => /orabak01/ogg/libicuuc.sl.38
libicudata.sl.38 => /orabak01/ogg/libicudata.sl.38
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libxerces-c.so.28 => /orabak01/ogg/libxerces-c.so.28
libantlr3c.so => /orabak01/ogg/libantlr3c.so
libclntsh.so.11.1 => /oracle/product/10.2/database/lib/libclntsh.so.11.1
Unable to find library 'libnnz11.so'.
essdb5_oracle[/orabak01/ogg]$cd $ORACLE_HOME/lib
essdb5_oracle[/oracle/product/10.2/database/lib]$ls -ald libnnz*
-rw-r--r-- 1 oracle oinstall 16907362 2008年4月22日 libnnz10.a
-r-xr-xr-x 1 oracle oinstall 5337112 2008年4月22日 libnnz10.so
essdb5_oracle[/oracle/product/10.2/database/lib]$ln -s $ORACLE_HOME/lib/libnnz10.so libnnz11.so
essdb5_oracle[/orabak01/ogg]$cd $ORACLE_HOME/lib
essdb5_oracle[/oracle/product/10.2/database/lib]$ls -ald libclntsh.so*
lrwxr-xr-x 1 oracle oinstall 17 2009年12月19日 libclntsh.so -> libclntsh.so.10.1
-rwxr-xr-x 1 oracle oinstall 36877216 2009年12月19日 libclntsh.so.10.1
essdb5_oracle[/oracle/product/10.2/database/lib]$ln -s $ORACLE_HOME/lib/libclntsh.so.10.1 libclntsh.so.11.1
essdb5_oracle[/oracle/product/10.2/database/lib]$cd /orabak01/ogg
essdb5_oracle[/orabak01/ogg]$ldd ggsci
libm.so.1 => /usr/lib/hpux64/libm.so.1
librt.so.1 => /usr/lib/hpux64/librt.so.1
libgglog.sl => /orabak01/ogg/libgglog.sl
libggrepo.sl => /orabak01/ogg/libggrepo.sl
libdb-5.2.so => /orabak01/ogg/libdb-5.2.so
libicui18n.sl.38 => /orabak01/ogg/libicui18n.sl.38
libicuuc.sl.38 => /orabak01/ogg/libicuuc.sl.38
libicudata.sl.38 => /orabak01/ogg/libicudata.sl.38
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libxerces-c.so.28 => /orabak01/ogg/libxerces-c.so.28
libantlr3c.so => /orabak01/ogg/libantlr3c.so
libclntsh.so.11.1 => /oracle/product/10.2/database/lib/libclntsh.so.11.1
libnnz11.so => /oracle/product/10.2/database/lib/libnnz11.so
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
libnsl.so.1 => /usr/lib/hpux64/libnsl.so.1
libunwind.so.1 => /usr/lib/hpux64/libunwind.so.1
libstd_v2.so.1 => /usr/lib/hpux64/libstd_v2.so.1
libCsup.so.1 => /usr/lib/hpux64/libCsup.so.1
libc.so.1 => /usr/lib/hpux64/libc.so.1
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libc.so.1 => /usr/lib/hpux64/libc.so.1
libicuuc.sl.38 => /orabak01/ogg/libicuuc.sl.38
libicudata.sl.38 => /orabak01/ogg/libicudata.sl.38
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libnsl.so.1 => /usr/lib/hpux64/libnsl.so.1
libicuuc.sl.38 => /orabak01/ogg/libicuuc.sl.38
libicudata.sl.38 => /orabak01/ogg/libicudata.sl.38
libnnz10.so => /oracle/product/10.2/database/lib/libnnz10.so
librt.so.1 => /usr/lib/hpux64/librt.so.1
libnss_DNS.so.1 => /usr/lib/hpux64/libnss_dns.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
libm.so.1 => /usr/lib/hpux64/libm.so.1
libpthread.so.1 => /usr/lib/hpux64/libpthread.so.1
libunwind.so.1 => /usr/lib/hpux64/libunwind.so.1
libnsl.so.1 => /usr/lib/hpux64/libnsl.so.1
libc.so.1 => /usr/lib/hpux64/libc.so.1
libxti.so.1 => /usr/lib/hpux64/libxti.so.1
libuca.so.1 => /usr/lib/hpux64/libuca.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
essdb5_oracle[/orabak01/ogg]$ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.6 16211226 OGGCORE_11.2.1.0.6_PLATFORMS_130418.1829
HP/UX, IA64, 64bit (optimized), Oracle 11g on Apr 18 2013 20:29:17
Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
總結(jié):Oracle 0gg在HP-ia64裸設(shè)備平臺有bug需要最低版本11.2.1.0.6。另外一套系統(tǒng)用的賽門鐵克VXVM文件系統(tǒng)并沒有這方面的bug,記錄一下。告訴大家合理使用ldd這樣的命令。