Author |
Message
|
fjb_saper |
Posted: Tue Nov 20, 2007 9:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
florea_adi wrote: |
Hi fjb_saper,
I've tried to make this - sounds an interesting idea to me too.
I did few days ago as you said - except the step with clear queues/channel settings. I'll try this tomorrow - and I'll come back with info. May(be) the force (will) be with me
Many thanks !
Adrian |
Best bet would be in fact to create a new qmgr on a different box with the right name and everything.
Then copy the created files to the right box. update mqs.ini and check it out.
At that point you can delete the qmgr on the creation box... _________________ MQ & Broker admin |
|
Back to top |
|
 |
florea_adi |
Posted: Wed Nov 21, 2007 12:38 am Post subject: |
|
|
Novice
Joined: 20 Nov 2007 Posts: 11
|
Finally I did a copy (cpio/gz) from a working machine.
'amqzmgr0' started
'runmqlsr' started
When trying to start 'amqzxma0' it complains about log files permissions in /var/mqm/qmgrs/<mgrname>/log .... and I cannot control that since I'm not root there.
Because all this involves root privileges I'll give up moving the directory structure between the two machines.
I'll try to find another method to create the directory structure in /var/mqm/qmgrs
thanks,
Adrian |
|
Back to top |
|
 |
florea_adi |
Posted: Thu Nov 22, 2007 4:53 am Post subject: |
|
|
Novice
Joined: 20 Nov 2007 Posts: 11
|
Knows somebody what is the meaning of parameters for 'amqicdir' ?
I want to remove the content of /var/mqm and recreate it using this command.
thanks,
Adrian |
|
Back to top |
|
 |
florea_adi |
Posted: Thu Nov 22, 2007 8:56 pm Post subject: |
|
|
Novice
Joined: 20 Nov 2007 Posts: 11
|
Hi everybody,
just to keep you up to date with my MQ adventure....
I've stopped MQ on the machine, removed the content of /var/mqm.
recreated /var/mqm structure by hand with right permissions.
the problem is still there .... nothing happened... so I'm still digging |
|
Back to top |
|
 |
Philip Morten |
Posted: Fri Nov 23, 2007 1:39 am Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
florea_adi wrote: |
Knows somebody what is the meaning of parameters for 'amqicdir' ?
I want to remove the content of /var/mqm and recreate it using this command.
thanks,
Adrian |
/opt/mqm/bin/amqicdir -i - f is what is used by the installation scripts to create the /var/mqm/directory structure. If /var/mqm already exists it will check and correct ownership and permissions _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
florea_adi |
Posted: Fri Nov 23, 2007 4:09 am Post subject: |
|
|
Novice
Joined: 20 Nov 2007 Posts: 11
|
Because of the function that cause the crash (zutEnsureQMDirs) I think is complaining about some folder existing/permissions that's why I tried to rebuild somehow the /var/mqm. Unfortunatelly on Solaris 10 this 'amqicdir' does nothing - at least in my case. The bad part is that things are the same even in the case of manually recreating the /var/mqm structure.
This being said I think of something linked to OS itself now rather than MQ.
But IBM MQ could have been much more polite than "unexpected error" ....
If somebody has coded that condition it means that is somehow expected, no ?
Adrian |
|
Back to top |
|
 |
florea_adi |
Posted: Wed Nov 28, 2007 5:14 am Post subject: |
|
|
Novice
Joined: 20 Nov 2007 Posts: 11
|
Folks !
Installing the latest patch cluster from sun.com solved the issue (however they brake other things ).
MQ tools work now as expected.
Thanks everyone !
Adrian |
|
Back to top |
|
 |
|