标签:oracle
启动监听时找不到数据库实例
[oracle@fstsg]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 16-NOV-2017 09:52:29 Copyright (c) 1991, 2011, Oracle. All rights reserved. Starting /home/oracle/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.2.0.3.0 - Production System parameter file is /home/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora Log messages written to /home/oracle/app/diag/tnslsnr/fstsg/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fstsg)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production Start Date 16-NOV-2017 09:52:29 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /home/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora Listener Log File /home/oracle/app/diag/tnslsnr/fstsg/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fstsg)(PORT=1521))) The listener supports no services The command completed successfully
修改listener.ora
#vi $ORACLE_HOME/network/admin/listener.ora SID_LIST_LISTENER= (SID_LIST= (SID_DESC= (GLOBAL_DBNAME=orcl) (SID_NAME=orcl) #注意改为自己的SID ) )
重启监听
$lsnrctl stop $lsnrctl start
本文出自 “运维笔记” 博客,请务必保留此出处http://quliren.blog.51cto.com/9849266/1982273
The listener supports no services
标签:oracle
原文地址:http://quliren.blog.51cto.com/9849266/1982273