否则,肯定使用ggsci的时候会有如下的报错。
$ ggsci
ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory
安装过程很快就完成了,我们来简单配置一下工作目录。
创建OGG的工作目录
GGSCI (newtest.oracle.com) 2> create subdirs
Creating subdirectories under current directory /home/oracle/ogg/ogg_work
Parameter files /home/oracle/ogg/ogg_work/dirprm: already exists
Report files /home/oracle/ogg/ogg_work/dirrpt: already exists
Checkpoint files /home/oracle/ogg/ogg_work/dirchk: already exists
Process status files /home/oracle/ogg/ogg_work/dirpcs: already exists
SQL script files /home/oracle/ogg/ogg_work/dirsql: already exists
Database definitions files /home/oracle/ogg/ogg_work/dirdef: already exists
Extract data files /home/oracle/ogg/ogg_work/dirdat: already exists
Temporary files /home/oracle/ogg/ogg_work/dirtmp: already exists
Credential store files /home/oracle/ogg/ogg_work/dircrd: already exists
Masterkey wallet files /home/oracle/ogg/ogg_work/dirwlt: already exists
Dump files /home/oracle/ogg/ogg_work/dirdmp: already exists
编辑MGR的信息。
GGSCI (newtest.oracle.com) 1> EDIT PARAMS MGR
PORT 1530
简单验证一下端口1530是否开始工作
[oracle@newtest ogg_work]$ netstat -nltp|grep 1530
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 :::1530 :::* LISTEN 47586/./mgr
查看mgr的状态status mgr或者info mgr都一样
GGSCI (newtest.oracle.com) 1> status mgr
Manager is running (IP port newtest.oracle.com.1530, Process ID 47586).
后续的配置和原理参考 。