INS-20802: Oracle Net Configuration Assistant failed error on Oracle Linux (6.10)
При установке Oracle database 11g, на 11 шаге возникла ошибка:
INS-20802: Oracle Net Configuration Assistant failedCause - The plug-in failed in its perform method
Action - Refer to the logs or contact Oracle Support Services. Log File Location
/mnt/u01/app/oraInventory/logs/installActions2021-03-13_05-08-32PM.log
Аналогичная ошибка и была при установке СУБД Oracle на Windows тут. Но судя по ошибке в логе, проблема здесь возникла не из-за переменной среды.
Текст из лога:
INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Parsing command line arguments:
INFO: Parameter "orahome" = /mnt/u01/app/oracle/product/11.2.0/dbhome_1
INFO: Parameter "orahnam" = OraDb11g_home1
INFO: Parameter "instype" = typical
INFO: Parameter "inscomp" = client,oraclenet,javavm,server,ano
INFO: Parameter "insprtcl" = tcp
INFO: Parameter "cfg" = local
INFO: Parameter "authadp" = NO_VALUE
INFO: Parameter "responsefile" = /mnt/u01/app/oracle/product/11.2.0/dbhome_1/network/install/netca_typ.rsp
INFO: Parameter "silent" = true
INFO: Done parsing command line arguments.
INFO: Oracle Net Services Configuration:
INFO: Profile configuration complete.
INFO: Oracle Net Listener Startup:
INFO: The information provided for this listener is currently in use by other software on this computer.
INFO: Listener start failed.
INFO: Check the trace file for details: /mnt/u01/app/oracle/cfgtoollogs/netca/trace_OraDb11g_home1-2103136PM1352.log
INFO: Oracle Net Services configuration failed. The exit code is 1
INFO:
WARNING:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
[oracle@dbserver38 logs]$ installActions2021-03-13_05-08-32PM.log
-bash: installActions2021-03-13_05-08-32PM.log: command not found
По совету в записи пошел проверять логи трассировки:
[main] [ 2021-03-13 18:13:56.160 IRKT ] [ConfigureListener.typicalConfigure:231] Failed to get free port. Using port 1521.
[main] [ 2021-03-13 18:13:56.243 IRKT ] [ConfigureListener.listenerExists:344] Is listener "LISTENER" already exists: false
[main] [ 2021-03-13 18:13:56.243 IRKT ] [ConfigureListener.setListenerParam:1867] Setting ADR_BASE_LISTENER: /mnt/u01/app/oracle
[main] [ 2021-03-13 18:13:56.245 IRKT ] [ConfigureListener.isPortFree:1080] Checking if port 1521 is free on local machine...
[main] [ 2021-03-13 18:13:56.245 IRKT ] [ConfigureListener.isPortFree:1095] InetAddress.getByName(127.0.0.1): /127.0.0.1
[main] [ 2021-03-13 18:13:56.311 IRKT ] [ConfigureListener.isPortFree:1097] Local host IP address: dbserver38/192.168.146.9
[main] [ 2021-03-13 18:13:56.311 IRKT ] [ConfigureListener.isPortFree:1099] Local host name: dbserver38
[main] [ 2021-03-13 18:13:56.312 IRKT ] [ConfigureListener.isPortFree:1115] IP Address: dbserver38/192.168.146.9, Is IPv6 Address: false
[main] [ 2021-03-13 18:13:56.312 IRKT ] [ConfigureListener.isPortFree:1118] IP Address: dbserver38/192.168.146.9, Is Link-Local Address: false
[main] [ 2021-03-13 18:13:56.312 IRKT ] [ConfigureListener.isPortFree:1143] Creating ServerSocket on Port:1521, IP Address: dbserver38/192.168.146.9
[main] [ 2021-03-13 18:13:56.313 IRKT ] [ConfigureListener.isPortFree:1178] java.net.PlainSocketImpl.socketBind(Native Method)
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:377)
java.net.ServerSocket.bind(ServerSocket.java:319)
java.net.ServerSocket.<init>(ServerSocket.java:185)
oracle.net.ca.ConfigureListener.isPortFree(ConfigureListener.java:1145)
oracle.net.ca.ConfigureListener.startOrStopListener(ConfigureListener.java:1221)
oracle.net.ca.ConfigureListener.typicalConfigure(ConfigureListener.java:270)
oracle.net.ca.SilentConfigure.performSilentConfigure(SilentConfigure.java:185)
oracle.net.ca.InitialSetup.<init>(NetCA.java:4189)
oracle.net.ca.NetCA.main(NetCA.java:428)
[main] [ 2021-03-13 18:13:56.313 IRKT ] [ConfigureListener.isPortFree:1191] Returning is Port 1521 free: false
[oracle@dbserver38 netca]$
При этом, IP машины на котором запущена инсталляция совершенно другая (172.*.*.*).
Решение:
В файле etc/hosts добавить/изменить на корректное название и IP адрес сервера.
В моем случае было так:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Поэтому пришлось добавить строку с IP адресом сервера:
172.*.*.* dbserver38
Итог etc/hosts выглядит так:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
Комментарии
Отправить комментарий