LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) )SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/dbhome_1) (PROGRAM = extproc) ) (SID_DESC = (GLOBAL_DBNAME = mydb) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/dbhome_1) (SID_NAME = mydb) ) )
建议4:重启监听器
4. 重启监听器
lsnrctl stoplsnrctl start
归纳
通过检查服务名、监听器状态和配置文件,可以解决Oracle 2248错误,如果问题仍然存在,请检查网络连接和防火墙设置,确保没有阻止数据库连接。
如果你有任何问题或者需要进一步的帮助,请留下你的评论,我们会及时回复。感谢你的观看和支持!
```
评论留言