oracle数据库安装和打补丁的一些坑

今天安装了一下oracle数据库,发现确实很麻烦而且经常出现错误。就稍微简单记录一下错误

centos7 oracle12.2.0.1自动安装脚本

https://github.com/keepwalking86/oracle12c

 

opatch没升级导致不能执行,opatch 版本下载及psu下载

https://blog.csdn.net/huoshuyinhua/article/details/52441505

 

OPatch报错 Prerequisite check "CheckActiveFilesAndExecutables" failed

https://blog.csdn.net/lichangzai/article/details/46505481

 

linux下启动、关闭oracle服务命令

lsnrctl start /stop /status

 

listener.ora监听失败

The listener supports no services

修改listener.ora 增加SID_LIST_LISTENER信息

https://blog.csdn.net/weixin_41975463/article/details/82859750

 

远程连接不上去找到这个解决问题

error: ora-01034:oracle not available ora-27101:shared memory realm does not exist

https://blog.csdn.net/zhanghai412/article/details/7947566

 

打补丁失败

Patch 29249637 apply (pdb CDB$ROOT): WITH ERRORS

logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/29249637/22802302/29249637_apply_ORCL_CDBROOT_20196? 15_11_03_18.log (errors)

 

解决办法 export NLS_LANG=American_America.US8PC437

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章