Author |
Message
|
raj429 |
Posted: Mon Aug 17, 2009 10:36 am Post subject: amqsput-command not found on linux x86_64 |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
Hi,
I am a newbie and I have freshly installed the trial version of MQ 6.0.2.3 on linux x86_64.I am able to create Queue on the local QMGR. But amqsput is not working. Its showing command is not found.
/opt/mqm/bin-----> I dont have amqsput file. but /opt/mqm/samp/bin----> amqsput executable is available(as given in MQ publib library). I am running them under mqm. I looked in this forums and tried all the options, I found but no use
Note: While installing, I havent created /opt/mqm and /var/mqm directories.These got created for themselves at the time of installation. Post installation I have checked every thing is fine for directories. This I have done for kind of research on installation.
I am hanging at MQinstallation testing,is there any other possibility for this behaviour? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 17, 2009 10:40 am Post subject: Re: amqsput-command not found on linux x86_64 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
raj429 wrote: |
I am hanging at MQinstallation testing,is there any other possibility for this behaviour? |
Same as any other "not found" on Unix (Linux) - the PATH for that user is incorrect. Fix the path and retry. Note that the reason amqsput is in a different lib is because it's not a command, it's a sample application. Not all sites use the samples, hence the PATH being the way it is. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
raj429 |
Posted: Mon Aug 17, 2009 11:26 am Post subject: |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
Thaks vitor for the response. .
But I didnt get this properly.
Quote: |
the PATH for that user is incorrect. Fix the path and retry
|
I am running the command from /opt/mqm/samp/bin ---directlory where i have the put sample but still showing the same error.
[mqm@MQadmin bin]$ amqsput Q1 QMGR1
bash: amqsput: command not found
and its permission history is as below.
[mqm@MQadmin bin]$ ls -l | grep put
-r-xr-xr-x. 1 mqm mqm 15360 2008-04-26 17:11 amqsput
-r-xr-xr-x. 1 mqm mqm 15320 2008-04-26 17:12 amqsputc
did i get you right or am i still missing something? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 17, 2009 11:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
raj429 wrote: |
I am running the command from /opt/mqm/samp/bin ---directlory where i have the put sample but still showing the same error.
|
And you're certain in your own mind the PATH is configured to permit this? There's no reason why being in the same directory as an executable means it'll be found unless that's how you've configured this.
There are 2 options here I can think of, there are probably others, but this is a straightforward OS issue that has nothing to do with WMQ. Fix it as you would any other PATH problem in any way you see fit/accords with your standards. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 17, 2009 2:20 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
raj429 wrote: |
I am running the command from /opt/mqm/samp/bin ---directlory where i have the put sample but still showing the same error.
|
And you're certain in your own mind the PATH is configured to permit this? There's no reason why being in the same directory as an executable means it'll be found unless that's how you've configured this.
There are 2 options here I can think of, there are probably others, but this is a straightforward OS issue that has nothing to do with WMQ. Fix it as you would any other PATH problem in any way you see fit/accords with your standards. |
Your PATH is missing :. (colon dot).
You should be able to run
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
raj429 |
Posted: Thu Aug 20, 2009 11:39 am Post subject: |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
Thank u vitor and saper its working....
I am using ./amqsput |
|
Back to top |
|
 |
|