Impact of host name modification on Oracle startup and shutdown on Linux

Source: Internet
Author: User

+++ 10gR2
If the host name is modified and the corresponding information of/etc/hosts is not changed, an error will be reported during database shutdown and startup.
 
[Oracle @ oracle ~] $ Sqlplus/as sysdba
 
SQL * Plus: Release 10.2.0.1.0-Production on Sun Apr 6 19:19:30 2014
Copyright (c) 1982,200 5, Oracle. All rights reserved.
Connected.
SQL>
SQL>
SQL> shut immediate
The ORA-24324: service handle not initialized.
ORA-24323: value not allowed
ORA-00600: internal error code, arguments: [% s], [% s], [% s], [% s], [% s], [% s], [% s]
 
SQL> shut abort
ORA-01031: insufficient privileges
 
[Oracle @ oracle ~] $ Sqlplus/as sysdba
SQL * Plus: Release 10.2.0.1.0-Production on Sun Apr 6 19:20:55 2014
Copyright (c) 1982,200 5, Oracle. All rights reserved.
Connected to an idle instance.
 
SQL> startup
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], [], []
SQL>
 

+++ 11gR2
If the host name is modified and the corresponding information of/etc/hosts is not changed, the database can be shut down normally, but an error will be reported during startup.
[Oracle @ oracle ~] $ Sqlplus/as sysdba
 
SQL * Plus: Release 11.2.0.1.0 Production on Sun Apr 6 11:27:27 2014
Copyright (c) 1982,200 9, Oracle. All rights reserved.
Connected:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
 
SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
 
SQL> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS = (PROTOCOL = TCP) (HOST = oracle) (PORT = 1521 ))'
SQL> exit
 
++ 12c
If the host name is modified and the corresponding information of/etc/hosts is not changed, the database cannot be shut down normally, but can be shut down using abort. An error will be reported during startup.
[Oracle @ oracle ~] $ Sqlplus/as sysdba
 
SQL * Plus: Release 12.1.0.1.0 Production on Sun Apr 6 11:34:38 2014
Copyright (c) 1982,201 3, Oracle. All rights reserved.
Connected.
SQL> shut immediate
ORA-00000: normal, successful completion
SQL> shut immediate
ORA-00000: normal, successful completion
SQL> shut abort
ORACLE instance shut down.
SQL>
SQL> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
 
ORA-00130: invalid listener address '(ADDRESS = (PROTOCOL = TCP) (HOST = oracle) (PORT = 1521 ))'

Related Article

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.