執行sqlplus遭遇Segmentation Fault
因為要升級硬體, 需要重新安裝一臺Oracle 9.2.0.8 的資料庫, 一直都是使用10g, 11g, 好久都沒有在Linux 4.5 下安裝Oracle 9i 的軟體, 雖然按照文件來做, 還是碰到了不少的問題, 最後碰到的就是下面的這個問題 , 在oracle_home 下bin 目錄下檢視居然沒有 sqlplus 執行檔案, 當然執行 sqlplus 命令也是報錯 Segmentation Fault , 網路上搜尋了一下, 解決方法倒是蠻簡單 .
Segmentation Fault When Execute Sqlplus, Oracle, Lsnrctl After New/Patchset Install [ID 316746.1]
修改時間 24-JUL-2010 型別 PROBLEM 狀態 MODERATED
In this Document
Platforms: 1-914CU;
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
Applies to:
Oracle Server - Standard Edition - Version: 9.2.0.1 to 10.1.0.2 - Release: 9.2 to 10.1
Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.1.0.2 [Release: 9.2 to 10.1]
Linux x86
Linux x86-64
Checked for relevance on 24-Jul-2010
Symptoms
After fresh install and latest patchset 9.2.0.6.0 on Linux x86_64 every attempt to use sqlplus, lsnrctl fails with an segmentation fault.
Changes
New install or patchset apply.
Cause
The gcc/g++ compilers in /usr/bin are a script. (with additional parameters)
which caused an incorrect compilation.
make.log shows this incorrect compilation:
/tpp/oracle/920/bin/genclntsh
/usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when
searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when
searching for -lgcc
/usr/bin/ld: warning: i386 architecture of input file
`/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbeginS.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtendS.o' is incompatible with i386:x86-64 output.
Solution
To implement the solution, please execute the following steps:
1. cd /usr/bin (as root)
2. mv gcc gcc.script
3. mv g++ g++.script
4. ln -s gcc32 gcc
5. ln -s g++32 g++
6. login as oracle software owner (make sure environment is correct)
7. cd $ORACLE_HOME/bin
8. relink all
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-711862/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Oracle】安裝完oracle 9i,執行sqlplus 遇到Segmentation FaultOracleSQLSegmentation
- mysql執行命令報segmentation fault 錯誤MySqlSegmentation
- 10203 Rman執行delete obsolete報錯Segmentation faultdeleteSegmentation
- tacmd[203] no segmentation fault(coredump)ACMSegmentation
- Segmentation fault (coredump)的解決Segmentation
- 安裝oracleRAC遇到的執行rootconfig: line 815: 10338 Segmentation faultOracleSegmentation
- sqplus 的 segmentation fault錯誤及解決!Segmentation
- netca 啟動時報錯(Segmentation fault(coredump))Segmentation
- pytorch 程式碼出現 ‘segmentation fault (core dump)’ 問題PyTorchSegmentation
- 當import matplotlib.pyplot as ply 出現Segmentation fault (core dumped)ImportSegmentation
- 新搭建的mysql登陸報錯mysql Segmentation fault (core dumped)MySqlSegmentation
- SQLLDR利用EXPRESSION生成LOGFILE的檔名導致SEGMENTATION FAULTSQLExpressSegmentation
- 從程式棧記憶體底層原理到Segmentation fault報錯記憶體Segmentation
- 什麼是Segmentation fault(Core Dump)? + 我遇到的例項問題Segmentation
- 【分散式Tensorflow(0.11.0)問題 未解決】Segmentation fault (core dumped)分散式Segmentation
- SQLPLUS執行輸出SQL
- Dev 日誌 | 一次 Segmentation Fault 和 GCC Illegal Instruction 編譯問題排查devSegmentationGCStruct編譯
- linux 下root執行sqlplusLinuxSQL
- ubuntu7下軟體執行出現segment fault錯誤Ubuntu
- sqlplus執行sql檔案報錯SQL
- oracle sqlplus windows下已停止執行OracleSQLWindows
- 限制SQLPLUS工具可執行的命令SQL
- Oracle9i IMP 含LOB Table時候出現Segmentation fault, Bug:3091499OracleSegmentation
- 在sqlplus執行作業系統命令SQL作業系統
- HP-UX執行Oracle相關命令報錯Memory fault(coredump)分析處理UXOracle
- 使用sqlplus批量執行指令碼的總結SQL指令碼
- SQLPLUS檢視oracle sql執行計劃命令SQLOracle
- win10執行gta5提示unrecoverable fault - please restart the game怎麼解決Win10RESTGAM
- win10系統執行GTA5提示Unrecoverable Fault錯誤如何解決Win10
- Linux下Oracle sqlplus命令中執行ed命令LinuxOracleSQL
- 在新克隆的VM上SQLPLUS不能正常執行SQL
- sqlplus註釋導致語句重複執行SQL
- sqlplus執行指令碼時遇到錯誤自動停止SQL指令碼
- sqlplus動態生成linux shell指令碼並執行SQLLinux指令碼
- sqlplus小竅門:執行作業系統命令(zt)SQL作業系統
- LINUX下非oracle使用者執行sqlplus問題LinuxOracleSQL
- 10.2.0.1版本上sqlplus命令不能執行的問題解決SQL
- sqlplus 執行大量sql指令碼時遇到問題分析(很常見)SQL指令碼