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 » General IBM MQ Support » I can't run AMQSPUT, AMQSGET

Post new topic  Reply to topic
 I can't run AMQSPUT, AMQSGET « View previous topic :: View next topic » 
Author Message
jed
PostPosted: Mon May 17, 2004 7:21 pm    Post subject: I can't run AMQSPUT, AMQSGET Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
RogerLacroix
PostPosted: Mon May 17, 2004 7:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jed
PostPosted: Mon May 17, 2004 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
samgunddi
PostPosted: Mon May 17, 2004 10:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlainB
PostPosted: Tue May 18, 2004 1:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
RogerLacroix
PostPosted: Tue May 18, 2004 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jed
PostPosted: Fri May 21, 2004 4:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
RogerLacroix
PostPosted: Fri May 21, 2004 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
sc
PostPosted: Fri May 21, 2004 8:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
jed
PostPosted: Sun May 23, 2004 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
RogerLacroix
PostPosted: Sun May 23, 2004 6:37 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Code:
java -version

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » I can't run AMQSPUT, AMQSGET
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.