| Author | 
		  Message
		 | 
		
		  | dkoushik | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:22 am    Post subject: crtmqm not found in unix | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 08 Aug 2006 Posts: 16
  
  | 
		  
		    
			  
				I have installed MQ Server 6.0 in Unix.
 
 
$ uname -a
 
HP-UX rigel B.11.11 U 9000/800 2327653419 unlimited-user license
 
$
 
 
When I tried to create Queue Manager using the follwing command its saying the command not found.
 
 
$ crtmqm -f 4096 -q -u SYSTEM.DEAD.LETTER.QUEUE QM_RIGEL
 
sh: crtmqm:  not found.
 
$
 
 
when I searched for the executable
 
 
$ whereis crtmqm
 
crtmqm: /opt/mqm/man/man1/crtmqm.1
 
 
$ which crtmqm
 
no crtmqm in /usr/bin /usr/sbin /usr/ccs/bin /usr/contrib/bin /opt/hparray/bin /opt/nettladm/bin /opt/upgrade/bin /opt/fcms/bin /opt/pd/bin /opt/resmon/bin /opt/gnome/bin /opt/perf/bin /usr/bin/X11 /usr/contrib/bin/X11 /opt/graphics/common/bin /opt/prm/bin /usr/sbin/diag/contrib /opt/mx/bin /opt/wbem/bin /opt/wbem/sbin /opt/perl/bin /opt/ignite/bin /opt/omni/bin /opt/omni/sbin /opt/omni/lbin /opt/hpnpl//bin /home/xmuser/bin /opt/mqm/bin .
 
$
 
 
Please, suggest what needs to be done.
 
 
Thanks
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Does "/opt/mqm/bin/crtmqm" work?
 
 
What does 'find / -name "crtmqm" -print' return?
 
 
Are you sure you installed MQ server? _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				Are you sure you installed the server, you should have:
 
   
	| Quote: | 
   
  
	which crtmqm
 
/usr/bin/crtmqm
 
$ ls -l /usr/bin/crtmqm
 
lrwxr-xr-x   1 root       sys             19 Aug 29 15:57 /usr/bin/crtmqm -> /opt/mqm/bin/crtmqm
 
 | 
   
 
 _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | xxx | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 13 Oct 2003 Posts: 137
  
  | 
		  
		    
			  
				1) Is MQ installed on the system ?
 
swlist | grep -i mq
 
2) Is your ID in the mqm group ? 
 
3) Check your path , generally the crtmqm etc are in /usr/bin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dkoushik | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 08 Aug 2006 Posts: 16
  
  | 
		  
		    
			  
				Yes, I did install MQ Server.
 
 
$ dspmqver
 
Name:        WebSphere MQ
 
Version:     6.0.0.0
 
CMVC level:  p000-L050519
 
BuildType:   IKAP - (Production)
 
$
 
 
 
 How can I send you screen shots ? Is there any option to attach a file? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				I don't think anyone in particular wants to see your screenshot.
 
 
Also, dspmqver doesn't tell us if the client is installed or the server.
 
 
Try the command already posted, "swlist | grep -i mq " _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | xxx | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 13 Oct 2003 Posts: 137
  
  | 
		  
		    
			  
				swlist MQSERIES, should give us a list of installed software , 
 
and also check if your id is in mqm group or you are logged as mqm | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dkoushik | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 08 Aug 2006 Posts: 16
  
  | 
		  
		    
			  
				$ swlist | grep -i mq
 
  MQSERIES                              6.0.0.0        WebSphere MQ for HP-UX
 
$
 
 
 
$
 
$ groups mqm
 
mqm
 
$
 
 
 
 
$ swlist MQSERIES
 
# Initializing...
 
# Contacting target "rigel"...
 
#
 
# Target:  rigel:/
 
#
 
 
# MQSERIES                      6.0.0.0        WebSphere MQ for HP-UX
 
  MQSERIES.MQM-BASE             6.0.0.0        WebSphere MQ SDK fileset
 
  MQSERIES.MQM-CL-HPUX          6.0.0.0        WebSphere MQ Client for HP-UX
 
  MQSERIES.MQM-JAVA             6.0.0.0        WebSphere MQ Java Client, JMS and SOAP support
 
  MQSERIES.MQM-JAVASDK          6.0.0.0        HP SDK for J2SE HP-UX 11i platform
 
  MQSERIES.MQM-KEYMAN           6.0.0.0        WebSphere MQ SSL Key management
 
  MQSERIES.MQM-MAN              6.0.0.0        WebSphere MQ man pages
 
  MQSERIES.MQM-MC-CHINES        6.0.0.0        WebSphere MQ Message catalog for Simplified Chinese
 
  MQSERIES.MQM-MC-CHINET        6.0.0.0        WebSphere MQ Message catalog for Traditional Chinese
 
  MQSERIES.MQM-MC-FRENCH        6.0.0.0        WebSphere MQ Message catalog for French
 
  MQSERIES.MQM-MC-GERMAN        6.0.0.0        WebSphere MQ Message catalog for German
 
  MQSERIES.MQM-MC-ITALIAN       6.0.0.0        WebSphere MQ Message catalog for Italian
 
  MQSERIES.MQM-MC-JAPAN         6.0.0.0        WebSphere MQ Message catalog for Japanese
 
  MQSERIES.MQM-MC-KOREAN        6.0.0.0        WebSphere MQ Message catalog for Korean
 
  MQSERIES.MQM-MC-PORT          6.0.0.0        WebSphere MQ Message catalog for Portuguese
 
  MQSERIES.MQM-MC-SPANISH       6.0.0.0        WebSphere MQ Message catalog for Spanish
 
  MQSERIES.MQM-RUNTIME          6.0.0.0        WebSphere MQ Runtime fileset
 
  MQSERIES.MQM-SAMPLES          6.0.0.0        WebSphere MQ Sample programs
 
  MQSERIES.MQM-SERVER           6.0.0.0        WebSphere MQ Server fileset
 
  MQSERIES.MQM-TXCLIENT         6.0.0.0        WebSphere MQ Transactional Client
 
$ | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				do you have the symlink and the file I posted? _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dkoushik | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 9:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 08 Aug 2006 Posts: 16
  
  | 
		  
		    
			  
				I didn't find ant symlink.. 
 
which file you are  talking about ?
 
 
FYI. I have a similar setup in Linux which is in prod. In linux everything is fine ..crtmqm is under /usr/bin/ 
 
like,
 
[xmuser@wgcwebsphere04 cq]$ ls -la /usr/bin/crtmqm
 
lrwxrwxrwx    1 root     root           19 May 12 01:48 /usr/bin/crtmqm -> /opt/mqm/bin/crtmqm
 
 
as you said. This is working perfectly. 
 
 
But in the unix box i didn't fine any MQ control command under /usr/bin/ like Linux. 
 
 
I am not sure what went wrong with the unix box.
 
 
anyone suggest uninstall and install again ? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Thu Sep 07, 2006 10:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				Yes, uninstall and reinstall.... _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Philip Morten | 
		  
		    
			  
				 Posted: Fri Sep 08, 2006 1:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park 
  | 
		  
		    
			  
				Try:
 
swverify  MQSERIES.MQM-SERVER
 
 and
 
swlist -l files  MQSERIES.MQM-SERVER 
 
 
something seems to be broken in this installation _________________ Philip Morten
 
 
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |