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 » How to get started on MQ

Post new topic  Reply to topic
 How to get started on MQ « View previous topic :: View next topic » 
Author Message
sjunejo
PostPosted: Fri Sep 12, 2008 1:34 am    Post subject: How to get started on MQ Reply with quote

Novice

Joined: 12 Sep 2008
Posts: 16

Hello All

This is going to be my first post. I have just installed a MQ sever 7.0 on my AIX machine in /usr/mqm directory. My enviornement variables are as follows

$ env
_=/usr/bin/env
LANG=en_GB
LOGIN=tecapp
PATH=/usr/mqm/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/tecapp/bin:/usr/bin/X11:/sbin:.
LC__FASTMSG=true
LOGNAME=tecapp
MAIL=/usr/spool/mail/tecapp
LOCPATH=/usr/lib/nls/loc
USER=tecapp
AUTHSTATE=compat
SHELL=/bin/ksh
ODMDIR=/etc/objrepos
HOME=/home/tecapp
TERM=vt100
MAILMSG=[YOU HAVE NEW MAIL]
PWD=/usr/mqm
TZ=GMT0BST
A__z=! LOGNAME
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/en_US/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/en_US/%N.cat

I dont know but when I am trying to execute a simple 'crtmqm' Command it say .... ksh : crtmqm : not found

Please help me as I have to do alot on it and this is the first step...
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Sep 12, 2008 1:46 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

You need to su to the mqm user, or include your userid in the mqm group.

I'm assuming you followed the Quick Beginnings Guide regarding installation etc.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.


Last edited by exerk on Fri Sep 12, 2008 1:57 am; edited 1 time in total
Back to top
View user's profile Send private message
ranganathan
PostPosted: Fri Sep 12, 2008 1:54 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

Hi sjunejo,
Please make sure your installation is correct and you ve properly created the users and group before Installation. Please refer the relevant Installation quick beginnings manual from the below link.

http://www-01.ibm.com/software/integration/wmq/library/quickbeginnings.html

I dont think we need to set any Env. Variable for crtmqm to succeed. (Correct me if im wrong)

Please refer the infocenter for more details.

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp
Back to top
View user's profile Send private message
AkankshA
PostPosted: Fri Sep 12, 2008 3:13 am    Post subject: Re: How to get started on MQ Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

sjunejo wrote:
Hello All

This is going to be my first post. I have just installed a MQ sever 7.0 on my AIX machine in /usr/mqm directory. My enviornement variables are as follows

$ env
_=/usr/bin/env
LANG=en_GB
LOGIN=tecapp
PATH=/usr/mqm/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/tecapp/bin:/usr/bin/X11:/sbin:.
LC__FASTMSG=true
LOGNAME=tecapp
MAIL=/usr/spool/mail/tecapp
LOCPATH=/usr/lib/nls/loc
USER=tecapp
AUTHSTATE=compat
SHELL=/bin/ksh
ODMDIR=/etc/objrepos
HOME=/home/tecapp
TERM=vt100
MAILMSG=[YOU HAVE NEW MAIL]
PWD=/usr/mqm
TZ=GMT0BST
A__z=! LOGNAME
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/en_US/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/en_US/%N.cat

I dont know but when I am trying to execute a simple 'crtmqm' Command it say .... ksh : crtmqm : not found

Please help me as I have to do alot on it and this is the first step...


tecapp .. does this user belong to mqm group ??
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
sjunejo
PostPosted: Fri Sep 12, 2008 7:42 am    Post subject: Reply with quote

Novice

Joined: 12 Sep 2008
Posts: 16

I have created a new user and added in the mqm group as you can see


hml-bladep6a1-~: id
uid=206(sheeraz) gid=0(system) groups=1(staff),2(bin),3(sys),4(adm),14(rootsu),15(mqm)

and also set the PATH variable to my installed directory /usr/mqm/bin to execute a simple and basic command 'crtmqm' but still giving me the same problem. NOT FOUND....errrrr .... Now I am going to check my version and installation coz thats the only thinkg left on this level....isnt...it.... I will update this thread as soon as i get some solution with the problem description FYI.

thanks for your help...if you have any other idea please let me post here.

Thankssss....
Back to top
View user's profile Send private message
ramkumarm83
PostPosted: Fri Sep 12, 2008 8:59 am    Post subject: Reply with quote

Apprentice

Joined: 16 May 2007
Posts: 27

First confirm whether the mq installed properly or not.
Check dspmq or dspqmver command using mqm user.

Make sure that crtmqmq executable available on /opt/mqm/bin/crtmqm.
If its there try to run on this path.
If its not there, You cant use the crtmqm

Check before /opt/mqm path is available on your server.

I faced same problem today. Check it below link
http://www.mqseries.net/phpBB2/viewtopic.php?t=45323
Back to top
View user's profile Send private message
sjunejo
PostPosted: Mon Sep 15, 2008 12:18 am    Post subject: Reply with quote

Novice

Joined: 12 Sep 2008
Posts: 16

NO /opt/mqm does not exist....Actually I have installed on /usr/mqm/. I have checked 'dspmqver' and it displays followinig information:
$ dspmqver
Name: WebSphere MQ
Version: 7.0.0.0
CMVC level: p000-L080603
BuildType: IKAP - (Production)

My bin directory looks like following:

$ cd bin
$ ls -l
total 4592
lrwxrwxrwx 1 mqm mqm 21 11 Sep 15:20 amqcctca -> /usr/mqm/lib/amqcctca
lrwxrwxrwx 1 mqm mqm 23 11 Sep 15:20 amqcctca_r -> /usr/mqm/lib/amqcctca_r
lrwxrwxrwx 1 mqm mqm 21 11 Sep 15:20 amqcltca -> /usr/mqm/lib/amqcltca
lrwxrwxrwx 1 mqm mqm 23 11 Sep 15:20 amqcltca_r -> /usr/mqm/lib/amqcltca_r
-r-xr-x--- 1 mqm mqm 36918 03 Jun 21:38 amqicdir
-r-xr-xr-x 1 mqm mqm 36525 03 Jun 21:38 amqiclen
-r-xr-xr-x 1 mqm mqm 336624 03 Jun 21:48 amqiragr
-rwsr-s--- 1 mqm mqm 16262 03 Jun 21:35 amqltmc0
-r-xr-xr-x 1 mqm mqm 557 03 Jun 21:54 amqwCleanSideQueue.sh
-r-xr-xr-x 1 mqm mqm 874 03 Jun 21:54 amqwclientConfig.sh
-r-xr-xr-x 1 mqm mqm 576 03 Jun 21:54 amqwclientTransport.wsdd
-r-xr-xr-x 1 mqm mqm 692 03 Jun 21:54 amqwdeployWMQService.sh
-r-xr-xr-x 1 mqm mqm 4137 03 Jun 21:54 amqwsetcp.sh
-r-xr-xr-x 1 mqm mqm 606 03 Jun 21:54 amqwstartwin.sh
-r-sr-sr-x 1 mqm mqm 19154 03 Jun 21:38 amqxmsg0
-r-xr-x--- 1 mqm mqm 2073 19 May 19:48 crtmqlnk
-r-xr-x--- 1 mqm mqm 1052 14 Apr 2005 dltmqlnk
-r-sr-sr-x 1 mqm mqm 170177 03 Jun 21:38 dspmqras
-r-xr-xr-x 1 mqm mqm 203298 03 Jun 21:37 dspmqtrc
-r-xr-xr-x 1 mqm mqm 105235 03 Jun 21:33 dspmqver
-r-sr-s--- 1 mqm mqm 663640 03 Jun 21:36 endmqtrc
-r-xr-xr-x 1 mqm mqm 781 24 Nov 2007 mqsh
-r-sr-s--- 1 mqm mqm 35414 03 Jun 21:35 runmqtmc
-r-sr-s--- 1 mqm mqm 664683 03 Jun 21:36 strmqtrc
$ pwd
/usr/mqm/bin

There is no command like 'crtmqm' and stuff. I have installed this version using 'smitty'....
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Sep 15, 2008 12:35 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Use smit to see what WMQ components are installed...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Sep 15, 2008 12:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So apparently you only installed the MQ Client.
Back to top
View user's profile Send private message
sjunejo
PostPosted: Mon Sep 15, 2008 6:41 am    Post subject: Reply with quote

Novice

Joined: 12 Sep 2008
Posts: 16

Thank you very much all of you for help. I have sucessfully installed the proper server version and now I can run all the commands. Thanks
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 » How to get started on MQ
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.