启用ogg 恢复进程的时候,出现了以下错误:
GGSCI (pr) 29> start rep rep
Sending START request to MANAGER ...
ERROR: opening port for MGR MGR (Connection refused).
原因是 /etc/hosts 文件配置有误:
[oracle@pr ggs]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.233.128 pr
改成下面:
[oracle@pr ggs]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.40.128 pr
恢复进程启动成功
GGSCI (pr) 30> start rep rep
Sending START request to MANAGER ...
REPLICAT REP starting