Closed zyf7862634 closed 5 years ago
No particular reason comes to mind. That error may come from having multiple copies of the MQ client libraries installed, and confusion over what gets loaded via LD_LIBRARY_PATH settings. But it may need to be investigated via an MQ trace (use strmqtrc/endmqtrc/dspmqtrc).
Also look for any error logs (either under /var/mqm or $HOME/IBM/MQ).
No particular reason comes to mind. That error may come from having multiple copies of the MQ client libraries installed, and confusion over what gets loaded via LD_LIBRARY_PATH settings. But it may need to be investigated via an MQ trace (use strmqtrc/endmqtrc/dspmqtrc).
Also look for any error logs (either under /var/mqm or $HOME/IBM/MQ).
if don`t install mqclient pkg(deb/rpm) at my ubuntu64, only copy libmqm_r.so and libmqe_r.so, that go build cmd successful but run my application err: MQRC_ENVIRONMENT_ERROR, I want ask that i miss some env so get err?
Follow IBM ERROR: ~/IBM/MQ/data/errors/AMQ2262.0.FDC
+-----------------------------------------------------------------------------+ | IBM MQ First Failure Symptom Report | ========================================= | +-----------------------------------------------------------------------------+ | |||
---|---|---|---|---|---|---|
IBM MQ First Failure Symptom Report | ||||||
========================================= | ||||||
Date/Time :- Thu October 17 2019 11:56:25 UTC | ||||||
UTC Time :- 1571313385.511816 | ||||||
UTC Time Offset :- 0 (UTC) | ||||||
Host Name :- ubuntu-xenial | ||||||
Operating System :- Linux 4.4.0-164-generic | ||||||
PIDS :- 5724H7251 | ||||||
LVLS :- 9.1.3.0 | ||||||
Product Long Name :- IBM MQ for Linux (x86-64 platform) | ||||||
Vendor :- IBM | ||||||
O/S Registered :- 0 (libmqe_r.so) | ||||||
Data Path :- /home/ubuntu/IBM/MQ/data | ||||||
Installation Path :- /opt/gopath/src/github.com/peersafe/factoring/even | ||||||
tserver/mqm | ||||||
Installation Name :- MQNI09010300 (126) | ||||||
License Type :- Unknown | ||||||
Probe Id :- XC207013 | ||||||
Application Name :- MQM | ||||||
Component :- xxxInitialize | ||||||
SCCS Info :- /build/slot1/p910_P/src/lib/cs/amqxeida.c, | ||||||
Line Number :- 5925 | ||||||
Build Date :- Jun 28 2019 | ||||||
Build Level :- p913-L190628 | ||||||
Build Type :- IKAP - (Production) | ||||||
Effective UserID :- 1001 (ubuntu) | ||||||
Real UserID :- 1001 (ubuntu) | ||||||
Program Name :- eventserver | ||||||
Arguments :- | ||||||
Addressing mode :- 64-bit | ||||||
LANG :- en_US.UTF-8 | ||||||
Process :- 2262 | ||||||
Process(Thread) :- 2262 | ||||||
Thread :- 1 | ||||||
UserApp :- TRUE | ||||||
Last HQC :- 0.0.0-0 | ||||||
Last HSHMEMB :- 0.0.0-0 | ||||||
Last ObjectName :- | ||||||
Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC | ||||||
Minor Errorcode :- OK | ||||||
Probe Type :- MSGAMQ6119 | ||||||
Probe Severity :- 1 | ||||||
Probe Description :- AMQ6119S: Failed to open catalog for error message id | ||||||
0x40006119, inserts: 1082155270, 0, '1082155270 - Unknown error | ||||||
1082155270' from Open ccsid_part2.tbl., and . Issue "mqrc AMQ6119" on a | ||||||
different system for a description of the message. | ||||||
FDCSequenceNumber :- 0 | ||||||
Arith1 :- 1082155270 (0x40806106) | ||||||
Comment1 :- '1082155270 - Unknown error 1082155270' from Open | ||||||
ccsid_part2.tbl. | ||||||
+-----------------------------------------------------------------------------+
MQM Function Stack MQCONNX MQCONNX reqInitClientThread xcsInitialize xxxInitialize xcsFFST
MQM Trace History { xppInitialiseDestructorRegistrations } xppInitialiseDestructorRegistrations rc=OK { xcsGetEnvironmentInteger -{ xcsGetEnvironmentString -} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND } xcsGetEnvironmentInteger rc=xecE_E_ENV_VAR_NOT_FOUND { xcsGetEnvironmentInteger -{ xcsGetEnvironmentString -} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND } xcsGetEnvironmentInteger rc=xecE_E_ENV_VAR_NOT_FOUND { xcsGetEnvironmentInteger
If you've not got all of the libraries, it's not surprising you get an error. Runtime needs more than just the libraries used to compile against.
You need to either use the rpm/deb file for the MQ client, or get the Redist client package unzipped somewhere, similar to how it's done in the Dockerfile in the root of this repo.
If you've not got all of the libraries, it's not surprising you get an error. Runtime needs more than just the libraries used to compile against.
You need to either use the rpm/deb file for the MQ client, or get the Redist client package unzipped somewhere, similar to how it's done in the Dockerfile in the root of this repo.
thank you ! a moment ago correct this issue that i copy ccsid_part2.tbl and ccsid.tbl to /opt/mqm/samp
Please include the following information in your ticket.
run mq by docker: docker run - --env LICENSE=accept --env MQ_QMGR_NAME=QM1 --publish 1414:1414 --publish 9443:9443 --name mqm --detach ibmcom/mq:9.1.3.0
but the result: MQCONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_ENVIRONMENT_ERROR [2012] , when i run cmd './amqsconn QM1 "DEV.APP.SVRCONN" "127.0.0.2(1414)" ' at my vbox ubuntu16.04