OGG-15050 Error loading Java VM runtime library: (2 No such file or directory)
Description:
***********************************************************************
** Running with the following parameters **
***********************************************************************
2018-10-29 15:08:37 INFO OGG-03059 Operating system character set identified as UTF-8.
2018-10-29 15:08:37 INFO OGG-02695 ANSI SQL parameter syntax is used for parameter parsing.
2018-10-29 15:08:37 INFO OGG-03528 The source database character set, as determined from the table definition file, is zhs16gbk.
2018-10-29 15:08:37 WARNING OGG-01187 Duplicate entry encountered for xxx.xx, Reloading definition.
REPLICAT rkfk_cs
sourcedefs /usr/local/ogg/dirdef/defgen1.def OVERRIDE
TARGETDB LIBFILE libggjava.so SET property=dirprm/kafka.props
2018-10-29 15:08:37 INFO OGG-15052 Using Java class path: ggjava/ggjava.jar:ggjava/resources/lib/optional/log4j-1.2.17.jar:ggjava/resources/lib/optional/slf4j-log4j12-1.7.25.jar.
Source Context :
SourceModule : [gglib.ggdal.adapter.java.jni]
SourceID : [/scratch/aime/adestore/views/aime_adc4150324/oggcore/OpenSys/src/gglib/ggdal/Adapter/Java/jni/JNIHelper.cpp]
SourceMethod : [CJavaVM]
SourceLine : [153]
ThreadBacktrace : [17] elements
: [/usr/local/ogg/libgglog.so(CMessageContext::AddThreadContext()+0x1e) [0x7f7d076c054e]]
: [/usr/local/ogg/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x6ac) [0x7f7d076b0d4c]]
: [/usr/local/ogg/libgglog.so(_MSG_(CSourceContext*, int, CMessageFactory::MessageDisposition)+0x2d) [0x7f7d0769a31d]]
: [/usr/local/ogg/libggjava.so(CJavaVM::CJavaVM(bool, CJavaVMOption const&)+0xf5) [0x7f7cfe9ea7f5]]
: [/usr/local/ogg/libggjava.so(CJavaVM::Create(bool, CJavaVMOption const&)+0x54) [0x7f7cfe9ea9d4]]
: [/usr/local/ogg/libggjava.so(ggs::gglib::ggdal::CJavaAdapter::Open()+0x105) [0x7f7cfe9c03a5]]
: [/usr/local/ogg/replicat(ggs::gglib::ggdal::CDALAdapter::Open(ggs::gglib::ggunicode::UString const&)+0x20) [0x81d410]]
: [/usr/local/ogg/replicat(GenericImpl::Open(ggs::gglib::ggunicode::UString const&)+0x2c) [0x8068ec]]
: [/usr/local/ogg/replicat(odbc_param(char*, char*)+0xb1) [0x7fa451]]
: [/usr/local/ogg/replicat(get_infile_params(ggs::gglib::ggapp::ReplicationContextParams&, ggs::gglib::ggdatasource::DataSourceParams&, ggs::gglib::ggdatatarget::DataTargetParams&, ggs::gglib::ggmetadata::MetadataContext&)+0x9878) [0x5cfa68]]
: [/usr/local/ogg/replicat() [0x6d93dd]]
: [/usr/local/ogg/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain()+0x5e) [0x7d371e]]
: [/usr/local/ogg/replicat(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*)+0x173) [0x7d7ae3]]
: [/usr/local/ogg/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x140) [0x7d8350]]
: [/usr/local/ogg/replicat(main+0x3b) [0x6dca2b]]
: [/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f7d00dab445]]
: [/usr/local/ogg/replicat(__gxx_personality_v0+0x341) [0x54a409]]
2018-10-29 15:08:37 ERROR OGG-15050 Error loading Java VM runtime library: (2 No such file or directory).
2018-10-29 15:08:37 ERROR OGG-01668 PROCESS ABENDING.
ogg 測試ORACLE 同步到kafka,在同步到某些資料時總會出現 OGG-15050 Error loading Java VM runtime library: (2 No such file or directory). 的錯誤,而實際上java環境變數都是正常,且前面可以正常開啟複製程式的。
看到前面的錯誤,發現怎麼會有 Duplicate entry 的警告。
WARNING OGG-01187 Duplicate entry encountered for xxx.xx, Reloading definition.
【OGG-01187】 | |
Description: | Duplicate entry encountered for {0}, Reloading definition... |
Cause: |
A duplicate entry was found in the definitions file. |
Action: |
Edit the definitions file to remove the duplicate entry. |
於是我將OGG-01187的表先註釋掉,重啟複製程式,就出現了以下錯誤。
2018-10-29 17:12:34 ERROR OGG-01668 PROCESS ABENDING.
CACHE OBJECT MANAGER statistics
: [/usr/local/ogg/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x140) [0x7d8350]]
: [/usr/local/ogg/replicat(main+0x3b) [0x6dca2b]]
: [/usr/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fb91818d445]]
: [/usr/local/ogg/replicat(__gxx_personality_v0+0x341) [0x54a409]]
2018-10-29 17:12:34 ERROR OGG-01161 Bad column index (74) specified for table xxxxx max columns = 74.
***********************************************************************
* ** Run Time Statistics ** *
看起來表結構定義檔案確實有問題,重新生成定義檔案再同步到目標端,重啟複製程式,問題就解決了。記錄一下。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29863023/viewspace-2217999/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- fatal error: openssl/sha.h: No such file or directoryError
- fatal error: sys/cdefs.h: No such file or directoryError
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- fatal error: libmemcached/memcached.h: No such file or directoryErrorIBM
- nginx: [error] open() “/var/run/nginx/nginx.pid“ failed (2: No such file or directory)NginxErrorAI
- opensuse13.1 安裝chrome報 error while loading shared libraries:libudev.so.0:cannot open shared object file:no file or directoryChromeErrorWhiledevObject
- docker mysql mysqld: Error on realpath() on ‘/var/lib/mysql-files‘ No such file or directoryDockerMySqlError
- Ubuntu下 fatal error: Python.h: No such file or directory 解決方法UbuntuErrorPython
- ssh-add 報錯:Error connecting to agent No such file or directoryError
- Oracle ASM File DirectoryOracleASM
- Linux 錯誤:fatal error: uuid/uuid.h: No such file or directoryLinuxErrorUI
- python unix :No such file or directoryPython
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- error: #error This file requires compiler and library support for the ISO C++ 2011 standard.ErrorUICompileC++
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directoryAIErrorObject
- 記錄 libldap-2.4.so.2: cannot open shared object file: No such file or directoryLDAObject
- An unexpected error has been detected by Java Runtime EnvironmentErrorJava
- docker容器掛載 No such file or directoryDocker
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- Error: parent directory is world writable but not stickyError
- gitbook no such file or directory 怎麼解決Git
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- yum-GPG key retrieval failed: No such file or directoryAI
- Using Create directory & UTL_FILE in OracleOracle
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- 記錄CDH Spark2的spark2-submit的一個No such file or directory問題SparkMIT
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- ndk編譯C++,提示找不到標頭檔案(ndk-build error string No such file or directory)編譯C++UIError
- Binary XML file line #2: Error inflatingXMLError
- 解決IDEA Error:Output directory is not specifiedIdeaError
- 深入Scripting Runtime Library 之一 (轉)
- /lib/ld-linux.so.2: bad ELF interpreter: No such file or directoryLinux
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile