Author |
Message
|
jed |
Posted: Mon May 17, 2004 7:21 pm Post subject: I can't run AMQSPUT, AMQSGET |
|
|
 Centurion
Joined: 08 Jan 2004 Posts: 118 Location: MI, USA
|
I can run runmqsc, strmqm.... But, I can't run amqsput, amqsget.
I just setup Sun Solaris 8 and AIX 5.2
I installed IBM WebSphere MQ v5.3 with CSD 05
I was able to create and start a queue manager.
But, when I tried to do amqsput it doesn't work.
I always give me "ksh: amqsput: not found"
How do I resolve this one?
Thanks! _________________ Jed |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon May 17, 2004 7:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
RTM.
Code: |
cd /opt/mqm/samp/bin
./amqsput QQQQ qmgrname |
Of course, this is assuming you installed the MQ samples.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
jed |
Posted: Mon May 17, 2004 9:06 pm Post subject: |
|
|
 Centurion
Joined: 08 Jan 2004 Posts: 118 Location: MI, USA
|
Roger, I did what you suggested and it didn't work.
When I tried to copy the amqsput and amqsget to /usr/bin, the programs ran.
Just for fyi.....
I followed the Quick Beginnings in installing MQ v5.3
I got one weird error message where in the message was something like.... "not file system for /var/mqm".
I only have one hard disk and when I installed the operating system.
I followed the installation steps for Sun OS Installation.
After the installation, I then tried to crtmqm and strmqm.
Both were successful..... Where did I go wrong.
I've already uninstalled and re-installed the OS and the MQ v5.3
And still I get the same problem on the amqsput and amqsget.
Plus now, I have a problem on the gsk6ikm........ Seems that I cannot create a key database (-type CMS). _________________ Jed |
|
Back to top |
|
 |
samgunddi |
Posted: Mon May 17, 2004 10:55 pm Post subject: |
|
|
 Acolyte
Joined: 17 May 2004 Posts: 54
|
Just a thought.
Have you checked the current dir you are issuing the commands (put/get)?
You have to issue the commands from /opt/mqm/samp/bin or
Set the class path.
Also check the mod for the userID you are working. |
|
Back to top |
|
 |
AlainB |
Posted: Tue May 18, 2004 1:29 am Post subject: |
|
|
 Voyager
Joined: 31 Oct 2002 Posts: 79 Location: Belgium
|
Things to check :
<li>sample installed ? They are normally in /opt/mqm/samp/bin
<li>PATH OK ? Check it ...
You also may check that the current directory is in the PATH, otherwise even if in /opt/mqm/samp/bin, you can't run it as it's no found.
Just go in /opt/mqm/samp/bin and try ./amqsput QUEUENAME _________________ Alain Buret
Visit http://www.fosdem.org |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue May 18, 2004 8:19 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
My guess is that he did NOT put the "dot & forward-slash" in the command after he changed to the sample-bin directory.
i.e.
./amqsput QQQQ qmgrname
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
jed |
Posted: Fri May 21, 2004 4:15 am Post subject: |
|
|
 Centurion
Joined: 08 Jan 2004 Posts: 118 Location: MI, USA
|
darn it! it worked??!?!!
what the @!#@!#@!#@%!!@#$%. haha ha ha ha...
but, how come i need to go to the directory?
rather, my question is how do i setup the $PATH? _________________ Jed |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri May 21, 2004 9:37 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Well, if you want to do it without the dot & slash "./" then just put /opt/mqm/samp/bin in your PATH. Of course then the command would be (without the dot & slash):
amqsput QQQQ qmgrname
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
sc |
Posted: Fri May 21, 2004 8:14 pm Post subject: |
|
|
Novice
Joined: 06 Sep 2003 Posts: 16
|
About your another problem with gsk6ikm, make sure setup JAVA_HOME with JDK1.3 or above. Then you can using CMS key database type. |
|
Back to top |
|
 |
jed |
Posted: Sun May 23, 2004 6:03 pm Post subject: |
|
|
 Centurion
Joined: 08 Jan 2004 Posts: 118 Location: MI, USA
|
thanks for all the input dudes.
i was able to fix my problem.
i just had to modify the profile of mqm user to add the path for the amqsput (and others).
now i can just type amqsput and the program will run.
sc, how will i know the java version that i have installed in my solaris system? _________________ Jed |
|
Back to top |
|
 |
RogerLacroix |
Posted: Sun May 23, 2004 6:37 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
|