FW: C UDR
Posted in 2010
Topics: Logging & Checkpoints, Platform-Specific Issues
OSLEVEL: AIX 6.1.0.0 IDS: 11.50.FC5: I am having issues while loading the C-UDR function. I am not sure, is this because of the 64-bit environment or do I need to compile with AIX version of C compiler? I am not sure about this error message. I have the C source file for C UDR and compiled with GCC compiler and build the C-UDR. Unfortunately, the Informix server is not able to load this C-UDR in run time. --- 16:11:45 Loading Module </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> 16:11:45 (8): The C Language Module </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load reason: Could not load module /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. The module has an invalid magic number. 16:11:45 (-1): ERROR: Loading Module </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> 16:13:00 Loading Module </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> 16:13:00 (8): The C Language Module </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load reason: Could not load module /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. The module has an invalid magic number. 16:13:00 (-1): ERROR: Loading Module </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> 16:15:43 Checkpoint Completed: duration was 0 seconds. 16:15:43 Tue Oct 19 - loguniq 462, logpos 0x6b3018, timestamp: 0x517d021 Interval: 43739 ------ Thanks, ******************************************************************* Ernie Knox IT Database Administrator Specialist Sears Holdings - BU: I & T Group 3333 Beverly Rd., B4-266A Hoffman Estates, IL. 60179 Office: (847) 286-5735 Email: Ernest.Knox@searshc.com Blackberry: 2244650553@messaging.sprintpcs.com <mailto:2244650553@messaging.sprintpcs.com> Page via Skytel: 2244650553@sprint.skytel.com <mailto:2244650553@sprint.skytel.com> Informix or MySQL Primary: 9110210@skytel.com <mailto:9110210@skytel.com> Informix or MySQL Secondary: 7276872@skytel.com <mailto:7276872@skytel.com> " Yes we can make a Change! " " It's always a great day to watch Sports - GO LIONS, TIGERS, and BEARS! " " Lets not forget - GO Pistons and Red Wings! " GSU *******************************************************************
On Wed, Oct 20, 2010 at 12:58 AM, Knox, Ernest <Ernest.Knox@searshc.com>wrote: > OSLEVEL: AIX 6.1.0.0 IDS: 11.50.FC5: > > I am having issues while loading the C-UDR function. I am not sure, is > this because of the 64-bit environment or do I need to compile with AIX > version of C compiler? I am not sure about this error message. > > I have the C source file for C UDR and compiled with GCC compiler and > build the C-UDR. > > Unfortunately, the Informix server is not able to load this C-UDR in run > time. > > --- > > 16:11:45 Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:11:45 (8): The C Language Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load > > reason: Could not load module > /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. > > The module has an invalid magic number. > 16:11:45 (-1): ERROR: Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:13:00 Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:13:00 (8): The C Language Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load > > reason: Could not load module > /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. > > The module has an invalid magic number. > 16:13:00 (-1): ERROR: Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:15:43 Checkpoint Completed: duration was 0 seconds. > 16:15:43 Tue Oct 19 - loguniq 462, logpos 0x6b3018, timestamp: > 0x517d021 Interval: 43739 > How did you compile it. Did you build a dynamic loadable library? Or just an object code file? -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... --001636416f0d70a0800493012725
Yes created the object file and then dynamic library. Thanks, ******************************************************************* Ernie Knox IT Database Administrator Specialist Sears Holdings - BU: I & T Group 3333 Beverly Rd., B4-266A Hoffman Estates, IL. 60179 Office: (847) 286-5735 Email: Ernest.Knox@searshc.com Blackberry: 2244650553@messaging.sprintpcs.com Page via Skytel: 2244650553@sprint.skytel.com Informix or MySQL Primary: 9110210@skytel.com Informix or MySQL Secondary: 7276872@skytel.com " Yes we can make a Change! " " It's always a great day to watch Sports - GO LIONS, TIGERS, and BEARS! " " Lets not forget - GO Pistons and Red Wings! " GSU ******************************************************************* -----Original Message----- From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Fernando Nunes Sent: Tuesday, October 19, 2010 8:05 PM To: ids@iiug.org Subject: Re: FW: C UDR [21770] On Wed, Oct 20, 2010 at 12:58 AM, Knox, Ernest <Ernest.Knox@searshc.com>wrote: > OSLEVEL: AIX 6.1.0.0 IDS: 11.50.FC5: > > I am having issues while loading the C-UDR function. I am not sure, is > this because of the 64-bit environment or do I need to compile with AIX > version of C compiler? I am not sure about this error message. > > I have the C source file for C UDR and compiled with GCC compiler and > build the C-UDR. > > Unfortunately, the Informix server is not able to load this C-UDR in run > time. > > --- > > 16:11:45 Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:11:45 (8): The C Language Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load > > reason: Could not load module > /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. > > The module has an invalid magic number. > 16:11:45 (-1): ERROR: Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:13:00 Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:13:00 (8): The C Language Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load > > reason: Could not load module > /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. > > The module has an invalid magic number. > 16:13:00 (-1): ERROR: Loading Module > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > 16:15:43 Checkpoint Completed: duration was 0 seconds. > 16:15:43 Tue Oct 19 - loguniq 462, logpos 0x6b3018, timestamp: > 0x517d021 Interval: 43739 > How did you compile it. Did you build a dynamic loadable library? Or just an object code file? -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... --001636416f0d70a0800493012725 ************************************************************************ ******* Forum Note: Use "Reply" to post a response in the discussion forum.
Was it built as a 64bit object? Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Tue, Oct 19, 2010 at 9:22 PM, Knox, Ernest <Ernest.Knox@searshc.com>wrote: > Yes created the object file and then dynamic library. > > Thanks, > ******************************************************************* > Ernie Knox > IT Database Administrator Specialist > Sears Holdings - BU: I & T Group > 3333 Beverly Rd., B4-266A > Hoffman Estates, IL. 60179 > Office: (847) 286-5735 > Email: Ernest.Knox@searshc.com > Blackberry: 2244650553@messaging.sprintpcs.com > Page via Skytel: 2244650553@sprint.skytel.com > Informix or MySQL Primary: 9110210@skytel.com > Informix or MySQL Secondary: 7276872@skytel.com > > " Yes we can make a Change! " > " It's always a great day to watch Sports - GO LIONS, TIGERS, and BEARS! > " > " Lets not forget - GO Pistons and Red Wings! " > GSU > ******************************************************************* > > -----Original Message----- > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of > Fernando Nunes > Sent: Tuesday, October 19, 2010 8:05 PM > To: ids@iiug.org > Subject: Re: FW: C UDR [21770] > > On Wed, Oct 20, 2010 at 12:58 AM, Knox, Ernest > <Ernest.Knox@searshc.com>wrote: > > > OSLEVEL: AIX 6.1.0.0 IDS: 11.50.FC5: > > > > I am having issues while loading the C-UDR function. I am not sure, is > > > this because of the 64-bit environment or do I need to compile with > AIX > > version of C compiler? I am not sure about this error message. > > > > I have the C source file for C UDR and compiled with GCC compiler and > > build the C-UDR. > > > > Unfortunately, the Informix server is not able to load this C-UDR in > run > > time. > > > > --- > > > > 16:11:45 Loading Module > > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > > 16:11:45 (8): The C Language Module > > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load > > > > reason: Could not load module > > /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. > > > > The module has an invalid magic number. > > 16:11:45 (-1): ERROR: Loading Module > > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > > 16:13:00 Loading Module > > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > > 16:13:00 (8): The C Language Module > > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> can't load > > > > reason: Could not load module > > /dbengines/informix_11.50FC5/extend/po_iter/poiter.bld. > > > > The module has an invalid magic number. > > 16:13:00 (-1): ERROR: Loading Module > > </dbengines/informix_11.50FC5/extend/po_iter/poiter.bld> > > 16:15:43 Checkpoint Completed: duration was 0 seconds. > > 16:15:43 Tue Oct 19 - loguniq 462, logpos 0x6b3018, timestamp: > > 0x517d021 Interval: 43739 > > > > How did you compile it. Did you build a dynamic loadable library? Or > just an > object code file? > > -- > Fernando Nunes > Portugal > > http://informix-technology.blogspot.com > My email works... but I don't check it frequently... > > --001636416f0d70a0800493012725 > > ************************************************************************ > ******* > Forum Note: Use "Reply" to post a response in the discussion forum. > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --0016361649f720041904930324a8