ORA-00000 normal, successful completion

Posted 奋斗的小鸟_oracle

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-00000 normal, successful completion相关的知识,希望对你有一定的参考价值。

当hosts文件配置错误时,用sqlplus登录后startup nomount,就会报错ORA-00000


[oracle11g@xulq dbs]$ sqlplus "/ as sysdba"


SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 21 13:48:32 2014


Copyright (c) 1982, 2013, Oracle. All rights reserved.


Connected.
SQL> startup nomount
ORA-00000: normal, successful completion
SQL> alter database mount;
ERROR:
ORA-01012: not logged on


SQL>


[root@xulq etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.19.205.30 xulq1


修改host文件后:


[root@xulq etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.19.205.30 xulq


再次启动:
SQL> startup nomount
ORACLE instance started.


Total System Global Area 1052274688 bytes
Fixed Size 2259840 bytes
Variable Size 1023411328 bytes
Database Buffers 20971520 bytes
Redo Buffers 5632000 bytes
SQL>


正常。


另外,除了写错,如果丢失hosts文件,startup nomount时也会同样报错ORA-00000

以上是关于ORA-00000 normal, successful completion的主要内容,如果未能解决你的问题,请参考以下文章

如果存储过程啥都不执行,那么 ORA 代码会是啥?

linux系统自带函数库介绍

/etc/init.d/functions详解

/etc/init.d/functions详解

/etc/init.d/functions详解

Linux学习之/etc/init.d/functions详解