informix設定BAR_BSALIB_PATH引數不工作的解決辦法

tonykorn97發表於2009-03-27

設定配置檔案中的BAR_BSALIB_PATH引數:

On HP Tru64: /usr/opt/networker/lib/libxnmi.so.1
On Linux: /usr/lib/libxnmi.so
On other UNIX: /usr/lib/libxnmi.x.1

where x is:
– sl on HP-UX 64-Bit
– o on AIX
– so on all other UNIX systems

[@more@]

對於一些較老的資料庫伺服器設定BAR_BSALIB_PATH引數不工作。

出錯的資訊如下:
2009-03-26 05:29:22 7524 7522 /home/informix/bin/onbar_d -b -L 0
2009-03-26 05:29:22 7524 7522 (-43231) An unexpected error occurred: /home/informix/lib/ibsad001.so: cannot open shared object file: No such file or

directory .
2009-03-26 05:29:22 7524 7522 (-43257) Could not open XBSA library /home/informix/lib/ibsad001.so.
2009-03-26 05:29:22 7524 7522 /home/informix/bin/onbar_d complete, returning 133 (0x85)

解決辦法:

手動建立一個符號連結如下:


On HP Tru64:
ln -s /usr/opt/networker/lib/libxnmi.so.1 /usr/shlib/ibsad001.so

On 32-bit Informix:
ln -s /usr/lib32/libxnmi.so /usr/lib32/ibsad001.so

On 64-bit Informix:
ln -s /usr/lib64/libxnmi.so /usr/lib64/ibsad001.so

On Linux:
ln -s /usr/lib/libxnmi.so /usr/lib/ibsad001.so

On other UNIX:
ln -s /usr/lib/libxnmi.x.1 /usr/lib/ibsad001.x

where x is:
– -o on AIX.
– -sl on HP-UX 64-bit.
– -so on all other UNIX systems.

For more information, and the location of the XBSA shared library, refer to your
Informix Dynamic Server Release Notes.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-1019484/,如需轉載,請註明出處,否則將追究法律責任。

相關文章