欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

在AIX中不能启动Oracle监听器,如:IBM/AIX RISC System/6000 Error: 79

程序员文章站 2024-02-02 09:51:58
...

1、 AIX重启后,Oracle数据库监听器不能启动。2、 如:gt;lsnrctl statusConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(

1、 AIX重启后,,Oracle数据库监听器不能启动。

2、 如:

>lsnrctl status

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ip)(PORT=1521)))

TNS-12541: TNS:no listener

TNS-12560: TNSrotocol adapter error

TNS-00511: No listener

IBM/AIX RISC System/6000 Error: 79: Connection refused

>lsnrctl start

LSNRCTL for IBM/AIX RISC System/6000: Version10.2.0.1.0 - Production on 02-AUG-

2010 09:26:12

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Starting /usr/oracle/oms/102_64/bin/tnslsnr: please wait...

TNSLSNR for IBM/AIX RISC System/6000: Version10.2.0.1.0 - Production

System parameter file is /usr/oracle/oms/102_64/network/admin/listener.ora

Log messages written to /usr/oracle/oms/102_64/network/log/listener.log

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ip)(PORT=1521)

))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ip)(PORT=1521)

))

3、 数据库不能启动

$ sqlplus "/as sysdba"

SQL*Plus: Release10.2.0.1.0 - Production on Mon Aug 2 09:26:24 2010

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

SQL> select * from v$instance;

select * from v$instance

*

ERROR at line 1:

ORA-01034: ORACLE not available

SQL>

SQL>

SQL>

SQL> startup

ORA-01078: failure in processing system parameters

LRM-00109: could not open parameter file '/usr/oracle/oms/102_64/dbs/initTEST.ora

原因:上面的原因主要是因为原来更改了/etc/hosts文件,数据库重启后,AIX系统的hostname和/etc/hosts中的不一致,让系统的hostname和/etc/hosts中的名字保持一致解决上面问题。Oracle的监听器listener.ora和AIX的/ect/hosts有很大的关系。

在AIX中不能启动Oracle监听器,如:IBM/AIX RISC System/6000 Error: 79