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 Installation/Configuration Support » Browsing queues

Post new topic  Reply to topic
 Browsing queues « View previous topic :: View next topic » 
Author Message
Hanuman
PostPosted: Tue Oct 17, 2006 3:13 am    Post subject: Browsing queues Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

Browsing queues
WebSphere MQ provides a sample queue browser that you can use to look at the
contents of the messages on a queue. The browser is supplied in both source and
executable formats.
In MQSeries for UNIX systems, the default file names and paths are:
Source
/opt/mqm/samp/amqsbcg0.c (/usr/mqm/samp/amqsbcg0.c on AIX)
Executable
/opt/mqm/samp/bin/amqsbcg (/usr/mqm/samp/bin/amqsbcg on AIX)
The sample requires two input parameters, the queue name and the queue
manager name. For example:
amqsbcg EN2OSM_CPM_ALARM QM_orf_qa01

but it gave me this error
bash-2.03$ amqsbcg GEN2OSM_CPM_ALARM QM_orf_qa01
bash: ./amqsbcg: Permission denied

then I tried to convert them to executable, but when I did this it gave a me series of warning…..


bash-2.03$ chmod 777 *
chmod: WARNING: can't change amqsaxe
chmod: WARNING: can't change amqsbcg
chmod: WARNING: can't change amqsbcgc
chmod: WARNING: can't change amqsblst

Do we need roots access to run this
/home/mqm/dumps/mqm/root/opt/mqm/samp/bin
This is apth from where I am trying this.
I have logged in as user mqm.

pls help me de-bugging the problem....
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 17, 2006 3:37 am    Post subject: Reply with quote

Grand High Poobah

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

First do an ls -l to see who currently owns these files, then get that person to change them.

You'll need execute authority for the programs (as with any Solaris program) and MQ authority for the MQ objects (as with any MQ program).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Browsing queues
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.