Posted: Thu Sep 03, 2009 1:02 am Post subject: Problem connecting to queue manager in MQ v7
Novice
Joined: 30 Jul 2007 Posts: 15
hi,
i am trying to connect to a local queue manager using a C application which is built using MQ v7 client lib64 libraries.
The MQSERVER is set properly. But the application is not able to connect to the queue manager returning reason code 2059 and text MQRC_Q_MGR_NOT_AVAILABLE.
The listener is running on localhost on port specified in MQSERVER.
The LOG file contains following (and there is no FDC file)-
----- amqcliba.c : 568 --------------------------------------------------------
09/03/09 17:41:21 - Process(18508.2) User(ceal_601) Program(mqcea)
AMQ6175: The system could not dynamically load the shared library
'/opt/mqm/lib64/amqcctca_r'. The system returned error message 'Unsatisfied
data symbol '__xihThreadAddress' in load module '/opt/mqm/lib64/amqcctca_r'.'.
The queue manager will continue without this module.
EXPLANATION:
This message applies to UNIX systems. The shared library
'/opt/mqm/lib64/amqcctca_r' 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 : 1158 -------------------------------------------------------
09/03/09 17:41:21 - Process(18508.2) User(ceal_601) Program(mqcea)
AMQ9220: The TCP/IP communications program could not be loaded.
EXPLANATION:
The attempt to load the TCP/IP library or procedure 'amqcctca_r' failed with
error code 536895861.
ACTION:
Either the library must be installed on the system or the environment changed
to allow the program to locate it.
----- amqcliba.c : 568 --------------------------------------------------------
I have recently upgraded from MQ v6 to MQ v7.
Unix system is - HP-UX B.11.23 U ia64.
I hope you have compiled your C program for 64 bit. What are the permissions setup for /opt/mqm/lib64. Also check server environment varaibles if they are set properly. _________________ Regards
Sumit
[quote="sumit"]I hope you have compiled your C program for 64 bit. What are the permissions setup for /opt/mqm/lib64. Also check server environment varaibles if they are set properly.[/quote]
Yes the C program is compiled using 64 bit libs.
Permissions set on /opt/mqm/lib64 are -
/opt/mqm/lib64 > ls -l amqcctca_r
-r-xr-xr-x 1 mqm mqm 672144 Jun 14 2008 amqcctca_r
Also o/p of mqconfig is -
./mqconfig -v 7.0
mqconfig: Analyzing HP-UX B.11.23 (Itanium) settings for WebSphere MQ 7.0
System V Semaphores
semmni 139 of 4096 sets (3%) IBM:1024 OK
semmns 5794 of 8192 semaphores (70%) IBM:16384 FAIL
semmsl 2048 semaphores IBM:100 OK
semmnu 4092 undos IBM:16384 FAIL
semume 512 undos IBM:256 OK
semaem 16384 units IBM:16384 OK
semvmx 32767 units IBM:32767 OK
System V Shared Memory
shmmni 299 of 4096 sets (7%) IBM:1024 OK
shmmax 2147483648 bytes IBM:536870912 OK
shmseg 512 sets IBM:1024 FAIL
Other Settings
maxuprc 3687 processes IBM:1024 OK
max_thread_proc 2048 threads IBM:66 OK
maxdsiz 1073741824 bytes IBM:1073741824 OK
maxdsiz_64bit 8589934592 bytes IBM:1073741824 OK
maxssiz 134217728 bytes IBM:8388608 OK
maxssiz_64bit 1073741824 bytes IBM:8388608 OK
maxfiles 2048 files IBM:10000 FAIL
maxfiles_lim 4096 files IBM:10000 FAIL
nfile 65536 files IBM:10000 OK
And you have done what to address these failures? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
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