解決Oracle 11g ORA-00119 ORA-00132方法

來源:互聯網
上載者:User

解決Oracle 11g ORA-00119 ORA-00132方法

在Linux下啟動Oracle 11g是報如下錯誤:

ORA-00119: invalid specification for system parameter LOCAL_LISTENER

ORA-00130: invalid listener address XIANGDE_LISTENER

在網上也有很多人遇到這種問題,大家的解決方案基本都是一致的,但是oracle11g和oracle10g有些區別。

$ ./sqlplus / as sysdba;

SQL> create pfile from spfil=‘D:\app\fy\product\11.2.0\dbhome_1\database\SPFILEXIANGDE.ORA';

執行該語句後在database下會產生INITxiangde.ORA檔案

把INITxiangde.ORA檔案中的*.local_listener的值改成,如:

*.local_listener='(ADDRESS_LIST=(Address=(Protocol=tcp) (Host=serverIP)(Port=1521)))'

再執行

SQL> create spfile from pfil=‘D:\app\fy\product\11.2.0\dbhome_1\database\INITxiangde.ORA';

SQL>startup

這樣就啟動了 (xiangde是SID)

11g和10g的區別是這個spfile的位置是放在dbs下,而11g是放在database下

Linux-6-64下安裝Oracle 12C筆記

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

相關文章

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.