Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle Net Services configuration: Error: null Oracle Net Services configuration failed. The exit code is 1

2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Specific error description:

[oracle@centos-C ~] $netca / silent/responseFile / usr/local/soft/oracel/netca.rsp

Parsing command line arguments:

Incorrect command line argument passed: "silent/responsefile"

Incorrect command line argument passed: "usr/local/soft/oracel/netca.rsp"

Complete the syntax analysis of the command line parameters.

Oracle Net Services configuration:

Error: null

For more information, please check the trace file: / home/oracle/ora11g/cfgtoollogs/netca/trace_OraDb11g_home1-1603166 afternoon 5620.log

Oracle Net Services configuration failed. The exit code is 1

The details of the log are as follows:

[oracle@centos-C] $cat / home/oracle/ora11g/cfgtoollogs/netca/trace_OraDb11g_home1-16031trace_OraDb11g_home1-1603102 AM 1620.log trace_OraDb11g_home1-1603166 afternoon 5214.logtrace_OraDb11g_home1-1603102 AM 1727.log [oracle@centos-C] $cat / home/oracle/ora11g/cfgtoollogs/netca/trace_OraDb11g_home1-1603166 afternoon 5214.log [main] [NetCALogger.initTrace] [NetCALogger.initTrace] Oracle Net Configuration Assistant: 1603166 PM 5214 [main] [2016-03-16 18 CST 52NetCALogger.initTrace:204] [NetCALogger.initTrace:204] Oracle Home: / home/oracle/ora11g/product/11.2.0/db_1 [main] [2016-03-16 18V 52CST 15.233 CST] [NetCALogger.initTrace:205] Oracle Base: / home/oracle/ora11g [main] [2016-03-16 18V 52V 15.233 CST] [NetCALogger.initTrace:206] Oracle Home Name: OraDb11g_ Home1 [2016-03-16 18 InventoryUtil.getOUIInvSession:347] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_ LOCKLESS15.270 CST] [HAUtils.:188] oui location / home/oracle/ora11g/oraInventory/ContentsXML [main] [2016-03-16 18 18 CST 15.284 CST] [Version.isPre:274] Version to be checked 11.2.0.1.0 major version to check against10 [main] [2016-03-16 18 main 52 CST 15.284 CST] [Version.isPre:285] isPre.java: Returning FALSE [main] [2016-03-16 18 18 main 15.298 CST] [OCR.loadLibrary:308] Inside constructor of OCR [main] [2016-03-16 1852 main 15.307 CST] [OCR.loadLibrary:316] Going to load the ocr library [ Main] [2016-03-16 18 osName=Linux osArch=amd64 JVM=64 rc=false CST] [sPlatform.isHybrid:66] osName=Linux osArch=amd64 JVM=64 rc=false [main] [2016-03-16 18 V 52V 15.320 CST] [sPlatform.isHybrid:66] osName=Linux osArch=amd64 JVM=64 rc=false [main] [2016-03-16 18 V V 15.321 CST] [Library.load:254] Loading library / home/oracle/ora11g/product/11.2.0/db_1/lib/ libsrvmocr11.sor [main] [2016-03-16 18 loaded ocr libraries CST] [OCR.loadLibrary:318] loaded ocr libraries [main] [2016-03-16 18 18 loaded ocr libraries 15. 368 CST] [OCR.isCluster:939] Calling OCRNative for isCluster () [main] [2016-03-16 18 18 loaded ocr libraries 52loaded ocr libraries 15.452 CST] [OCR.isCluster:943] OCR Result status = true [main] [2016-03-16 1852Switzerland 15.453 CST] [OCR.isCluster: Bolean result = false [main] [2016-03-16 18 main] [2016-03-16 18 CST] [CmdlineArgs.:110] Initializing variables array... [main] [2016-03-16 18 V 52V 15.461 CST] [CmdlineArgs.:116] Initializing NetProperties... [main] [2016-03-16 18 CmdlineArgs.:110] [CmdlineArgs.initArgs:133] Initializing command line arguments... [main] [2016-03-16 18:52 : 15.476 CST] [CmdlineArgs.parseLogParam:290] Parsing / log argument... [main] [2016-03-16 18V 52V 15.478 CST] [CmdlineArgs.parseLogParam:345] Returning Log File = null [main] [2016-03-16 18V 52V 15.482 CST] [CmdlineArgs.setOraArgs:236] Setting Oracle arguments... [main] [2016-03-16 18V 52V 15.490 CST] [CmdlineArgs.setOraArgs:240] Passed Oracle Home = NO_ Val [main] [2016-03-16 18 CmdlineArgs.setOraArgs:243 52purl 15.491 CST] [CmdlineArgs.setOraArgs:243] Read Oracle Home = / home/oracle/ora11g/product/11.2.0/db_1 [main] [2016-03-16 18 purge 15.492 CST] [CmdlineArgs.setOraArgs:246] Read Oracle Home ID = [main] [2016-03-16 185purl 15.493 CST] [CmdlineArgs.setOraArgs:249] Read Oracle Home Name = Null [main] [2016-03-16 18 Setting Oracle Home 52CST 15.494 CST] [CmdlineArgs.setOraArgs:257] Setting Oracle Home = / home/oracle/ora11g/product/11.2.0/db_1 [main] [2016-03-16 18V 52V 15.498 CST] [InitialSetup.configureOPS:4504] Cluster mode is OFF [main] [2016-03-16 18V 52V 15.499 CST] [InitialSetup.:4028] TNS_ADMIN is: null [main] [2016-03-16 18 Inside getHomeVersion... [main] [2016-03-16 18 CST] [OPSUtil.getHomeVersion:447] oracleHome = / home/oracle/ora11g/product/11.2.0/db_1 [main] [2016-03-16 18 CST] [OPSUtil.getHomeVersion:451] oracle.sysman.assistants.util.OracleHome Object = / home/oracle / ora11g/product/11.2.0/db_1 [main] [2016-03-16 18 CST 52 CST] [OracleHome.getVersion:877] OracleHome.getVersion called. Current Version: null [main] [2016-03-16 18 CST 52CST] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_ LOCKLESS15.530 CST] [OracleHome.getVersion:896] Homeinfo / home/oracle/ora11g/product/11.2.0/db_1,1 [main] [2016-03-16 185Switzerland 16.229 CST] [OracleHome.getVersion:922] OracleHome.server .getVersion Version: 11.2.0.1.0 [main] [2016-03-16 18 CST] [OracleHome.getVersion:943] Current Version From Inventory: 11.2.0.1.0 [main] [2016-03-16 18 18 Current Version From Inventory] [OracleHome.getVersion:948] using sqlplus: / home/oracle/ora11g/product/11.2.0/db_1/bin/ sqlplus [main] [2016-03-16 18 52returning oracleHome Version 16.229 CST] [OPSUtil.getHomeVersion:452] returning oracleHome Version = 11.2.0.1.0 [main] [2016-03-16 1818 Fraser 16.229 CST] [OracleHome.getVersion:877] OracleHome.getVersion called. Current Version: 11.2.0.1.0 [main] [2016-03-16 18 CST 52DA 16.229 CST] [OracleHome.getVersion:943] Current Version From Inventory: 11.2.0.1.0 [main] [2016-03-16 18 Current Version From Inventory] [OracleHome.getVersion:948] using sqlplus: / home/oracle/ora11g/product/11.2.0/db_1/bin/ sqlplus [2016-03-16 18: 52Admin location is 16.230 CST] [InitialSetup.:4041] Admin location is: / home/oracle/ora11g/product/11.2.0/db_1/network/ admin [main] [2016-03-16 18 Admin location is 52Admin location is 16.390 CST] [ConfigureProfile.setProfileParam:136] Setting NAMES.DIRECTORY_PATH: (TNSNAMES EZCONNECT) [main] [2016-03-16 18 CST 52 CST] [ConfigureProfile.setDefaultProfileParams:109] Not setting ADR_BASE: sqlnet.ora already recording java.lang.NullPointerException at oracle.ewt.lwAWT.BufferedApplet. (Unknown Source) at oracle.net.ca.NetCA. (NetCA.java:420) at oracle.net.ca.NetCA.main (NetCA.java:406)

Solution sharing:

Analysis of the cause of the problem: let the command terminal have the authority to call the interface program, it is necessary to use root users to execute xhost +. Generally speaking, to call the interface, you need to get used to xhost+.

1. Create a new tab (shell)

2. Enter xhost+, to run as root user

3. Then execute the netca creation command

4. If garbled code occurs, modify the character set: export LANG=en_US

5. Just enter netca.

For specific steps, please refer to the following figure:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report