oggca.sh报错[INS-85037] Deployment creation failed Make sure Service Manager is running and the administrator userpassword specified is correct (Doc ID 2730561.1)
GoldenGate MicroService install oggca.sh fails during Service Manager configuration with Failed to register deployment. Make sure Service Manager is running and the administrator user/password specified is correct (Doc ID 2730561.1)
APPLIES TO:
Oracle GoldenGate - Version 19.1.0.0.4 and later
Information in this document applies to any platform.
SYMPTOMS
During initial execution of oggca.sh to create first deployment, including new Service Manager, the process fails with errors:
1 2 3 4 5 6 | WARNING | REST API call failed - Connection refused (Connection refused) WARNING | REST API call failed - Connection refused (Connection refused) WARNING | REST API call failed - Connection refused (Connection refused) SEVERE | Error code: 500 SEVERE | Error(s) ocurred, please check log files. SEVERE | Failed to register deployment. Make sure Service Manager is running and the administrator user/password specified is correct. Check the Configuration Assistant and Service Manager log files for additional details. |
CAUSE
There could be multiple reasons for this error but in this scenario the problem was caused by wrong DNS resolution/DNS Server setup.
It was identified that 2 out of 3 DNS Servers specified in /etc/resolv.conf
were unavailable at the time of oggca.sh execution.
SOLUTION
Make sure all DNS servers specified in /etc/resolv.conf
are valid and accessible.
Then retry oggca.sh.
我的报错信息
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | [oracle@lhrogg191maoracle ~]$ /ogg191c/ogg_ma/bin/oggca.sh -silent \ > CONFIGURATION_OPTION=ADD \ > DEPLOYMENT_NAME=deploy191 \ > ADMINISTRATOR_USER=oggadmin \ > ADMINISTRATOR_PASSWORD=lhr@XXT123 \ > SERVICEMANAGER_DEPLOYMENT_HOME=/ogg191c/ogg_sm \ > HOST_SERVICEMANAGER=127.0.0.1 \ > PORT_SERVICEMANAGER=9000 \ > SECURITY_ENABLED=false \ > STRONG_PWD_POLICY_ENABLED=false \ > CREATE_NEW_SERVICEMANAGER=true \ > REGISTER_SERVICEMANAGER_AS_A_SERVICE=true \ > OGG_SOFTWARE_HOME=/ogg191c/ogg_ma \ > OGG_DEPLOYMENT_HOME=/ogg191c/ogg_deploy \ > ADMINISTRATION_SERVER_ENABLED=true \ > PORT_ADMINSRVR=9001 \ > DISTRIBUTION_SERVER_ENABLED=true \ > PORT_DISTSRVR=9002 \ > NON_SECURE_DISTSRVR_CONNECTS_TO_SECURE_RCVRSRVR=false \ > RECEIVER_SERVER_ENABLED=true \ > PORT_RCVRSRVR=9003 \ > METRICS_SERVER_ENABLED=true \ > PORT_PMSRVR=9004 \ > UDP_PORT_PMSRVR=9005 \ > PMSRVR_DATASTORE_TYPE=BDB \ > ENV_ORACLE_HOME=/usr/lib/oracle/21/client64 \ > ENV_LD_LIBRARY_PATH=/usr/lib/oracle/21/client64/lib:/ogg191c/ogg_ma/lib:/ogg191c/ogg_ma/install/lib:/ogg191c/ogg_ma/oui/lib/linux64 \ > ENV_TNS_ADMIN=/usr/lib/oracle/21/client64 \ > OGG_SCHEMA=ogg Oracle GoldenGate Service Manager for Oracle Version 19.1.0.0.4 OGGCORE_19.1.0.0.0_PLATFORMS_191017.1054 Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved. Linux, x64, 64bit (optimized) on Oct 17 2019 14:47:09 Operating system character set identified as UTF-8. [FATAL] [INS-85037] Deployment creation failed. ACTION: Check logs at /ogg191c/oraInventory/logs/OGGCAConfigActions2021-12-05_19-57-26PM for more information. *MORE DETAILS* Failed to register deployment. Make sure Service Manager is running and the administrator user/password specified is correct. Check the Configuration Assistant and Service Manager log files for additional details. Log of this session available at: /ogg191c/oraInventory/logs/OGGCAConfigActions2021-12-05_19-57-26PM The deployment creation failed and the associated files will be deleted from disk. Oracle recommends that if you want to keep the log files, you should move them to another location. Stopping...STOPPED. |
查看/etc/resolv.conf文件:
1 2 3 4 5 6 7 8 9 | [root@lhrogg191maoracle /]# vi /etc/resolv.conf # Generated by NetworkManager nameserver 118.30.19.40 nameserver 8.8.8.8 nameserver 172.16.20.248 # NOTE: the libc resolver may not support more than 3 nameservers. # The nameservers listed below may not be recognized. nameserver 60.124.1.4 nameserver 172.16.30.248 |
果然啊,不过这个问题耗了我好几天的时间!!!
解决:
1 2 3 4 5 6 | echo " nameserver 114.114.114.114 nameserver 8.8.8.8 " > /etc/resolv.conf /usr/bin/chattr +i /etc/resolv.conf |