Ubuntu7上安装oracle10g, 无法启动服务?????

数据库服务和管理,MySQL/PostgreSQL/Oracle/Sybase 等
回复
milkslzz
帖子: 7
注册时间: 2007-01-12 13:17
送出感谢: 0
接收感谢: 0

Ubuntu7上安装oracle10g, 无法启动服务?????

#1

帖子 milkslzz » 2007-09-18 22:48

我用./lsnrctl start , 服务是起来了, 可是提示:
TNS: listener does not currently know of service requested in connect descriptor

这个应该好像是动态注册之类的, 弄了3天了, 郁闷呀~~~~

用./lsnrctl start启动时候内容如下:
$ ./lsnrctl start

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-SEP-2007 22:37:04

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

Starting /home/oracle/oracle/product/10.2.0/db_1//bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tom-linux)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 17-SEP-2007 22:37:06
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tom-linux)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


===================================================================
===================================================================
===================================================================

我的listener.ora 如下:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.105)(PORT = 1521))
)
)
)


===================================================================
===================================================================
===================================================================
我的 tnsnames.ora 如下:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.105)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
zdl801
帖子: 7
注册时间: 2007-07-15 23:52
送出感谢: 0
接收感谢: 0

#2

帖子 zdl801 » 2007-09-19 15:48

我之前也是碰到oracle老是监听不起来,郁闷得要死。

后来鬼使神差的好了,好像和HOST 有关
lujianqing
帖子: 6
注册时间: 2008-01-23 9:20
送出感谢: 0
接收感谢: 0

#3

帖子 lujianqing » 2008-02-01 9:05

我也是这个的信息但是我可以使用 你如果不能使用的话 可以把这个注释掉 (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
lujianqing
帖子: 6
注册时间: 2008-01-23 9:20
送出感谢: 0
接收感谢: 0

#4

帖子 lujianqing » 2008-02-01 9:06

是这个 (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
回复

回到 “数据库管理”