ORA-00119: invalid specification for system parameter LOCAL_LISTENER

简介:

错误分析

listener 可以正常启动:

[oracle@o_target admin]$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = /u01/app/oracle

[oracle@o_target admin]$ 

*********************************

数据库无法启动

[oracle@o_target ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 4 09:18:56 2014

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

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=o_target.loc)(PORT=1521))'
SQL> show parameter local_listener;
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0


SQL> startup nomount;
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=o_target.loc)(PORT=1521))'
SQL> 
SQL> startup force;
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=o_target.loc)(PORT=1521))'
SQL> 

*********************************

参考:http://www.cnblogs.com/dba001/archive/2011/10/22/2221267.html

 

[oracle@o_target dbs]$ pwd
/u01/app/oracle/product/11.2.0/dbhome_1/dbs
[oracle@o_target dbs]$ tail initorcl.ora
*.db_recovery_file_dest=''
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.log_archive_dest='/u01/app/oracle/arch'
*.memory_target=1024458752
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
*.local_listener='(ADDRESS_LIST= (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))'
[oracle@o_target dbs]$ 

再次启动试验:

SQL> startup pfile='$ORACLE_HOME/dbs/init$ORACLE_SID.ora';
ORACLE instance started.

Total System Global Area 1023004672 bytes
Fixed Size                  2219752 bytes
Variable Size             633340184 bytes
Database Buffers          381681664 bytes
Redo Buffers                5763072 bytes
Database mounted.
Database opened.
SQL> 

SQL> create spfile from pfile;

File created.

SQL> 

*********************************

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;     
ORACLE instance started.

Total System Global Area 1023004672 bytes
Fixed Size                  2219752 bytes
Variable Size             633340184 bytes
Database Buffers          381681664 bytes
Redo Buffers                5763072 bytes
Database mounted.
Database opened.
SQL> 






本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/3644524.html,如需转载请自行联系原作者

目录
相关文章
|
7月前
|
SQL Oracle 关系型数据库
Oracle数据库启动时:ORA-00119: invalid specification for system parameter LOCAL_LISTENER;
Oracle数据库启动时:ORA-00119: invalid specification for system parameter LOCAL_LISTENER;
|
数据库
ORA-12520: TNS:listener could not find available handler for requested type of server
当你碰到ORA-12520错误时,如下所示: 英文错误提示: ORA-12520: TNS:listener could not find available handler for requested type of server 中文错误提示: ORA-12520: TNS: 监听程序无法为请求的服务器类型找到可用的处理程序 一般你应该从下面两个方面去检查出错原因并解决问题:   1:数据库是专用服务器,但是在tnsname.ora配置文件中设置的连接方式是shared,这种情况需要修改tnsname.ora配置文件,这种错误情况一般发生在第一次连接数据库服务器。
1416 0
|
关系型数据库 Oracle
Using deprecated SQLNET.ALLOWED_LOGON_VERSION parameter
Using deprecated SQLNET.ALLOWED_LOGON_VERSION parameter.
5158 0
|
网络协议 关系型数据库 数据库
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
数据库遇到如下错误:SQL> startup mountORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00132: syntax error or unresolved network name 'HRES' //来源:http://www.
1637 0