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 » IBM MQ API Support » 2058 from amqsget

Post new topic  Reply to topic
 2058 from amqsget « View previous topic :: View next topic » 
Author Message
meekings
PostPosted: Fri May 10, 2002 7:29 am    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

Two AIX machines, identically configured, same OS patch levels with MQSeries 5.2.0.2. Same user, same profile, identical environment settings. On one "amqsget TEST QM1" gives 2035 (not authorized) which is expected, as user has no authorizations. On the other, "amqsget TEST QM2" gives 2058 (QM not known). QM2 exists, is identically set up to QM1, and the name is not mistyped; queue TEST also exists (not that it matters, since it never gets that far). Another user, with the only difference being that they are a member of group mqm, can run "amqsget TEST QM2" ok. Giving the first user +allmqi permissions still gives the same 2058 error.
Trace shows one invocation doing MQCONNX and one doing MQCONN, which I don't understand - apart from that, everything looks identical, and I'm stumped.
Any ideas?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meekings
PostPosted: Fri May 10, 2002 8:41 am    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

MQCONNX was a red herring - just something going on on the same box at the same time. Repeat trace showed just MQCONN. Adding user to mqm group causes everything to work as expected. But why?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Mon May 13, 2002 3:02 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Do you have multiple queue managers on each box ????
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
meekings
PostPosted: Mon May 13, 2002 5:39 am    Post subject: Problem solved Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

Turns out that the permissions on the /var/mqm directory were rwxrwx---. Changing this to rwxrwxr-x fixed the problem.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
muralidhar
PostPosted: Mon May 13, 2002 11:27 am    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 50

When trying to connect to QM2 through a client application, make sure MQServer environment variable is pointing the correct QManager and correct port number on which QM2 is listening
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » 2058 from amqsget
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.