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 » strange strmqm/crtmqm error

Post new topic  Reply to topic Goto page Previous  1, 2
 strange strmqm/crtmqm error « View previous topic :: View next topic » 
Author Message
fjb_saper
PostPosted: Tue Nov 20, 2007 9:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
florea_adi
PostPosted: Wed Nov 21, 2007 12:38 am    Post subject: Reply with quote

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
View user's profile Send private message
florea_adi
PostPosted: Thu Nov 22, 2007 4:53 am    Post subject: Reply with quote

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
View user's profile Send private message
florea_adi
PostPosted: Thu Nov 22, 2007 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Philip Morten
PostPosted: Fri Nov 23, 2007 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
florea_adi
PostPosted: Fri Nov 23, 2007 4:09 am    Post subject: Reply with quote

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
View user's profile Send private message
florea_adi
PostPosted: Wed Nov 28, 2007 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » strange strmqm/crtmqm error
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.