当前位置:Gxlcms > mysql > 在AIX中不能启动Oracle监听器,如:IBM/AIXRISCSystem/6000Error:79

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

时间:2021-07-01 10:21:17 帮助过:84人阅读

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有很大的关系。

linux

人气教程排行