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 » amqsput not available

Post new topic  Reply to topic
 amqsput not available « View previous topic :: View next topic » 
Author Message
ranganathan
PostPosted: Fri Aug 01, 2008 6:38 am    Post subject: amqsput not available Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Hi all,
I have the same problem as described in the below post.

http://www.mqseries.net/phpBB2/viewtopic.php?t=42027&postdays=0&postorder=asc&start=0

I dont have amqsput sample in /opt/mqm/bin.

I ve installed the trial version of MQv6 in a Linux machine (RedHat Release 9 Shrike) installation was fine. I am able to create QM's, Queues, Channels etc.. but im unable to test my installation by putting a message. I tried copying amqsput.exe from a windows machine but im unable to execute it.

Kindly let me know, how will i put a message in a queue and eventually test my installation is fine.
Back to top
View user's profile Send private message
manicminer
PostPosted: Fri Aug 01, 2008 6:49 am    Post subject: Re: amqsput not available Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

I would recommend that you read the the "Quick Beginnings for Linux" section of the MQ Info Center this will be a great help to you explaining what RPM's to install, and where to find things like the samples.
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Aug 01, 2008 7:04 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Thank you very much indeed for reply. Actually i did follow the Linux quick beginnings manual and installed the following rpm packages..

*MQSeriesRuntime
*MQSeriesSDK
*MQSeriesSamples
*MQSeriesServer

The installation was successful i could see the samples inside /opt/mqm/samp/bin/ but when i give any of the command inside this bin it says command not found. Please let me know if im doing something wrong here...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Aug 01, 2008 7:51 am    Post subject: Reply with quote

Grand High Poobah

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

Verify file permission (ls -l) and make sure you run as mqm and not root
Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ranganathan
PostPosted: Fri Aug 01, 2008 8:19 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Thanks Saper.. actually i was running the command as root.. now it is working when i give ./amqsput as a mqm user.. (stupid of me.. )

But i have another concern now... (!!sorry!! )

i created a local queue (test.lq) and i am not able to put any messages to that.. i checked the queue attributes PUT is ENABLED,

Here is the command ./amqsput test.lq test1.qm1

i have given both the queuename and the QMname (test1.qm1).

It gives error code 2085 - (Unable to open queue for output)
Sample AMQSPUT0 end.

*I checked the qname, qmname - all are perfect
*created another local queue - Same error
* I tried it on another queue manager as well.

Infact i think i couldnt put messages to any queue.. am i missing something.. anything else i need to take care... ??!!
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Aug 01, 2008 9:36 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Note:
I am able to runmqsc to that queue manager and display the queue properties. Only amqsput is not working...
Back to top
View user's profile Send private message
SAFraser
PostPosted: Fri Aug 01, 2008 10:13 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

When you created the queue, did you enclose 'test.lq' in quotes? If not, MQ folded it to uppercase and you need to use TEST.LQ for amqsput.
Back to top
View user's profile Send private message
ranganathan
PostPosted: Mon Aug 04, 2008 1:40 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Yes.. thats the problem, i didn't include quotes.. Thanks a bunch SAFraser.. Just a little thing but it drove me nuts we need to be cautious while naming the queues (i am sure i will)... Thanks again.
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Mon Aug 04, 2008 2:13 am    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

As a general rule it is suggested that you should use UPPERCASE names for queue names and queue manager names. If you stick with this approach you will have fewer unpleasant surprises (in general).

Though of course you do have to remember that utilities like amqsput are case SeNsItIve.
_________________
Cheers,
David C. Partridge
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 » amqsput not available
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.