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

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

WBOY
Release: 2016-06-07 17:04:03
Original
1184 people have browsed it

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template