日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

oracle 01304,关于ORA-01034和ORA-27101的解决方法

發布時間:2024/7/23 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle 01304,关于ORA-01034和ORA-27101的解决方法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

[oracle@localhost admin]$ oerr ora 01304

01304, 00000, “subordinate process error. Check alert and trace logs”

// *Cause: A process subordinate to this Logminer process has exited with an

// error condition.

// *Action: Look in the alert log and trace files for additional information.

[oracle@localhost admin]$ oerr ora 27101

27101, 00000, “shared memory realm does not exist”

// *Cause: Unable to locate shared memory realm

// *Action: Verify that the realm is accessible

錯誤解釋:不能找到共享區內存

針對Linux環境

原因:

1. 數據庫實例沒有啟動,檢查數據庫實例運行狀態。

2. 數據庫實例不匹配

環境變量中的ORACLE_SID和啟動后實例是否一致,包括大小寫是否一致?

SQL> startup

ORACLE instance started.

Total System Global Area 717225984 bytes

Fixed Size 2928536 bytes

Variable Size 297795688 bytes

Database Buffers 411041792 bytes

Redo Buffers 5459968 bytes

Database mounted.

Database opened.

SQL> select status, instance_name from v$instance;

STATUS INSTANCE_NAME

OPEN orcl

[oracle@localhost dbs] echo $ORACLE_SID

orcl

以上情況是一樣的。

本地遠程連接配置如下與數據庫環境Database Service是否一致?

本地配置:

ORCLDB =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.230.129)(PORT = 1521))

)

(CONNECT_DATA =

(SERVICE_NAME = orcl)

)

)

數據庫環境Database Service :

查看監聽狀態:

[oracle@localhost bin]$ lsnrctl status

LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 19-APR-2016 15:27:30

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.230.129)(PORT=1521)))

STATUS of the LISTENER

Alias LISTENER

Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production

Start Date 19-APR-2016 15:20:01

Uptime 0 days 0 hr. 7 min. 28 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /u01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml

Listening Endpoints Summary…

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.230.129)(PORT=1521)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

Services Summary…

Service “ORCL” has 1 instance(s).

Instance “ORCL“, status UNKNOWN, has 1 handler(s) for this service…

The command completed successfully

此處不相符!!!在netmgr中 修改為一致,并重啟監聽服務即可!!

總結

以上是生活随笔為你收集整理的oracle 01304,关于ORA-01034和ORA-27101的解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。