ORA-12514 错误的处理
实在只是一个简单的错误,只是记录下过程。
登录报错:
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Oct 18 00:50:26 2022
Version 19.16.0.0.0Copyright (c) 1982, 2022, Oracle. All rights reserved.ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptorEnter user-name:
查看监听,并没有发现对应的数据库服务:
$ lsnrctl statusLSNRCTL for Linux: Version 19.0.0.0.0 - Production on 18-OCT-2022 00:50:39Copyright (c) 1991, 2022, Oracle. All rights reserved.Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date 17-OCT-2022 22:38:01
Uptime 0 days 2 hr. 12 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/19.0.0.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/bigtsiys/listener/alert/log.xml
Listening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.155)(PORT=1521)))
Services Summary...
Service "+APX" has 1 instance(s).Instance "+APX1", status READY, has 1 handler(s) for this service...
Service "+ASM" has 1 instance(s).Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "+ASM_DATA" has 1 instance(s).Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "+ASM_RECO" has 1 instance(s).Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfully
原来是数据库没有启动,因此启动之:
$ sqlplus / as sysdbaSQL*Plus: Release 19.0.0.0.0 - Production on Tue Oct 18 00:51:07 2022
Version 19.16.0.0.0Copyright (c) 1982, 2022, Oracle. All rights reserved.Connected to an idle instance.SQL> startup
ORACLE instance started.Total System Global Area 3.2749E+10 bytes
Fixed Size 13873784 bytes
Variable Size 3892314112 bytes
Database Buffers 2.8655E+10 bytes
Redo Buffers 187449344 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 19c EE Extreme Perf Release 19.0.0.0.0 - Production
Version 19.16.0.0.0
此时监听中已有注册的服务:
$ lsnrctl statusLSNRCTL for Linux: Version 19.0.0.0.0 - Production on 18-OCT-2022 00:51:40Copyright (c) 1991, 2022, Oracle. All rights reserved.Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date 17-OCT-2022 22:38:01
Uptime 0 days 2 hr. 13 min. 38 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/19.0.0.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/bigtsiys/listener/alert/log.xml
Listening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.155)(PORT=1521)))
Services Summary...
Service "+APX" has 1 instance(s).Instance "+APX1", status READY, has 1 handler(s) for this service...
Service "+ASM" has 1 instance(s).Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "+ASM_DATA" has 1 instance(s).Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "+ASM_RECO" has 1 instance(s).Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "DB0921_nrt1mz.sub07290808380.training.oraclevcn.com" has 1 instance(s).Instance "DB0921", status READY, has 2 handler(s) for this service...
Service "e92e139443c62209e0539b00000afd03.sub07290808380.training.oraclevcn.com" has 1 instance(s).Instance "DB0921", status READY, has 2 handler(s) for this service...
Service "orclpdb1.sub07290808380.training.oraclevcn.com" has 1 instance(s).Instance "DB0921", status READY, has 2 handler(s) for this service...
The command completed successfully
登录成功了:
$ ssbSQL*Plus: Release 19.0.0.0.0 - Production on Tue Oct 18 00:51:45 2022
Version 19.16.0.0.0Copyright (c) 1982, 2022, Oracle. All rights reserved.Last Successful login time: Mon Oct 17 2022 23:06:01 +00:00Connected to:
Oracle Database 19c EE Extreme Perf Release 19.0.0.0.0 - Production
Version 19.16.0.0.0SQL>
ORA-12514 错误的处理相关推荐
- 数据库启动后报12514错误
数据库启动后报12514错误,默认的listener.ora文件如下 修改方法如下,添加几行代码到这里,如图所示: 主要原因: Oracle9i以后,后台进程PMON会自动在监听器中注册在系统参数SE ...
- oracle 10g报12514,oracle 10g 12514错误
oracle 10g 12514错误 ORA-12514: TNS:listener does not currently know of service requested in connect处理 ...
- sql链接oracle12514,客户端连接到oracle数据库出现12514错误
Oracle-12514错误发生的几种原因 ora-12514: TNS: 无法处理服 登录Oracle数据库时提示"ORA-12514:TNS 监听程序当此问题解决的方法和详细的操作步骤如 ...
- ORA 12514 TNS listener does not currently know of service r
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 1,登录 ...
- linux下ora-12505,甲骨文临时ORA 12505错误后的Linux启动
我遇到与Oracle一个很奇怪的现象,也许有人可以帮助我,让我总结一下真正的快:甲骨文临时ORA 12505错误后的Linux启动 我的首选操作系统是Debian的Linux操作系统,我使用的是Ora ...
- plsql连接oracle报错12514,plsql 登录 oracle11 12514 错误的处理方法
每个人安装路径环境可能会存在不一样,仅供参考 12514: 存在路径不正确,下面是我的路径 ,其中 D:\hff\install\Oracle\ 是安装的路径,配置时 注意小括号的问题,下方红色部 ...
- sqlplus 远程连接 oracle 12514 错误
事情是这样的. 本屌的 oracle 11g装在了虚拟机(redhat 5.4)上. 实体机也是linux系统. 我在虚拟机上 用sqlplus / as sysdba 命令是正常登陆的. 实体机上用 ...
- java ora 00911_ORA-00911错误
ORA-00911,"911"看着很霸气的错误号,虽然我还是Oracle的初学者,但每次碰到一个未见过的ORA错误号后,都有一种查案的赶脚,根据错误号.OERR.相关错误信息,判断 ...
- 关于Oracle的ORA 12505错误 ORA-12505, TNS:listener does not currently know of SID given in connect descrip
报错是这样的:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor 一直用的好好的,突然 ...
- ORACLE11g ORA 12514 TNS 监听程序当前无法识别连接描述符中请求的服务
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 1.TN ...
最新文章
- 实验四 定位与导航算法
- Unity3D 单例模式
- Java知识点梳理——继承
- 每天自动给自己发天气预报的脚本
- javax.ws.rs.NotSupportedException: Cannot consume content type
- NOI数学:狄利克雷(Dirichlet)卷积
- invalid use of incomplete type 报
- sqlrowset 转化为json_Json 读取:eval 和 json.loads 的效率
- C++空类中的默认函数
- Java 多态的特性和概念
- tensorflow之读取jpg图像长和宽
- Linux基础软件威胁疑云:从已知到“未知”
- 采样频率和带宽的关系_示波器的采样率和存储深度在实际操作有什么用?
- C++ Interesting卡常数
- C++洛谷题解(24)——P1422
- 解读应聘阿里的注意事项
- 我们的征程是星辰大海
- Requests: 1, Fetched: 0, Skipped: 0, Processed: 0
- Bzoj3261/洛谷P4735 最大异或和(可持久化Trie)
- 该如何提升自己的编程能力?