Author |
Message
|
dandapani |
Posted: Tue Mar 07, 2006 3:56 pm Post subject: MQ 6 Install & Configure -- Strange Problem |
|
|
Newbie
Joined: 07 Mar 2006 Posts: 4
|
Hi,
I have intalled MQ 6.0 on AIX 5.2 ML4. While I configure the same I find a strage problem. When I created the the queue, started and stopped the queue using "root" it is working fine. But whenever I try to do the same throught user id "mqm" I get the following error.
--------------------------------------------------------------------------------------
exec(): 0509-036 Cannot load program crtmqm because of the following
errors:
0509-150 Dependent module /usr/lib/libmqmcs_r.a(shr.o) could
not be loaded.
0509-124 The program is a discontinued 64-bit object file.
--------------------------------------------------------------------------------------
As I am basically an AIX guy and this is the first time I'm configuring MQ, could not make out why this is happening.
Here are some more observations:
/usr/lib/libmqmcs_r.a the file is a link to /usr/mqm/lib/libmqmcs_r.a and both are present.
and if it can work from "root" on the same server then the second error saying 64-bit object file ...... I'm not sure why I'm geting that for only "mqm"
I am not sure if this has anything to do with environment variables, but I have not manually set anything on "root" also.
Can anyone please help me.
Thanks & Regards
DP |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 07, 2006 4:18 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Is this a fresh install of MQ or did you have v5.3? and if so, did you uninstall that first? _________________ -wayne |
|
Back to top |
|
 |
dandapani |
Posted: Tue Mar 07, 2006 4:42 pm Post subject: |
|
|
Newbie
Joined: 07 Mar 2006 Posts: 4
|
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 07, 2006 4:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
my AIX system shows:
ls -l /usr/lib/libmqmcs_r.a
lrwxrwxrwx 1 mqm mqm 25 Jun 01 2005 /usr/lib/libmqmcs_r.a -> /usr/mqm/lib/libmqmcs_r.a
$ ls -l /usr/mqm/lib/libmqmcs_r.a
-r-xr-xr-x 1 mqm mqm 1864946 May 19 2005 /usr/mqm/lib/libmqmcs_r.a
it was a fresh mq v6 install (btw...no fp1 applied yet) _________________ -wayne |
|
Back to top |
|
 |
dandapani |
Posted: Tue Mar 07, 2006 4:54 pm Post subject: |
|
|
Newbie
Joined: 07 Mar 2006 Posts: 4
|
Hi,
Its the same with me !
lrwxrwxrwx 1 mqm mqm 25 Mar 07 12:53 /usr/lib/libmqmcs_r.a -> /usr/mqm/lib/libmqmcs_r.a
-r-xr-xr-x 1 mqm mqm 1864946 May 19 2005 /usr/mqm/lib/libmqmcs_r.a
and everything works fine from "root"!
Thanks & Regards
DP |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 07, 2006 5:28 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Do you have either LIBPATH or LD_LIBRARY_PATH set? At WMQ v6 you should either unset these environment variables, or don't include /usr/lib. _________________ -wayne |
|
Back to top |
|
 |
dandapani |
Posted: Tue Mar 07, 2006 6:05 pm Post subject: |
|
|
Newbie
Joined: 07 Mar 2006 Posts: 4
|
Hi Wayne,
That helped Thanks a lot for all your help.
The LIBPATH was set, I removed the /usr/lib and voila ! it worked.
Thanks again !
But one doubt here since LIBPATH was set in /etc/profile and root still has it, but how come it still worked in root.
Thanks & Regards
DP |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 07, 2006 6:12 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I don't know why root worked, but the Infocenter says this:
Quote: |
Implications of a 64-bit queue manager
When using the new 64-bit queue manager, the use of the LIBPATH and LD_LIBRARY_PATH environment variable is not advised. Setting these environment variables might result in you not being able to run any WebSphere® MQ commands. By default, the installation will operate as in previous versions of WebSphere MQ, with symbolic links being created from /usr/lib, /usr/bin and /usr/include to the appropriate files within the WebSphere MQ tree structure. In the case of /usr/lib the symbolic links will be to the 32-bit WebSphere MQ libraries provided for customer 32-bit applications. |
_________________ -wayne |
|
Back to top |
|
 |
qrfc |
Posted: Fri Aug 18, 2006 5:16 am Post subject: |
|
|
Novice
Joined: 29 May 2002 Posts: 19 Location: Paris, France
|
Oups ...
Had the same problem. And it's a big problem for us because we need to set LIBPATH for some applications ... Why ? Simply because we started MQseries through a different user than mqm ! ! !
Solution to this problem : modify everything to start-only mqseries through mqm user, and still start WBI through an application user.
Not cool at all !!!!!!!!!!! |
|
Back to top |
|
 |
|