|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Not able to run amqsput command |
« View previous topic :: View next topic » |
Author |
Message
|
WMBMQ |
Posted: Wed Dec 10, 2008 8:05 am Post subject: Not able to run amqsput command |
|
|
Newbie
Joined: 09 Oct 2008 Posts: 4
|
Hi Just finished installing MQ v6 on solaries and now testing the installation
Created a QM and then a local queue successfully.
But not able to put message on the local queue with the command amqsput.
But when I ran the command from the path /opt/mqm/samp/bin as
./amqsput localQ QM then I was able to browse and get the message from the local queue.
Am I missing something or made some silly mistake which I am not able to figure out.
Whats the problem |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Dec 10, 2008 8:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
I'd guess that /opt/mqm/samp/bin isn't in your $PATH. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 10, 2008 8:54 am Post subject: Re: Not able to run amqsput command |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
WMBMQ wrote: |
Am I missing something or made some silly mistake which I am not able to figure out.
|
One or other of those I'd imagine.
The WMQ install (like most other products on Solaris) doesn't modify the PATH for all users. Or any users IIRC on Solaris. Certainly doesn't include the samples directory.
You'll need to make sure this directory is in the PATH of all users who need it, by whatever means your site employs. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
WMBMQ |
Posted: Wed Dec 10, 2008 9:20 am Post subject: |
|
|
Newbie
Joined: 09 Oct 2008 Posts: 4
|
Thanks, I found that $path does not contain its proper value |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Dec 10, 2008 7:04 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
The MQ directories (including the samples) should not be in the PATH. It doesn't make sense to put them there. The samples are just that, samples, and shouldn't need to be used as part of normal MQ operations. The other MQ programs (bin directory) are linked from /usr/bin (which is in the PATH, so no problem there).
Its OK to add the samples dir to your personal PATH (via your login profile script), but don't do it system-wide. _________________ Glenn |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|