共计 1130 个字符,预计需要花费 3 分钟才能阅读完成。
Oracle 监听程序启动失败,错误如下:
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 – Production on 12-APR-2016 00:27:54
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /data/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait…
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
[oracle@localhost ~]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 odb-sonny
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
网速查资料说 etc/hosts 中需要添加 127.0.0.1 localhost 测试无果~~
然后又试了一堆方法,未果~~
最后把 listerner.ora 中 localhost 修改为本机 IP 正常~~
[oracle@localhost ~]$ cat /data/oracle/product/11.2.0/db_1/network/admin/listener.ora
# listener.ora Network Configuration File: /data/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.232.133)(PORT = 1521))
)
)
ADR_BASE_LISTENER = /data/oracle
[oracle@localhost ~]$
更多 Oracle 相关信息见 Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址 :http://www.linuxidc.com/Linux/2016-04/130557.htm