Hi Doug,
In Linux, setting "export LD_DEBUG=files" would send this dynmaic linker debugging output to standard error of the next processes that invoke the dynamic linker (i.e. ld.so).
For example, if I wanted to run the amqsput command and get this debugging output sent to STDERR which is redirected to a file amqsput.out, you could do something like the following:
***@linuta3$ export LD_DEBUG=files
***@linuta3$ amqsput TCZ.TEST1 2>amqsput.out
Sample AMQSPUT0 start
target queue is TCZ.TEST1
test1
Sample AMQSPUT0 end
***@linuta3$ cat amqsput.out
9874:
9874: file=libc.so.6 [0]; needed by cat [0]
9874: file=libc.so.6 [0]; generating link map
9874: dynamic: 0x00002b2ed105bb60 base: 0x00002b2ed0d04000 size: 0x000000000035d868
9874: entry: 0x00002b2ed0d22ce0 phdr: 0x00002b2ed0d04040 phnum: 10
9874:
(There is much more output to the amqsput.out file, but I left it off.)
I am not sure how this exit routine is being invoked. I do not recognize the qpmon process name as being part of a queue manager process. So not sure if this is a separate application or part of a queue manager. If you can provide more details on how this is being invoked, I could provide more suggestions. Or better yet, someone on this list who better understands this exit utility you are using could chime in.
Thanks,
Tim
From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of Doug - Gmail
Sent: Thursday, June 13, 2013 10:04 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Issue with an exit routine not loading correctly.
Just curious if I set this variable - where do I find the output?
From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of Tim Zielke
Sent: Thursday, June 13, 2013 3:24 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Issue with an exit routine not loading correctly.
Hi Doug,
If it is not a 32-bit/64-bit, you may want to try a suggestion I found on this web site -> http://fixunix.com/aix/85460-ld_debug-fox-aix.html.
It is saying that "export SINIT_DBG=1" is similar to LD_DEBUG for Linux, which may give you more diagnostic information on why the dynamic loader is failing to load your exit.
Thanks,
Tim
From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of Roger Lacroix
Sent: Thursday, June 13, 2013 2:55 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org<mailto:MQSERIES-0lvw86wZMd9k/***@public.gmane.orgAC.AT>
Subject: Re: Issue with an exit routine not loading correctly.
Hi Doug,
> The vendor supporting the product is not being very helpful.
There is no vendor for MirrorQ - it was IBM employee who wrote it as a sample API exit and was never intended to be a product that IBM supported.
It could be that you are trying to use a 32-bit build of the shared library but require a 64-bit build of the shared library.
Regards,
Roger Lacroix
Capitalware Inc.
At 02:29 PM 6/13/2013, you wrote:
Need some help figuring out how I can get this exit utility resolved; The vendor supporting the product is not being very helpful.
06/13/13 12:59:46 - Process(15663302.1) User(mqm) Program(qpmon)
Host(twausxmqmapp04)
AMQ6175: The system could not dynamically load the shared library
'/var/mqm/exits64/mirrorq'. The system returned error number '8' and error
message ' 0509-022 Cannot load module /var/mqm/exits64/mirrorq.
0509-026
System error: Cannot run a file that does not have a valid format.'.
EXPLANATION:
This message applies to AIX systems. The shared library
'/var/mqm/exits64/mirrorq' 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
________________________________
List Archive<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your List Settings<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> - Unsubscribe<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com<http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your List Settings<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> - Unsubscribe<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com<http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your List Settings<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> - Unsubscribe<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com<http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your List Settings<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> - Unsubscribe<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com<http://www.lsoft.com/resources/manuals.asp>
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html