ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Problem connecting to queue manager in MQ v7

Post new topic  Reply to topic
 Problem connecting to queue manager in MQ v7 « View previous topic :: View next topic » 
Author Message
bhandar_amit
PostPosted: Thu Sep 03, 2009 1:02 am    Post subject: Problem connecting to queue manager in MQ v7 Reply with quote

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.

Any help regarding this will be great.
Thanks.
Back to top
View user's profile Send private message
sumit
PostPosted: Thu Sep 03, 2009 2:30 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

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
Back to top
View user's profile Send private message Yahoo Messenger
bhandar_amit
PostPosted: Thu Sep 03, 2009 2:35 am    Post subject: Reply with quote

Novice

Joined: 30 Jul 2007
Posts: 15

[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
Back to top
View user's profile Send private message
sumit
PostPosted: Thu Sep 03, 2009 2:54 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Check if you have properly set LD_LIBPATH and LD_LIBPATH6.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
exerk
PostPosted: Thu Sep 03, 2009 3:09 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

bhandar_amit wrote:
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
semmns 5794 of 8192 semaphores (70%) IBM:16384 FAIL
semmnu 4092 undos IBM:16384 FAIL


System V Shared Memory
shmseg 512 sets IBM:1024 FAIL

Other Settings
maxfiles 2048 files IBM:10000 FAIL
maxfiles_lim 4096 files IBM:10000 FAIL


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.
Back to top
View user's profile Send private message
bhandar_amit
PostPosted: Thu Sep 03, 2009 3:26 am    Post subject: Reply with quote

Novice

Joined: 30 Jul 2007
Posts: 15

[quote="sumit"]Check if you have properly set LD_LIBPATH and LD_LIBPATH6.[/quote]

I set SHLIB_PATH properly and its working now.
Thank you all for your help.

Amit
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problem connecting to queue manager in MQ v7
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.