Incorrectly linked Informix ON-BAR libraries can cause backup failures similar to the following:
bar_act.log will show errors similar to the following, confirming that this problem is because ON-Bar is attempting to use a 32bit library which is not possible for 64bit servers:
2014-07-01 15:16:05 24286 24284 (-43231) An unexpected error occurred: /opt/IBM/informix/ids/11.70/lib/ibsad001.so: wrong ELF class: ELFCLASS32 .
Certain conditions can cause NetVault's to incorrectly link the 64bit libraries required for ON-Bar. For example, here the required ibsad001_64.so is missing:
The first step is to set up a link to the 64bit library. In the above example, this is accomplished by running this command:
`ln -s /usr/netvault/lib/msmdll64.so /opt/IBM/informix/ids/11.70/lib/ibsad001_64.so`
Next, make sure that the BAR_BSALIB_PATH in the server's onconfig file is set to this 64bit library, in this example /opt/IBM/informix/ids/11.70/lib/ibsad001_64.so