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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- fatal error: libmemcached/memcached.h: No such file or directoryErrorIBM
- fatal error: openssl/sha.h: No such file or directoryError
- fatal error: sys/cdefs.h: No such file or directoryError
- nginx: [error] open() “/var/run/nginx/nginx.pid“ failed (2: No such file or directory)NginxErrorAI
- ssh-add 報錯:Error connecting to agent No such file or directoryError
- error: #error This file requires compiler and library support for the ISO C++ 2011 standard.ErrorUICompileC++
- Ubuntu下 fatal error: Python.h: No such file or directory 解決方法UbuntuErrorPython
- docker mysql mysqld: Error on realpath() on ‘/var/lib/mysql-files‘ No such file or directoryDockerMySqlError
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- Binary XML file line #2: Error inflatingXMLError
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- docker容器掛載 No such file or directoryDocker
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- gitbook no such file or directory 怎麼解決Git
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- 解決IDEA Error:Output directory is not specifiedIdeaError
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- 問題結局辦法:Error loading psycopg2 module: No module named ‘psycopg2‘Error
- cuda runtime error (801) : operation not supportedError
- 解決“/bin/bash^M: bad interpreter: No such file or directory”
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- 在 Linux 中執行.sh 指令碼 No such file or directoryLinux指令碼
- 虛擬環境bin/python: bad interpreter: No such file or directoryPython
- 【Azure Developer】使用 adal4j(Azure Active Directory authentication library for Java)如何來獲取Token呢DeveloperJava
- configure: error: libcurl >= 7.28.0 library and headers are required with suErrorHeaderUI
- 測試中出現ERROR StatusLogger No log4j2 configuration fileError
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- Solaris syntax error: unexpected end of fileError
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++