今天做實驗為了好識別機器隨手用hostname source命令更改了linux主機名然後啟動資料庫報如下錯誤:
[oracle@source dbs]$ sqlplus / as sysdba
sql*plus: release 11.2.0.2.0 production on sat aug 24 20:11:43 2013
connected to an idle instance.
sql> startup
ora-00119: invalid specification for system parameter local_listener
ora-00130: invalid listener address '(address=(protocol=tcp)(host=source)(port=1521))'
看到此錯誤果斷生成pfile檔案,準備剔除local_listener引數,然後啟動資料庫。待開啟pfile檔案發現裡面根本就沒有local_listerer引數的定義。這就奇怪了。
引數檔案如下所示:
[oracle@source dbs]$ vi initcrm.ora
於是仔細想了想,既然更改了主機名導致這個錯誤,檢視下/etc/hosts/是否有問題,一檢查果然發現是hosts檔案問題
[oracle@source dbs]$ cat /etc/hosts
# do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 oracle localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
更改後的hosts檔案如下:
root@oracle
~]# cat /etc/hosts
# do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 source localhost.localdomain localhost
更改後啟動資料庫正常,如下所示:
[root@oracle ~]# su - oracle
[oracle@source ~]$ sqlplus / as sysdba
sql*plus: release 11.2.0.2.0 production on sat aug 24 20:17:45 2013
connected to an idle instance.
sql> startup
oracle instance started.
total system global area 1252663296 bytes
fixed size 2226072 bytes
variable size 973080680 bytes
database buffers 268435456 bytes
redo buffers 8921088 bytes
database mounted.
database opened.
ORA 00119錯誤的解決。
今天在啟動伺服器上的oracle時遇到如下錯誤 sql startup ora 00119 invalid specification for system parameter local listener ora 00132 syntax error or unresolved network n...
ORA 00119,ORA 00132 錯誤處理
故障現象 由於我修改過資料庫的dbname,之後重啟資料庫時出現了 ora 00119,ora 00132 如下 sql startup nomount pfile oracle home dbs initetdb.ora ora 00119 invalid specification for sy...
ora 00119和ora 00132解決方案
win7 64位 oracle 11g 先登入到sqlplus sqlplus nolog 登入資料庫 conn system manager as sysdba 然後啟動資料庫 startup 發現ora 00119 ora 00119 invalid specification for syst...