ORA-00119,ORA-00130問題處理

vbox虛擬機遷移後,啓動數據庫報錯:sql

wKiom1OhkS6RxkFKAAHCPqD3J9A291.jpg

顯示ora-00119,ora-00130數據庫

通過查詢資料檢查oracle

檢查 /etc/hosts    /etc/sysconfig/network      hostnamedom

 

[root@athena ~]# hostname
athenaide

 

[root@athena ~]# vi /etc/sysconfig/networkui

NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=athenaspa

 

[root@athena ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1  localhost6.localdomain6 localhost6-----------------------------添加192.168.56.101   athena便可blog

[root@athena ~]# vi /etc/hosts
[root@athena ~]# vi /etc/hosts
[root@athena ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1  localhost6.localdomain6 localhost6
192.168.56.101  athenarem

保存後數據庫能夠正常啓動:get

 

[oracle@athena ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.3.0 Production on Fri Jun 20 20:58:21 2014

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

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

Total System Global Area  835104768 bytesFixed Size      2232960 bytesVariable Size    633343360 bytesDatabase Buffers   197132288 bytesRedo Buffers      2396160 bytesDatabase mounted.Database opened.

相關文章
相關標籤/搜索