From: j101 on
I am attempting to set up Q Capture on RH Linux (x86_64) using DB2 9 fp2, but
there seems to be a general problem loading a specify MQ shared library
"/opt/mqm/lib/libmqm_r.so". I have MQ v6 installed in the default directory
and working.

I can generate the similar errors in two ways (1) through the Replication
Center attempting to validate the Q objects and (2) after manually creating
the Q objects and running the asnqcap program.

Does anyone have any ideas on this subject. I have attempted to start the
capture program using the instance owner as well as the mqm MQ admin user and
get the same error for both.

Replication Center Error:
ASN2261E An operating system error occurred while executing the command ""
on the host "mpldbdev01.aln.experian.com" by the stored procedure "ASN.
ADMINIF" in database "BV2DDB1". The operating system error message is
"libmqm_r.so : Cannot load the specified librarylibmqm_r.so : Cannot load the
specified library".

QCAP Start command:
2007-04-25-19.12.53.173440 <setEnvDprRIB> ASN0600I "Q Capture" : "" :
"Initial" : Program "mqpub 9.1.0" is starting.
2007-04-25-19.12.53.190602 <asnqcap::verifyLicense> ASN0609W "Q Capture" :
"ASN" : "Initial" : A license for WebSphere Event Publisher was not found.
2007-04-25-19.12.55.194027 <asnParmClass::printParms> ASN0529I "Q Capture" :
"ASN" : "Initial" : The value of "CAPTURE_SERVER" was set to "BV2DDB1" at
startup by the following method: "COMMANDLINE".
2007-04-25-19.12.55.194088 <asnParmClass::printParms> ASN0529I "Q Capture" :
"ASN" : "Initial" : The value of "DEBUG" was set to "N" at startup by the
following method: "DEFAULT".
2007-04-25-19.12.55.194111 <asnParmClass::printParms> ASN0529I "Q Capture" :
"ASN" : "Initial" : The value of "CAPTURE_SCHEMA" was set to "ASN" at startup
by the following method: "DEFAULT".
2007-04-25-19.12.55.194133 <asnParmClass::printParms> ASN0529I "Q Capture" :
"ASN" : "Initial" : The value of "LOGREUSE" was set to "N" at startup by the
following method: "PARAMETERS TABLE".
<...>
2007-04-25-19.12.55.194694 <asnParmClass::printParms> ASN0529I "Q Capture" :
"ASN" : "Initial" : The value of "MONITOR_LIMIT" was set to "10080" at
startup by the following method: "PARAMETERS TABLE".
2007-04-25-19.12.55.194979 <Asnenv:setEnvIpcQRcvHdl> ASN0594I "Q Capture" :
"ASN" : "Initial" The program created an IPC queue with keys "(0x3003000d,
0x3103000d, 0x3203000d)".
2007-04-25-19.12.55.201616 <ASNMQLOD:MQCONN> ASN0584E "Q Capture" : "ASN" :
"AdminThread" : An error occurred while the program was dynamically loading
the WebSphere MQ library "libmqm_r.so". Error code: "0x90000076", "Cannot
load the specified library". Environment variable ASNUSEMQCLIENT is set to "".

2007-04-25-19.12.55.201872 <ASNMQLOD:MQCONN> ASN0575E "Q Capture" : "ASN" :
"AdminThread" : The program encountered a WebSphere MQ error "2195" while
issuing the WebSphere MQ command "MQCONN" on queue "*".
2007-04-25-19.12.55.201872 <ASNMQLOD:MQCONN> ASN8999D "Q Capture" : "ASN" :
"AdminThread" : MQ library/dll is not found (or) MQ function address is NULL
2007-04-25-19.12.55.201993 <AdminQHandler::connectToMQ> ASN0575E "Q Capture"
: "ASN" : "AdminThread" : The program encountered a WebSphere MQ error "2195"
while issuing the WebSphere MQ command "MQCONN" on queue "*".
2007-04-25-19.12.55.203303 <ASNMQLOD:MQCONN> ASN0584E "Q Capture" : "ASN" :
"WorkerThread" : An error occurred while the program was dynamically loading
the WebSphere MQ library "libmqm_r.so". Error code: "0x90000076", "Cannot
load the specified library". Environment variable ASNUSEMQCLIENT is set to "".

2007-04-25-19.12.55.203413 <ASNMQLOD:MQCONN> ASN0575E "Q Capture" : "ASN" :
"WorkerThread" : The program encountered a WebSphere MQ error "2195" while
issuing the WebSphere MQ command "MQCONN" on queue "*".
2007-04-25-19.12.55.203413 <ASNMQLOD:MQCONN> ASN8999D "Q Capture" : "ASN" :
"WorkerThread" : MQ library/dll is not found (or) MQ function address is NULL
2007-04-25-19.12.55.203483 <qConnMgr::qConnMgr> ASN0575E "Q Capture" : "ASN"
: "WorkerThread" : The program encountered a WebSphere MQ error "2195" while
issuing the WebSphere MQ command "MQCONN" on queue "*".
2007-04-25-19.12.55.203550 <createQConnMgr> ASN0589I "Q Capture" : "ASN" :
"WorkerThread" The program received an unexpected return code "501" from
routine "qConnMgr::qConnMgr".
2007-04-25-19.12.55.203576 <asnqwk> ASN0589I "Q Capture" : "ASN" :
"WorkerThread" The program received an unexpected return code "501" from
routine "createQConnMgr".
2007-04-25-19.12.55.203646 <asnqwk> ASN7109I "Q Capture" : "ASN" :
"WorkerThread" : At program termination, the highest log sequence number of a
successfully processed transaction is "0000:0000:0000:0000:0000" and the
lowest log sequence number of a transaction still to be committed is "0000:
0000:0000:0000:0000".
2007-04-25-19.12.57.198959 <asnThread::stop> ASN0590I "Q Capture" : "ASN" :
"Initial" The thread "Initial" received return code "501" from the exiting
thread "AdminThread".
2007-04-25-19.12.57.199021 <asnThread::stop> ASN0590I "Q Capture" : "ASN" :
"Initial" The thread "Initial" received return code "501" from the exiting
thread "WorkerThread".
2007-04-25-19.12.59.201855 <asnThread::stop> ASN0590I "Q Capture" : "ASN" :
"Initial" The thread "Initial" received return code "2011" from the exiting
thread "PruneThread".
2007-04-25-19.12.59.202517 <Asnenv:delEnvIpcQRcvHdl> ASN0595I "Q Capture" :
"ASN" : "Initial" The program removed an IPC queue with keys "(0x3003000d,
0x3103000d, 0x3203000d)".
2007-04-25-19.12.59.202546 <asnThread::stop> ASN0590I "Q Capture" : "ASN" :
"Initial" The thread "Initial" received return code "0" from the exiting
thread "HoldLThread".
2007-04-25-19.12.59.202587 <erWhatSignal> ASN0591I "Q Capture" : "ASN" :
"HoldLThread" The thread "HoldLThread" received "Handled" signal "SIGUSR2".
2007-04-25-19.13.00.205706 <asnqcap::main> ASN0573I "Q Capture" : "ASN" :
"Initial" : The program was stopped.
$