winder

          DB&JAVA
          posts - 2, comments - 6, trackbacks - 0, articles - 11
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
          環境:AIX 5305 64bit;oracle 10g(64bit);oracle BIEE 10;錯誤信息如下
          [NQODBC] [SQL_STATE: HY000] [nQSError: 10058
          A general error has occurred. 
          0509-022 Cannot load module /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so. 
          0509-150 Dependent module libclntsh.a(shr.o) could not be loaded. 
          0509-022 Cannot load module libclntsh.a(shr.o). 
          0509-026 System error: A file or directory in the path name does not exist. 
          0509-022 Cannot load module /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so.
           
          0509-150 Dependent module /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so could not be loaded. 
           [nQSError: 
          46029] Failed to load the DLL /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so. 
           Check 
          if 'Oracle OCI 10G' database client is installed. (HY000)
          在user.sh中設置了ORACLE_HOME LIBPATH TNS_ADMIN等參數后,報如下錯誤
          1 [NQODBC] [SQL_STATE: HY000] 
          2 [nQSError: 10058] A general error has occurred. 
          3 0509-022 Cannot load module /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so.
          4 0509-150 Dependent module /oracle/app/product/10.2.0.1/lib/libclntsh.a(shr.o) could not be loaded.
          5 0509-103 The module has an invalid magic number. 
          6 0509-022 Cannot load module /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so. 
          7 0509-150 Dependent module /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so could not be loaded. 
          8 [nQSError: 46029] Failed to load the DLL /oracle/OracleBI/server/Bin/libnqsdbgatewayoci10g.so. 
          9 Check if 'Oracle OCI 10G' database client is installed. (HY000)
          再次在user.sh中修改LIPATH ,指向 ORACLE_HOME/lib32 仍然訪問的是/oracle/app/product/10.2.0.1/lib/libclntsh.a,不是lib32下的。無論怎么修改,總是如此。最后迫不得已,使用lib32 替換了lib,結果報tnsname錯誤,其他應用也不能連接數據庫。接著使用start64參數啟動BIEE到64bit模式,也如此。最后的解決辦法是,使用lib32目錄下的libclntsh.a文件,替換了lib下的libclntsh.a文件,替換后測試BIEE、Oracle DB、其他應用,一切正常。至此解決。
          通過這個解決辦法,認為本錯誤主要是64bit和32bit的兼容問題。
          主站蜘蛛池模板: 万年县| 林周县| 辽宁省| 和平县| 株洲市| 米泉市| 田阳县| 综艺| 永丰县| 南郑县| 葵青区| 云霄县| 宁津县| 贵溪市| 泉州市| 阳信县| 罗源县| 合江县| 巴东县| 凤山县| 肥东县| 偃师市| 泰顺县| 托克托县| 霞浦县| 江都市| 天气| 新田县| 察哈| 望谟县| 辽中县| 博野县| 三穗县| 福建省| 揭东县| 隆德县| 河东区| 徐闻县| 桂平市| 贵南县| 泰宁县|