Oracle executes netca to report error ORA-01078LRM-00109, ORA-01102, ORA-12541, OR

Source: Internet
Author: User
When oracle executes netca, an error is reported: AnunexpectedexceptionhasbeendetectedinnativecodeoutsidetheVM solution. After oracle is installed

When oracle runs netca, the following error occurs: An unexpected exception has been detected in native code outside the VM solution. After oracle is installed

When Oracle runs netca, the following error occurs: An unexpected exception has been detected in native code outside the VM solution.

After oracle 10 is installed, configure the network listener and run netca. The error is as follows:

Oracle Net Services Configuration: An unexpected exception has been detected in native code outside the VM. Unexpected Signal: 11 occurred at PC = 0xB7E52093 Function = index + 0x63

Library =/lib/tls/libc. so.6 Current Java thread: at oracle.net. common. netGetEnv. getDNSDomain (Native Method) at oracle.net. ca. configureProfile. setDefaultProfileParams (Unknown Source) at oracle.net. ca. initialSetup. setupConfigObjects (Unknown Source) at oracle.net. ca. initialSetup. (Unknown Source) at oracle.net. ca. netCA. main (Unknown Source) Dynamic libraries: 08048000-08056000 r-xp 00000000 0:06 263311/u01/oracle/product/10.2.0/db/jdk/jre/bin/java 08056000-08059000 rwxp 2017d000 0:06 263311/u01/oracle/product /10.2.0/db/jdk/jre/bin/java 08059000-08365000 rwxp 08059000 0 [heap] a90b4000-a90c3000 r-xp 00000000 06 15511/lib/tls/libresolv-2.3.2.so a90c3000-a90c4000 rwxp limit f000 15511 /lib/tls/libresolv-2.3.2.so [...] b7f28000-b7f30000 r-xp 00000000 0:06 263228/u01/oracle/product/10.2.0/db/jdk/jre/lib/i386/native_threads/libhpi. so b7f30000-b7f31000 rwxp 00007000 0:06 263228/u01/oracle/product/10.2.0/db/jdk/jre/lib/i386/native_threads/libhpi. so b7f32000-b7f48000 r-xp 00000000 0:06 15468/lib/ld-2.3.2.so b7f48000-b7f49000 rwxp 00015000 0:06 15468/lib/ld-2.3.2.so bf833000-bf848000 rwxp bf833000 00:00 0 [stack] ffffe000-fffff000 --- p 00000000 00:00 0 [vdso] Heap VM Abort: heap def new generation total 576 K, used 345 K [0xab7b0000, 0xab850000, 0xabc90000) eden space 512 K, 60% used [0xab7b0000, 0xab7fd228, 0xab830000) from space 64 K, 58% used [0xab840000, 0000, 0xab850000) to space 64 K, 0% used [0xab830000, 0xab830000, 0xab840000) tenured generation total 1408 K, used 544 K [0xabc90000, expires, expires) the space 1408 K, 38% used [0xabc90000, 0xabd18148, 0xabd18200, 0xabdf0000) compacting perm gen total 4096 K, used 3573 K [0xaf7b0000, 0xafbb0000, timeout) the space 4096 K, 87% used [0xaf7b0000, 0xafb2d678, 0xafb2d800, 0xafbb0000) local Time = Tue Oct 23 21:36:23 2007 Elapsed Time = 6 # The exception abve was detected in native code outside the VM # Java VM: java HotSpot Client VM (1.4.2 _ 08-b03 mixed mode) # An error report file has been saved as hs_err_pid9698.log. # Please refer to the file for further information. #


The error occurs because the IP address corresponding to hostname is not added to the/etc/hosts file.
Solution:

View the hostname in the Host Name shell, for example, hostnameAAA
View the IP address and execute ifconfig, for example, XXX. XXX. X. XXX.

Vi/etc/hosts
Add a row under the row 127.0.0.1:
XXX. XXX. X. XXX hostnameAAA

Save it.

How to solve ORA-01078 & LRM-00109 errors

SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: cocould not open parameter file '/opt/oracle/products/10.1.0.3/db_1/dbs/initrawdb. ora'


Solution:

Cp $ ORACLE_BASE/admin/$ ORACLE_SID/pfile/init. ora/opt/oracle/products/10.1.0.3/db_1/dbs/initrawdb. ora


> Sqlplus/nolog

SQL * Plus: Release 10.1.0.3.0-Production on Thu Jun 8 13:16:00 2006

Copyright (c) 1982,200 4, Oracle. All rights reserved.

SQL> conn/as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 57679900 bytes
Database Buffers 109051904 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL>

Solve the problem!

Note: during Oracle startup, you need to read the parameter file (pfile/spfile) to create an instance. During Oracle startup, the order of search for parameter files is: spfile. . Ora, spfile. ora, init . Ora.

Question added: error message:
SQL> conn sys/oracle @ xzomc as sysdba
Connected to an idle instance.
SQL> startup pfile =/oracleapp/u01/app/oracle/admin/xzomc/pfile/initgomcr. ora
LRM-00109: cocould not open parameter file '/oracleapp/u01/app/oracle/admin/xzomc/pfile/initgomcr. ora'
ORA-01078: failure in processing system parameters

Solution:
$ Cp $ ORACLE_BASE/admin/xzomc/pfile/init. ora.728200794421/oracleapp/u01/app/oracle/product/10.2.0/dbs/initrawdb. ora

SQL> conn sys/oracle @ xzomc as sysdba;
Connected to an idle instance.
SQL> startup pfile = $ ORACLE_BASE/admin/xzomc/pfile/init. ora.728200794421
ORACLE instance started.

Total System Global Area 2550136832 bytes
Fixed Size 1980808 bytes
Variable Size 536872568 bytes
Database Buffers 1996488704 bytes
Redo Buffers 14794752 bytes
Database mounted.
Database opened.

It may also be caused by ORACLE_SID. The problem lies in setting oracle users. when the ORACLE_SID variable of the bash_profile file is written to ORACLE_SID = wilson, an error is reported during startup. In fact, the real database instance name is venus.

,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.