Author |
Message
|
nathanw |
Posted: Thu Apr 05, 2007 5:41 am Post subject: MQ 5.2 AIX 5.3 to MQ 602 |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
had to do this upgrade other day
biggest prob I had was that when we had removed 5.2 and installed 6.0 it recreated the mqm group and user
this caused major problems as we could not access the old q managers
Luckily i had used MS03 so i had backup to recreate
anyone else had this prob or know of a way round? _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 05, 2007 5:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You mean, created another user called "mqm" with a different UID, so you had two concurrent users named "mqm" but with different UIDs?
Or did you decide you needed to delete the mqm user in there? Otherwise it shouldn't have been touched.
Even if it was touched, you should have been able to change the UID of the "new" user to the UID of the old user and been okay. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nathanw |
Posted: Thu Apr 05, 2007 5:51 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
nope when 6 was installing it removed the old instances and created new ones therefore giving them new magic numbers
i know there have been major changes to the way things work in the background in the past but this surprised me
as for changing the UID the system wouldnt let us as I had no control over the original install and O/S setup I could not comment _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 05, 2007 5:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Magic numbers?
You mean you ran into 32 bit vs 64 bit trouble? That has nothing to do with the mqm user or group. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mnota |
Posted: Thu Apr 05, 2007 9:10 am Post subject: |
|
|
Newbie
Joined: 25 Mar 2007 Posts: 2 Location: Amsterdam, The Netherlands
|
Magic numbers looks like the 32 bit vs 64 bit binaries problem indeed. It seems your LIBPATH sees first the 32 bit library, but the IBM-binaries are built with 64 bit libraries. If you only use 64 bit MQ programs, you can change the symbolic links in /usr/lib to the 64 bit MQ-libraries (are in /usr/mqm/lib64).
When you also need to use some 32 bit libraries you can try to create aliasses, redefining the LIBPATH temporarily to 32 bit or 64 bit libraries.
There's an example in thread: http://www.mqseries.net/phpBB2/viewtopic.php?p=172274&highlight=#172274
Good luck!
Martijn. |
|
Back to top |
|
 |
nathanw |
Posted: Fri Apr 13, 2007 2:40 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
cheers for that
as some background info
I was using the SMIT and noticed that the 6.0 install deleted and recreated the mqm group and userid which I thick is what caused the majority of problems
as a quickie is there a switch in SMIT not to do this?
Cheers _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
Philip Morten |
Posted: Mon Apr 16, 2007 8:42 am Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
nathanw wrote: |
cheers for that
as some background info
I was using the SMIT and noticed that the 6.0 install deleted and recreated the mqm group and userid which I thick is what caused the majority of problems
as a quickie is there a switch in SMIT not to do this?
Cheers |
Sorry about this - in MQ 5.2 or earlier, if the mqm user and group were created by the installation then they are deleted by uninstall. As you have found this can cause problems if they get re-created with different numbers. One way round this is to uninstall 5.2, see what numbers were used ( ls -l on /var/mqm will show this) and create the mqm user and group manually with those numbers before installing 6.0. The installation will accept the already existing ids.
The other work-around is to delete the file /usr/lpp/mqm.base/deinstl/mqm.base.runtime.unpre_i before performing the upgrade, it will only exist if the user and/or group were created at install time and that script's only functions are to delete them.
We have removed this post-uninstall routine in later releases and the problem should not occur when upgrading from 5.3 or later. _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
|