Goldengate報錯之ERROR OGG-06551
阿新 • • 發佈:2019-02-02
goldengate所有程序都可以啟動,但日誌一直報錯
2015-10-21 12:20:37 INFO OGG-00963 Oracle GoldenGate Manager for MySQL, mgr.prm: Command received from EXTRACT on host [10.128.11.90]:53885 (START SERVER CPU -1 PRI -1 TIMEOUT 300 PARAMS ). 2015-10-21 12:20:37 INFO OGG-01677 Oracle GoldenGate Collector for MySQL: Waiting for connection (started dynamically). 2015-10-21 12:20:37 ERROR OGG-06551 Oracle GoldenGate Collector for MySQL: Could not translate host name localhost into an Internet address. 2015-10-21 12:20:37 ERROR OGG-01668 Oracle GoldenGate Collector for MySQL: PROCESS ABENDING.
根據localhost無法解析,發現是/etc/hosts中沒有localhost的解析
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost.localdomain localhost6 localhost6.localdomain6
10.128.11.90 hadooptest05
解決:在hosts中新增localhost解析
cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.128.11.90 hadooptest05