Specific error Description:
[Email protected] ~]$ NETCA/SILENT/RESPONSEFILE/USR/LOCAL/SOFT/ORACEL/NETCA.RSP
Parsing command line arguments:
Wrong command-line arguments passed: "Silent/responsefile"
Wrong command-line arguments passed: "USR/LOCAL/SOFT/ORACEL/NETCA.RSP"
Complete parsing of command-line arguments.
Oracle Net Services Configuration:
Error:null
For more information, see Trace files:/home/oracle/ora11g/cfgtoollogs/netca/trace_oradb11g_home1-1603166 pm 5620.log
Oracle Net Services configuration failed. The exit code is 1.
The specific logs are as follows:
[[Email protected] ~]$ cat /home/oracle/ora11g/cfgtoollogs/netca/trace_oradb11g_ Home1-16031trace_oradb11g_home1-1603102 Morning 1620.log trace_oradb11g_home1-1603166 pm 5214.logtrace_ Oradb11g_home1-1603102 Morning 1727.log [[email protected] ~]$ cat /home/oracle/ora11g /cfgtoollogs/netca/trace_oradb11g_home1-1603166 pm 5214.log [main] [ 2016-03-16 18:52:15.226 cst ] [netcalogger.inittrace:203] oracle net configuration assistant : 1603166 PM 5214[main] [ 2016-03-16 18:52:15.232 cst ] [ Netcalogger.inittrace:204] oracle home: /home/oracle/ora11g/product/11.2.0/db_1[main] [ 2016-03-16 18:52:15.233 cst ] [netcalogger.inittrace:205] oracle base: /home/oracle/ora11g[main] [ 2016-03-16 18:52:15.233 cst ] [ netcalogger.inittrace:206] oracle home  name: oradb11g_home1[main] [ 2016-03-16 18:52:15.269 cst ] [ Inventoryutil.getouiinvsession:347] setting oui read level to accesslevel_ READ_LOCKLESS[MAIN]&NBSP;[&NBSP;2016-03-16&NBSP;18:52:15.270&NBSP;CST&NBSP;]&NBSP;[HAUTILS.<INIT>:188] oui location /home/oracle/ora11g/orainventory/contentsxml[main] [ 2016-03-16 18:52: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:52:15.284 cst ] [version.ispre:285] ispre.java: returning false[main] [ 2016-03-16 18:52:15.298 cst ] [ocr.loadlibrary:308] inside constructor of ocr[main] [ 2016-03-16 18:52:15.307 cst ] [ ocr.loadlibrary:316] going to load the ocr library[main] [ 2016-03-16 18:52:15.307 cst ] [splatform.ishybrid:66] osname=linux osarch=amd64 jvm=64 rc=false[main] [ 2016-03-16 18:52:15.320 cst ] [splatform.ishybrid:66] osname=linux osarch=amd64 jvm=64 rc=false[main] [ 2016-03-16 18:52:15.321 cst ] [ library.load:254] loading library /home/oracle/ora11g/product/11.2.0/db_1/lib/ LIBSRVMOCR11.SO[MAIN]&NBSP;[&NBSP;2016-03-16&NBSP;18:52:15.367&NBSP;CST&NBSP;]&NBSP;[OCR.LOADLIBRARY:318] &NBSP;&NBSP;LOADED&NBSP;OCR&NBSP;LIBRARIES[MAIN]&NBSP;[&NBSP;2016-03-16&NBSP;18:52:15.368&NBSP;CST&NBSP;] [ocr.iscluster:939] calling ocrnative for iscluster () [main] [ 2016-03-16 18:52:15.452 cst ] [ocr.iscluster:943] ocr result status = true[main] [ 2016-03-16 18:52:15.453 cst ] [ocr.iscluster:955] bolean result = &NBSP;FALSE[MAIN]&NBSP;[&NBSP;2016-03-16&NBSP;18:52:15.460&NBSP;CST&NBSP;]&NBSP;[CMDLINEARGS.<INIT>:110] initializing variables array ... [main] [ 2016-03-16 18:52:15.461 cst ] [cmdlineargs.<init>:116] initializing netproperties ... [main] [ 2016-03-16 18:52:15.475 cst ] [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 18:52:15.478 cst ] [cmdlineargs.parselogparam:345] returning log file = null[main] [ 2016-03-16 18:52:15.482 cst ] [CmdlineArgs.setOraArgs:236] Setting Oracle arguments ... [main] [ 2016-03-16 18:52:15.490 cst ] [cmdlineargs.setoraargs:240] Passed oracle home = no_value[main] [ 2016-03-16 18:52:15.491 cst ] [cmdlineargs.setoraargs:243] read oracle home = /home/oracle/ ora11g/product/11.2.0/db_1[main] [ 2016-03-16 18:52:15.492 cst ] [ cmdlineargs.setoraargs:246] read oracle home id = [main] [ 2016-03-16 18:52:15.493 cst ] [cmdlineargs.setoraargs:249] read oracle home name = null[main] [ 2016-03-16 18:52:15.494 cst ] [ cmdlineargs.setoraargs:257] setting oracle home = /home/oracle/ora11g/product/ 11.2.0/db_1[main] [ 2016-03-16 18:52:15.498 cst ] [initialsetup.configureops : 4504]&NBSP;&NBSP;CLUSTER&NBSp;mode is off[main] [ 2016-03-16 18:52:15.499 cst ] [initialsetup. <init>:4028] tns_admin is: null[main] [ 2016-03-16 18:52:15.513 cst ] [opsutil.gethomeversion:446] inside gethomeversion ... [main] [ 2016-03-16 18:52:15.519 cst ] [opsutil.gethomeversion:447] oraclehome = /home/oracle/ora11g/product/11.2.0/db_1[main] [ 2016-03-16 18:52:15.519 CST ] [OPSUtil.getHomeVersion:451] oracle.sysman.assistants.util.OracleHome object = /home/oracle/ora11g/product/11.2.0/db_1[main] [ 2016-03-16 18:52:15.520 CST ] [OracleHome.getVersion:877] OracleHome.getVersion called. current version: null[main] [ 2016-03-16 18:52:15.526 cst ] [ Inventoryutil.getouiinvsession:347] setting oui read level to accesslevel_read_lockless[main] [ 2016-03-16 18:52:15.530 cst ] [oraclehome.getversion:896] homeinfo /home/oracle/ora11g/ product/11.2.0/db_1,1[main] [ 2016-03-16 18:52:16.229 cst ] [ oraclehome.getversion:922] oraclehome.server.getversion version: 11.2.0.1.0[main] [ 2016-03-16 18:52:16.229 CST ] [OracleHome.getVersion:943] Current Version from inventory: 11.2.0.1.0[main] [ 2016-03-16 18:52:16.229 cst ] [oraclehome.getversion:948] using sqlplus: /home/oracle/ora11g/product/ 11.2.0/db_1/bin/sqlplus[main] [ 2016-03-16 18:52:16.229 cst ] [ Opsutil.gethomeversion:452] returning oraclehome version = 11.2.0.1.0[main] [ 2016-03-16 18:52:16.229 cst ] [oraclehome.getversion:877] oraclehome.getversion called. current version: 11.2.0.1.0[ main] [ 2016-03-16 18:52:16.229 cst ] [oraclehome.getversion:943] current version from inventory: 11.2.0.1.0[main] [ 2016-03-16 18:52:16.230 cst ] [oraclehome.getversion:948] using sqlplus: /home/oracle/ora11g/ product/11.2.0/db_1/bin/sqlplus[main] [ 2016-03-16 18:52:16.230 cst ] [ initialsetup.<init>:4041] admin location is: /home/oracle/ora11g/product/ 11.2.0/db_1/network/admin[main] [ 2016-03-16 18:52:16.390 cst ] [ Configureprofile.setprofileparam:136] setting names. directory_path: (Tnsnames, ezconnect) [main] [ 2016-03-16 18:52:16.391 cst ] [configureprofile.setdefaultprofileparams:109] not setting adr_base: sqlnet.ora already exist!java.lang.nullpointerexceptionat Oracle.ewt.lwawt.bufferedapplet.<init> (Unknown source) at oracle.net.ca.netca.<init> ( netca.java:420) At oracle.net.ca.netca.main (netca.java:406)
Solution sharing:
cause analysis of the problem: let the command terminal has the permission to invoke the interface program, need to execute Xhost + with root user. General to call the interface to be habitual xhost+.
1. Create a new page sign (shell)
2, enter xhost+, run as root user
3. Then execute the NETCA create command
4, if garbled, modify the following character set: Export Lang=en_us
5, in the input NETCA can.
For specific procedures, please refer to:
650) this.width=650; "Src=" http://7xlhg3.com1.z0.glb.clouddn.com/uploads/article/20140814/ 8e5da76af6f136d31fbb685b894bbb8f.gif "class=" img-polaroid "title=" 2.gif "alt=" 2.gif "style=" border:0px; vertical-align:middle;margin-bottom:10px; "/>
Oracle NET Services Configuration: Error:null Oracle NET Services configuration failed. The exit code is 1.