- 论坛徽章:
- 0
|
在red hat as4装oracle 10 2 ,错误如下:
lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-NOV-2005 12:06:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/oracle/product/10.1.0/Db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /opt/oracle/product/10.1.0/Db_1/network/admin/listener.ora
Log messages written to /opt/oracle/product/10.1.0/Db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=database.domain.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
我的listener.ora文件:
# listener.ora Network Configuration File: /opt/oracle/product/10.1.0/Db_1/netwo
rk/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LS1 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ls1)
(ORACLE_HOME = /opt/oracle/product/10.1.0/Db_1)
(SID_NAME = ORCL)
)
)
LS1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.27.1.123)(PORT = 1521))
)
请指点,我建的数据库ls1,全名:ls1.qdedu.com |
|