執行exec dbms_logmnr_d.build('Logminer.ora','file directory'),提示下標超界
完整錯誤資訊如下,
SQL> exec dbms_logmnr_d.build('Logminer.ora','file directory')
BEGIN dbms_logmnr_d.build('Logminer.ora','file directory'); END;
*
ERROR 位於第 1 行:
ORA-06532: 下標超出限制
ORA-06512: 在"SYS.DBMS_LOGMNR_D", line 793
ORA-06512: 在line 1
解決辦法為:
1.編輯位於"$ORACLE_HOME/rdbms/admin"目錄下的檔案"dbmslmd.sql"
改變行:
TYPE col_desc_array IS VARRAY(513) OF col_description;
為
TYPE col_desc_array IS VARRAY(700) OF col_description;
並儲存檔案
2. 執行改變後的指令碼
SQLPLUS> Conn system/password
SQLPLUS> @$ORACLE_HOME/rdbms/admin/dbmslmd.sql
3.重新編譯該包
SQLPLUS> alter package DBMS_LOGMNR_D compile body;
此文轉自:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-662204/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- mha_replication_check Can't exec "mysqlbinlog": No such file or directoryMySql
- 在 Linux 中執行.sh 指令碼 No such file or directoryLinux指令碼
- 自定義容器啟動指令碼報錯:exec user process caused "no such file or directory"指令碼
- Oracle ASM File DirectoryOracleASM
- ndk編譯C++,提示找不到標頭檔案(ndk-build error string No such file or directory)編譯C++UIError
- Linux中編譯或安裝程式時提示No such file or directoryLinux編譯
- (轉)執行指令碼出現bin/bash: bad interpreter: No such file or directory指令碼
- python unix :No such file or directoryPython
- mac下/usr/local/bin No such file or directory問題解決Mac
- centos7.6 容器執行報錯 /etc/rc.d/init.d/functions: No such file or directoryCentOSFunction
- docker容器掛載 No such file or directoryDocker
- Docker命令-docker exec-在執行的容器中執行命令Docker
- Ubuntu下 fatal error: Python.h: No such file or directory 解決方法UbuntuErrorPython
- gitbook no such file or directory 怎麼解決Git
- linux輸入yum後提示: -bash: /usr/bin/yum: No such file or directory的解決方案Linux
- RMAN 提示符下執行SQL語句SQL
- Runtime.exec執行dos命令不正確
- fatal error: openssl/sha.h: No such file or directoryError
- fatal error: sys/cdefs.h: No such file or directoryError
- yum-GPG key retrieval failed: No such file or directoryAI
- Using Create directory & UTL_FILE in OracleOracle
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- EJB裡使用了file io,執行正常,但是沒有執行file io操作???
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- fatal error: libmemcached/memcached.h: No such file or directoryErrorIBM
- python函式每日一講 - exec執行函式Python函式
- php exec 執行java命令時無任何返回值PHPJava
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- Oracle中執行儲存過程call和exec區別Oracle儲存過程
- 高德地圖使用cocoapods No such file or directory錯誤地圖
- windows多執行緒同步--臨界區Windows執行緒
- 記錄 libldap-2.4.so.2: cannot open shared object file: No such file or directoryLDAObject
- 問題1.libXp.so.6: cannot open shared object file: No such file or directoryObject