Author |
Message
|
keyswest |
Posted: Thu Mar 01, 2012 5:02 pm Post subject: MQ 7.0.1 to 7.1 upgrade on AIX - issues |
|
|
Novice
Joined: 25 Apr 2008 Posts: 14
|
Hi,
I upgraded the existing MQ 7.0.1 in the DEV environment on AIX 6 to MQ 7.1. I had to uninstall the mqm.keyman.rte 7.1.0.0 before doing a in place upgrade. The install ran fine. Prior to the upgrade, i made sure that all the QMGRs were down.
After the install, I am not able to run any commands. dspmqver won't work. When i try to run setmqinst to set the primary install, it says bash: setmqinst: command not found
I am running it from /usr/mqm/bin where i see all the cmds when i do a ls. Any suggestions on what I might be doing wrong?
Thanks,
Prakash. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 01, 2012 6:37 pm Post subject: Re: MQ 7.0.1 to 7.1 upgrade on AIX - issues |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
keyswest wrote: |
...I am not able to run any commands. dspmqver won't work. |
What do you mean it won't work? Is there some kind of error message from the shell? Is the /bin directory in the PATH? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 01, 2012 6:40 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You probably need to run setmqenv /s. |
|
Back to top |
|
 |
JasonE |
Posted: Fri Mar 02, 2012 4:19 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
So a 7.1 unix qmgr installed should leave nothing in /usr/bin or /usr/lib, and hence all commands (dspmqver, crtmqm etc) should have no symlinks in there. Annoying, causes pain, but also reasons behind it.
To use 7.1, you either need to ensure your shell is set up with the right environment for the install you wish to manage (run <mq inst path>/bin/setmqenv -s, where you replace the mq inst path with where you installed MQ into) and then run the commands you want to,
OR
if you want the same behaviour as previous releases then make it the primary install (<mqinstpath>/bin/setmqinst -i) but be very aware of what making it primary means - specifically any application which picks up libraries based on an embedded rpath of /usr/lib will be picking up libraries from the primary install and 'switching' to the appropriate install... If you uninstall the primary, (over the weekend, on a production box, out of hours,...) even though your applications may be talking to another installations qmgrs, anything relying on these links will break until you make another one primary. By not having the /usr/* symlinks, you wont have unexpected reliances on one installation. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 02, 2012 4:42 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
JasonE wrote: |
<mq inst path>/bin/setmqenv -s |
Or how to tell I've been doing too much work on Windows and not Unix lately...  |
|
Back to top |
|
 |
keyswest |
Posted: Mon Mar 05, 2012 2:35 pm Post subject: |
|
|
Novice
Joined: 25 Apr 2008 Posts: 14
|
Thx bruce2359,mqjeff,JasonE for your suggestions. Setting the MQ 7.1 install explicitly as the primary installation using setmqinst fixed the issue. Now, I am able to bring up the queue managers and connect to it remotely.
Regards,
Prakash. |
|
Back to top |
|
 |
RouteMe |
Posted: Tue Mar 20, 2012 11:42 am Post subject: |
|
|
Novice
Joined: 03 Dec 2009 Posts: 16
|
I had the same issue after upgrading from WMQ 7.0.1 to 7.1,
i have unset the primary installation and set the same installation as the Primary installation again then it worked....but after doing the upgrade i am not able to execute any Websphere Message Broker v7.0.0.3 commands in AIX 6.1
mqm@xxxx:$ mqsiservice -v
Could not load program mqsiservice:
Could not load module /usr/IBM/mqsi/7.0/lib/libImbCmdLib.a(libImbCmdLib.a.so).
Dependent module /var/mqsi/odbc/odbc.ini/libmqm_r.a(libmqm_r.o) could not be loaded.
Could not load module /var/mqsi/odbc/odbc.ini/libmqm_r.a(libmqm_r.o).
System error: Not a directory
Could not load module mqsiservice.
Dependent module /usr/IBM/mqsi/7.0/lib/libImbCmdLib.a(libImbCmdLib.a.so) could not be loaded.
Could not load module .
mqm@xxxx:$ mqsistart
Could not load program mqsistart.bin:
Could not load module /usr/IBM/mqsi/7.0/lib/libImbCmdLib.a(libImbCmdLib.a.so).
Dependent module /var/mqsi/odbc/odbc.ini/libmqm_r.a(libmqm_r.o) could not be loaded.
Could not load module /var/mqsi/odbc/odbc.ini/libmqm_r.a(libmqm_r.o).
System error: Not a directory
Could not load module mqsistart.bin.
Dependent module /usr/IBM/mqsi/7.0/lib/libImbCmdLib.a(libImbCmdLib.a.so) could not be loaded.
Could not load module
after the upgrade i dont see the symbolic link for libmqm_r.a in "/usr/mqm/lib" or the actual file in "/usr/mqm/lib64"
Did anyone had this issue?? how do i solve it ??
P.S :- Error's are after running the mqsiprofile |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 20, 2012 11:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Why would you possibly think that Broker v7.0.0.3 would support MQ v7.1?
It doesn't.
Neither does Broker v8.0.0.0.
You need to uninstall MQ 7.1 and revert to using MQ v7 in order to remain in a supported configuration. |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 20, 2012 12:00 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Surprising that broker 8 didn't support it - given their almost simultaneous release.
Not quite sure why broker wouldn't just work with a newer version of MQ anyway (that has all the same features as before and more)?
Of course there is a difference between working and supported. |
|
Back to top |
|
 |
mvic |
Posted: Tue Mar 20, 2012 1:26 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
There's a command to make your installation the "primary" installation. Try that. Or, as others have said, return to 7.0.1 for a supported config. |
|
Back to top |
|
 |
RouteMe |
Posted: Tue Mar 20, 2012 1:39 pm Post subject: |
|
|
Novice
Joined: 03 Dec 2009 Posts: 16
|
Thank You Jeff,
I am not aware of it and didn't see any IBM document regarding this.
@Mavic- MQ is running as expected, i have issues only with WMB |
|
Back to top |
|
 |
mvic |
Posted: Tue Mar 20, 2012 2:32 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
RouteMe wrote: |
MQ is running as expected, i have issues only with WMB |
Understood.
But check what has changed - it's the level of MQ, according to your post. Not the level of WMB.
Also check this line in your post:
Code: |
Dependent module /var/mqsi/odbc/odbc.ini/libmqm_r.a(libmqm_r.o) could not be loaded. |
Note that it's an MQ library at the center of this error message.
To be honest I do not know why it looks for libmqm_r.a in that particular location (it looks wrong to me, but I don't know WMB).
But anyway you should be aware that if have not set your 7.1 installation as the "primary" installation, the 7.1 installed files are not symlinked from /usr/lib, executables are not symlinked from /usr/bin etc. I am guessing, but it looks like that could be the basis of the problem here.
Please read the MQ installation instructions in the Information Center. And it might be better if you have a new thread for your problem because this thread was resolved, with the OP following the advice given.
And, once more, if you want a supported configuration, you'd be better going back to MQ 7.0.1, until WMB have announced support for MQ 7.1. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 21, 2012 4:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
RouteMe wrote: |
I am not aware of it and didn't see any IBM document regarding this. |
It's here; the system requirements for WMBv7 on AIX:
Quote: |
WebSphere MQ 7.0.1 and future fix packs |
Not WMQv7.1 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|