ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » amqsaxe0 exit load error

Post new topic  Reply to topic
 amqsaxe0 exit load error « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Thu Sep 13, 2012 11:43 am    Post subject: amqsaxe0 exit load error Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

I modified the API Exit program in SAMPS. I did this a long time ago. Like v6. I have compile the source on a v7.0.1.0 QMGR on SPARC using the 32 & 64 bit compile commands from the Programmers Guide for UNIX SOLARIS SPARC and place the modules in /var/mqm/exits & exits64. I do not have any LD path env's set and LDD shows the modules pointing to the correct libraries. The modules are owned by mqm:mqm and are rwx across ugo. I have searched and checked all things my GOOGLE search has come up with. Any suggestions? This module worked on a v6 AIX and a v7 on WINDOWS QMGR about a year ago. I am trying to install it at another client. Here is the AMQERR01.LOG message.

64 bit server exit compile
cc -m64 -mt -G -KPIC -o amqsaxe0 amqsaxe0.c -I/opt/mqm/inc -L/opt/mqm/lib64 -R/opt/mqm/lib64 -R/usr/lib/64 -lmqm -lmqmcs -lmqmzse -lsocket -lnsl -ldl -lmqmcs -lmqmzse -lsocket -lnsl -ldl


32 bit server exit compile
cc -m32 -mt -G -KPIC -o amqsaxe0 amqsaxe0.c -I/opt/mqm/inc -L/opt/mqm/lib -R/opt/mqm/lib -R/usr/lib/32 -lmqm -lmqmcs -lmqmzse -lsocket -lnsl -ldl

ApiExitLocal:
Sequence=100
Function=EntryPoint
Module=amqsaxe0
Name=SampleApiExit



-------------------------------------------------------------------------------
09/13/12 14:09:12 - Process(8478.1) User(mqm) Program(amqzmuc0)
Host(udevtam2)
AMQ5041: The Queue Manager task 'LOGGER-IO' has ended.

EXPLANATION:
The Queue Manager task LOGGER-IO has ended.
ACTION:
None.
-------------------------------------------------------------------------------
09/13/12 14:09:12 - Process(8476.1) User(mqm) Program(amqzxma0_nd)
Host(udevtam2)
AMQ8004: WebSphere MQ queue manager 'tim' ended.

EXPLANATION:
WebSphere MQ queue manager 'tim' ended.
ACTION:
None.
-------------------------------------------------------------------------------
09/13/12 14:09:40 - Process(8512.1) User(mqm) Program(amqzxma0_nd)
Host(udevtam2)
AMQ6175: The system could not dynamically load the shared library
'/var/mqm/exits64/amqsaxe0'. The system returned error message 'ld.so.1:
amqzxma0_nd: fatal: relocation error: file /var/mqm/exits64/amqsaxe0: symbol
MQXEP: referenced symbol not found'. The queue manager will continue without
this module.

EXPLANATION:
This message applies to UNIX systems. The shared library
'/var/mqm/exits64/amqsaxe0' failed to load correctly due to a problem with the
library.
ACTION:
Check the file access permissions and that the file has not been corrupted.
----- amqxufnx.c : 1170 -------------------------------------------------------
09/13/12 14:09:40 - Process(8512.1) User(mqm) Program(amqzxma0_nd)
Host(udevtam2)
AMQ7214: The module for API Exit 'SampleApiExit' could not be loaded.

EXPLANATION:
The module 'amqsaxe0' for API Exit 'SampleApiExit' could not be loaded for
reason xecU_S_LOAD_FAILED.
ACTION:
Correct the problem with the API Exit module 'SampleApiExit'.
----- amqzxmpa.c : 420 --------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail AIM Address
bobbee
PostPosted: Thu Sep 13, 2012 1:42 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

found the issue, was compile lib parms, added the -lmqmzf. This compile command came righ out of the Application Programers Guide.

64 bit server exit compile
cc -m64 -mt -G -KPIC -o /var/mqm/exits64/amqsaxe0 amqsaxe0.c -I/opt/mqm/inc -L/opt/mqm/lib64 -R/opt/mqm/lib64 -R/usr/lib/64 -lmqm -lmqmcs -lmqmzse -lmqmzf -lsocket -lnsl -ldl -lmqmcs -lmqmzse -lsocket -lnsl -ldl

32 bit server exit compile
cc -m32 -mt -G -KPIC -o /var/mqm/exits/amqsaxe0 amqsaxe0.c -I/opt/mqm/inc -L/opt/mqm/lib -R/opt/mqm/lib -R/usr/lib/32 -lmqm -lmqmcs -lmqmzse -lmqmzf -lsocket -lnsl -ldl
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » amqsaxe0 exit load error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.