| Author | 
		  Message
		 | 
		
		  | MB Developer | 
		  
		    
			  
				 Posted: Sat Jul 12, 2014 3:23 am    Post subject: MQ Installation in CentOS MQExplorer problem | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 03 Feb 2014 Posts: 179
  
  | 
		  
		    
			  
				Hi Experts,
 
Greetings......
 
 
OS : CentOS
 
MQ V8 64 bit
 
 
MQ is installed in CentOS but when I run strmqcfg then an error occurred.
 
 
 
bash-4.1$ ./dspmqver
 
Name:        WebSphere MQ
 
Version:     8.0.0.0
 
Level:       p000-L140506
 
BuildType:   IKAP - (Production)
 
Platform:    WebSphere MQ for Linux (x86-64 platform)
 
Mode:        64-bit
 
O/S:         Linux 2.6.32-431.el6.x86_64
 
InstName:    Installation1
 
InstDesc:    
 
Primary:     No
 
InstPath:    /opt/mqm
 
DataPath:    /var/mqm
 
MaxCmdLevel: 800
 
LicenseType: Trial
 
 
ERROR :
 
 
bash-4.1$ ./strmqcfg
 
bash: ./strmqcfg: No such file or directory
 
bash-4.1$ cd /opt/mqm/bin
 
bash-4.1$ ./strmqcfg
 
No protocol specified
 
MQExplorer: Cannot open display: 
 
No protocol specified
 
No protocol specified
 
MQExplorer: Cannot open display: 
 
MQExplorer:
 
An error has occurred. See the log file
 
/var/mqm/IBM/WebSphereMQ/workspace-Installation1/.metadata/.log.
 
bash-4.1$
 
 
 
So please tell me what is the solution...
 
 
How to open MQExplorer in CentOS 6 
 
 
 
Thanks,
 
MB Developer _________________ Thanks.... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Sat Jul 12, 2014 5:16 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				Is the account you are using a member of the 'mqm' group?
 
 
I just did a test using CentOS 7 and WMQ 8.0.0.0.
 
 
I added the account I was using (not root) to the mqm group and logged out/logged in again.
 
 
Then I did in a terminal
 
   
	| Code: | 
   
  
	
 
PATH=$PATH:/opt/mqm/bin
 
export PATH
 
 | 
   
 
 
 
Then commands like dspmq etc run without you having to supply the full path name.
 
 
Then I created a qmgr
 
started it (from the command line)
 
then did
 
 
 
Everything is working for me. All pretty basic stuff really. _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Sat Jul 12, 2014 5:39 am    Post subject: Re: MQ Installation in CentOS MQExplorer problem | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				
   
	| MB Developer wrote: | 
   
  
	
 
...
 
MQExplorer: Cannot open display: 
 
MQExplorer:
 
An error has occurred. See the log file
 
/var/mqm/IBM/WebSphereMQ/workspace-Installation1/.metadata/.log.
 
bash-4.1$ 
 
 
So please tell me what is the solution...
 
 
How to open MQExplorer in CentOS 6 
 
 
 
Thanks,
 
MB Developer | 
   
 
 
Do you look at the log file? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | markt | 
		  
		    
			  
				 Posted: Sat Jul 12, 2014 5:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 14 May 2002 Posts: 512
  
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| MQExplorer: Cannot open display:  | 
   
 
 
Standard X error message that you will get from any X Window application when the display is not defined or is inaccessible. 
 
 
Nothing specifically to do with MQ Explorer. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | MB Developer | 
		  
		    
			  
				 Posted: Sun Jul 13, 2014 7:36 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 03 Feb 2014 Posts: 179
  
  | 
		  
		    
			  
				Hai smdavies99,
 
 
   
	| smdavies99 wrote: | 
   
  
	Is the account you are using a member of the 'mqm' group?
 
 | 
   
 
 
 
Thanks for giving response.
 
 
Yes My account is added to mqm group. _________________ Thanks.... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | MB Developer | 
		  
		    
			  
				 Posted: Sun Jul 13, 2014 8:14 pm    Post subject: Re: MQ Installation in CentOS MQExplorer problem | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 03 Feb 2014 Posts: 179
  
  | 
		  
		    
			  
				
   
	| bruce2359 wrote: | 
   
  
	
   
	| MB Developer wrote: | 
   
  
	
 
...
 
MQExplorer: Cannot open display: 
 
MQExplorer:
 
An error has occurred. See the log file
 
/var/mqm/IBM/WebSphereMQ/workspace-Installation1/.metadata/.log.
 
bash-4.1$ 
 
 
So please tell me what is the solution...
 
 
How to open MQExplorer in CentOS 6 
 
 
 
Thanks,
 
MB Developer | 
   
 
 
Do you look at the log file? | 
   
 
 
 
 
Hi bruce,
 
 
 
Yes I goto /var/mqm/IBM/WebSphereMQ/workspace-Installation1 path but after this there is no ".metadata and .log " files. _________________ Thanks.... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | MB Developer | 
		  
		    
			  
				 Posted: Sun Jul 13, 2014 8:24 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 03 Feb 2014 Posts: 179
  
  | 
		  
		    
			  
				Hi smdavies99,bruce2359 and markt,
 
 
Thanks for response .....
 
 
strmqcfg is working fine in cmd prompt.... 
 
 
and another way to open Explorer is Applications --> Programming --> IBM WMQ Explorer . 
 
 
   _________________ Thanks.... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |