Printer FriendlyEmail Article Link

Informix: What does error "0509-022 Cannot load module" and "0509-103 The module has an invalid magic number" indicate in the Informix Online log?

Environment/Versions

STCLive PM

STCLive T&D

Informix

Unix

Answer

This error happens when there is a 32bit / 64bit mismatch between the module/program that is attempting to run and Informix I-Connect. 

See FAQ14216 for information to determine if the module is 32bit or 64 bit.

There are two ways to determine the version of Informix Connect:

  • cat $INFORMIXDIR/VERSION.InformixConnect

This is a 32bit version of Informix Connect:

=> cat $INFORMIXDIR/VERSION.InformixConnect
# project (COTS-RT-InformixConnect)
# branch main
# version (date 2012-06-26 16:14:54-00)
# id (3.70.UC4-32BIT-CM1.1)
# release (3.70.UC4)
# machine (caliban)

  •  cat $INFORMIXDIR/etc/Connect-cr

=> cat Connect-cr
IBM/Informix-Connect Version 3.70.UC4X2
Copyright (C) 1984-2012 IBM

The Identifier U = 32 bit.  If this was a 64 bit installation it would be F.

The U, F identifier applies to all $INFORMIXDIR/etc/*cr files.


Product : VW Controller PM Classic,VW Controller T&D Classic,UNIX,Informix