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 Security » setmqaut (type queue not found)

Post new topic  Reply to topic
 setmqaut (type queue not found) « View previous topic :: View next topic » 
Author Message
anderc1
PostPosted: Thu Jul 01, 2010 11:20 am    Post subject: setmqaut (type queue not found) Reply with quote

Acolyte

Joined: 11 Sep 2002
Posts: 55
Location: Research Triangle Park, NC

MQ - 6.0.2.7 on AIX 5.3.0.0

Trying to setmqaut on a queue and getting "type queue not found". Setmqaut on the Qmgr without issue, just doesn't like it for a queue.
Tried variations of quotes, "" and '' with no luck.
Tried different queue name, no luck.
Tried different order, -t then -n, no luck.
Any help appreciated.

setmqaut -m QmgrName -n QUEUE1Name -t queue -g GroupID +allmqi
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Thu Jul 01, 2010 11:23 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa15980_.htm

Just look at it.

BTW, Does your Queue Exist ????


_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Jul 01, 2010 11:26 am    Post subject: Re: setmqaut (type queue not found) Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anderc1 wrote:
Trying to setmqaut on a queue and getting "type queue not found".


Given the nature of the error message, why not try a different type? The documentation suggests "q" as an alternative (without the quotes obviously).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jul 01, 2010 11:30 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Does the queue exist in the QM?

Try a generic profile for the queue name value e.g. ABC.** (in quotes).
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Thu Jul 01, 2010 11:34 am    Post subject: Re: setmqaut (type queue not found) Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Vitor wrote:
anderc1 wrote:
Trying to setmqaut on a queue and getting "type queue not found".

The documentation suggests "q" as an alternative (without the quotes obviously).

For ex:
setmqaut -m saturn.queue.manager -n orange.queue -t q -g foxy -allmqi +alladm
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
anderc1
PostPosted: Thu Jul 01, 2010 12:21 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2002
Posts: 55
Location: Research Triangle Park, NC

Yes, the queue does exist and tried another queue as well.
Yes, read the manual.
Normally use just -q but the manual has both -q and queue. Same results either way. Worked with MQ on older versions of AIX for years and don't recall any issues with this command. So I am curious why it isn't working on AIX 5.3 or is it a simple syntax issue on my part.
I'll keep tinkering with it.
Thanks for your input.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 01, 2010 2:31 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

anderc1 wrote:
Yes, the queue does exist and tried another queue as well.
Yes, read the manual.
Normally use just -q but the manual has both -q and queue. Same results either way. Worked with MQ on older versions of AIX for years and don't recall any issues with this command. So I am curious why it isn't working on AIX 5.3 or is it a simple syntax issue on my part.
I'll keep tinkering with it.
Thanks for your input.

It might be a syntax issue on your part. Make sure you follow the exact order of the parameters as described in the manual.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu Jul 01, 2010 6:16 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Copy and paste from the terminal screen exactly what you are typing for input and the output you get.

This will sound far fetched, but your not copy and pasting this command from a heavily formatted Word doc are you? If so, try typing in the entire command manually instead of pasting it from the doc and see if that helps.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
anderc1
PostPosted: Fri Jul 02, 2010 6:09 am    Post subject: Issue Resolved (Short between keyboard and ground) Reply with quote

Acolyte

Joined: 11 Sep 2002
Posts: 55
Location: Research Triangle Park, NC

Issue was right queues, wrong Qmgr.
There are multiple Qmgrs on the system, was viewing queues using MQMon, but running setmqaut from command line using a similar Qmgr name. Close only counts with horse shoes and hand grenades. Decided to try setting OAM with MQMon and it worked, then saw the error of my ways.

Thanks for the help!
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Fri Jul 02, 2010 8:50 am    Post subject: Re: Issue Resolved (Short between keyboard and ground) Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

anderc1 wrote:
Issue was right queues, wrong Qmgr.


Good... finally you got the hole in the barrel. have fun !!
_________________
*Life will beat you down, you need to decide to fight back or leave it.
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 Security » setmqaut (type queue not found)
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.