Description:
RC(2012) on UNIX - Local Agent unable to open Queue Manager
PROBLEM:
When user starts Local Agent (nsqmq process), the following error is received:
Unable to open Queue Manager: RC(2012)
Solution:
ldd nsqmq
If you get ldd /opt/nastel/apwmq/bin/nsqmq
libnsqapi.so => /opt/nastel/apwmq/lib/libnsqapi.so
libnsqclnx.so => /opt/nastel/apwmq/lib /libnsqclnx.so
libnsqsign.so => /opt/nastel/apwmq/lib /libnsqsign.so
libnsqauth.so =>/opt/nastel/apwmq/lib libnsqauth.so
libnsqmqtx.so => /opt/nastel/apwmq/lib /libnsqmqtx.so
libmqm.so => (file not found) <== but not found here; this indicates /usr/lib/*mqm* links are missing
libmqmcs.so => (file not found)
libmqmzse.so => (file not found) Please first verify that IBM links in /usr/lib are missing:
ls -l /usr/lib/*mqm*
If the links missing, then there 2 ways to satisfy the unresolved libraries: