oracle12c dategruad,sqldeveloper the network adapter could not establish connection

该博客讲述了用户遇到Oracle Express Edition数据库连接问题,通过lsnrctl命令检查监听器状态,并发现服务未启动和连接问题。作者分析了可能的原因,包括安装配置错误,同时提供了相关解决方案的线索。
摘要由CSDN通过智能技术生成

I get this in cmd.

Here is with localhost

C:\Users\qwerty>lsnrctl status localhost

LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 14-GRU-2017 12:20

:40

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

Connecting to (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))TNS-12541: TNS:no listenerTNS-12560: TNS:protocol adapter error  TNS-00511: No listener  64-bit Windows Error: 61: Unknown error

And without localhost:

C:\Users\qwerty>lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 14-GRU-2017 12:23:40Copyright (c) 1991, 2014, Oracle. All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))STATUS of the LISTENER------------------------Alias LISTENERVersion TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - ProductionStart Date 14-GRU-2017 09:36:05Uptime 0 days 2 hr. 47 min. 47 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFDefault Service XEListener Parameter File I:\program\oracledb\app\oracle\product\11.2.0\server\network\admin\listener.oraListener Log File I:\program\oracledb\app\oracle\diag\tnslsnr\qwerty-Komputer\listener\alert\log.xmlListening Endpoints Summary...  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=qwerty-Komputer)(PORT=1522)))  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=qwerty-Komputer)(PORT=8081))(Presentation=HTTP)(Session=RAW))Services Summary...Service "CLRExtProc" has 1 instance(s).  Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...Service "PLSExtProc" has 1 instance(s).  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...Service "XEXDB" has 1 instance(s).  Instance "xe", status READY, has 1 handler(s) for this service...Service "xe" has 1 instance(s).  Instance "xe", status READY, has 1 handler(s) for this service...The command completed successfully

I have oracle express edition db. I dont kknow what is cdb or pdb.

What doesn't work? If oracle services won't start then your installation/configuration is wrong.

I meant that starting oracle services doesn't help with connecting to db. I've found that solution somewhere.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值