Author |
Message
|
bbburson |
Posted: Wed Jun 22, 2005 8:16 am Post subject: Very strange "root" behavior |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
Here's some weirdness that I'm wondering if anybody else has come across.
We recently set up 30 identical AIX 5.2 servers with WMQ 5.3 csd08. On three only of those 30, the root account is not able to interact with WMQ (root is a member of the mqm group).
The symptoms I see are:
- dspmq command shows the running queue manager as "Not available" when root runs dspmq (same queue manager shows as "Running" when mqm runs the command.
- runmqsc command immediately exits with "queue manager not available" message when run from root account.
- rcdmqimg command returns 40 (queue manager not available) when run from root account.
I've opened a case with IBM, but I thought I'd run it by here as well to see if anybody has any advice to offer. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 22, 2005 9:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is it an issue with file permissions on /var/mqm or /usr/mqm? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 22, 2005 10:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you tried removing root from the mqm group and then adding it again ? and issuing a
REFRESH SECURITY
 |
|
Back to top |
|
 |
bbburson |
Posted: Wed Jun 22, 2005 10:59 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
fjb_saper wrote: |
Have you tried removing root from the mqm group and then adding it again ? and issuing a
REFRESH SECURITY
 |
Now I have; no change.
jefflowery wrote: |
Is it an issue with file permissions on /var/mqm or /usr/mqm? |
Worth checking out; I'll see what I can find there (IBM *did* ask for output of 'ls -lR /var/mqm' for their investigation). |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 22, 2005 11:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
We have also seen some odd behavior when certain directories are mounted. If the permissions/ownership of the mount point is different than the permissions on the mounted data... then strangeness occurs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bbburson |
Posted: Wed Jun 22, 2005 12:19 pm Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
jefflowrey wrote: |
We have also seen some odd behavior when certain directories are mounted. |
...and the prize goes to jefflowrey. About the same time I read your reply I got a response from IBM that some of the links did not seem to be accessible. I checked it out and found two of the directories in the link path had 750 permission instead of 755. I changed them and all is well once again.
These queue managers are set up with links because they are part of a Veritas cluster for hardware failover. Don't know why just these three machines (of the 30 we've built over the last few months) had the wrong permissions, but I'm glad to know it was something as easy as this to fix.
Thanks again for the quick responses. I hope to see some of you in Orlando next week. |
|
Back to top |
|
 |
|