Local IP Address: 192.168.1.163
[Oracle @ rtest ~] $ Sqlplus/nolog
SQL * Plus: Release 10.2.0.2.0-Production on Sun May 4 19:32:13 2014
Copyright (c) 1982,200 5, Oracle. All Rights Reserved.
@> Conn sys/oracle ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory
The ORA-01034 and ORA-27101 are generated because the database is not started and sysdba is required to enter the boot database.
######################################## ######################################## #############################
@> Conn sys/oracleAs sysdbaConnected to an idle instance. SYS @ TEST0422> startupORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], [], []SYS @ TEST0422> startup ORA-24324: service handle not initialized ORA-01041: internal error. hostdef extension doesn't exist
The root cause of the above ORA-00600 is that the Server hostname is not properly configured, the host name obtained through the hostname command cannot be pinged, Oracle10g think the host cannot be reached so the database startup error is reported.
Solution: add the hostname to the/etc/hosts file and modify/etc/sysconfig/network to keep the hostname consistent. Restart the database.
[Root @ rtest ~] # Vi/etc/sysconfig/network NETWORKING = yes NETWORKING_IPV6 = no HOSTNAME = rtest. localdomain
[Root @ rtest ~] # Vi/etc/hosts # Do not remove the following line, or varous programs # that require network functionality will fail. 127.0.0.1 ocm1.localdomain ocm1 localhost. localdomain localhost: 1 localhost6.localdomain6 localhost6 192.168.1.163 rtest. localdomain rtest ~
Previously, it was 192.168.1.161 ocm1.localdomian ocm1.
######################################## ######################################## ########## [Oracle @ rtest ~] $ Sqlplus "/as sysdba"
SQL * Plus: Release 10.2.0.2.0-Production on Sun May 4 19:43:40 2014
Copyright (c) 1982,200 5, Oracle. All Rights Reserved.
Connected to an idle instance.
SYS @ TEST0422> startup ORACLE instance started.
Total System Global Area 285212672 bytes Fixed Size 1260420 bytes Variable Size 92275836 bytes Database Buffers 188743680 bytes Redo Buffers 2932736 bytes Database mounted. Database opened. SYS @ TEST0422>