GGSCI (dwdb01) 4> dblogin userid GOLDENGATE@cnlionrdb,password ******* 2023-10-23 17:11:26 INFO OGG-03542 Failed to connect to the database. Verify that the connection string and following environment variables are correct: LD_LIBRARY_PATH = /home/db/grid/product/19.3.0/lib:/home/db/grid/product/19.3.0/lib32:/home/db/grid/base/BIGDATA_OGG/jdk1.8.0_181/jre/lib:/home/db/grid/base/BIGDATA_OGG/jdk1.8.0_181/jre/lib/amd64/server:/home/db/grid/base/ORACLE_OGG/ogg21/ogglib:/home/db/grid/product/19.3.0/lib:/home/db/grid/product/19.3.0/lib32:/home/db/grid/base/BIGDATA_OGG/jdk1.8.0_181/jre/lib:/home/db/grid/base/BIGDATA_OGG/jdk1.8.0_181/jre/lib/amd64/server:. Error: OCI Error ORA (status = 12154-ORA-12154: TNS:could not resolve the connect identifier specified )
ogg 21连接数据库报错,增加环境变量 export TNS_ADMIN=$ORACLE_HOME/network/admin 即可连接上
标签:lib,database,db,Failed,base,grid,home,OGG From: https://www.cnblogs.com/dbahrz/p/17782981.html