| Author | 
		  Message
		 | 
		
		  | mjoshi | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 11:07 am    Post subject: AMQ7047: Unexpected Error | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Mar 2007 Posts: 8
  
  | 
		  
		    
			  
				I am getting "Unexpected Error" on running the "mqver" comand and 
 
on running "dspmq" I see
 
AMQ7047: An unexpected error was encountered by a command.
 
 
Below is the head of the FDC file generated. "mqver" when run as "root" user runs fine. The permissions look okay on the directories.  
 
 
+-----------------------------------------------------------------------------+
 
|                                                                             |
 
| WebSphere MQ First Failure Symptom Report                                   | 
 
| =========================================                                   | 
 
|                                                                             |
 
| Date/Time         :- Monday April 23 14:37:24 EDT 2007                      | 
 
| Host Name         :- admabvaprod08 (Linux 2.4.21-47.EL)                     | 
 
| PIDS              :- 5724B4104                                              | 
 
| LVLS              :- 530.12  CSD12                                          | 
 
| Product Long Name :- WebSphere MQ for Linux for Intel                       | 
 
| Vendor            :- IBM                                                    | 
 
| Probe Id          :- XY077002                                               | 
 
| Application Name  :- MQM                                                    | 
 
| Component         :- xtrGetTraceLock                                        | 
 
| Build Date        :- Dec  8 2005                                            | 
 
| CMVC level        :- p530-12-L051208                                        | 
 
| Build Type        :- IKAP - (Production)                                    | 
 
| UserID            :- 00000507 (UNKNOWN)                                     | 
 
| Program Name      :- setmqcap                                               | 
 
| Thread-Process    :- 00005983                                               | 
 
| Thread            :- 00000001                                               | 
 
| ThreadingModel    :- LinuxThreads                                           | 
 
| LD_ASSUME_KERNEL  :- 2.4.19                                                 | 
 
| Major Errorcode   :- xecF_E_UNEXPECTED_SYSTEM_RC                            | 
 
| Minor Errorcode   :- OK                                                     | 
 
| Probe Type        :- MSGAMQ6119                                             | 
 
| Probe Severity    :- 2                                                      | 
 
| Probe Description :- AMQ6119: An internal WebSphere MQ error has occurred   |
 
|   ('13 - Permission denied' from semget.)                                   | 
 
| FDCSequenceNumber :- 0                                                      | 
 
| Arith1            :- 13 d                                                   | 
 
| Comment1          :- '13 - Permission denied' from semget.                  | 
 
|                                                                             |
 
+-----------------------------------------------------------------------------+ | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | knowhow | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 11:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 16 May 2006 Posts: 21
  
  | 
		  
		    
			  
				Hi,
 
 
Check the permissions on /var/mqm. I think /var/mqm should be owned by mqm user and mqm group.
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mjoshi | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 11:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Mar 2007 Posts: 8
  
  | 
		  
		    
			  
				
   
	| knowhow wrote: | 
   
  
	Hi,
 
 
Check the permissions on /var/mqm. I think /var/mqm should be owned by mqm user and mqm group.
 
 
Thanks. | 
   
 
 
 
It is owned by mqm:mqm | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | knowhow | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 11:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 16 May 2006 Posts: 21
  
  | 
		  
		    
			  
				And check this also...it is because of invalid security settings.
 
 
Solution 
 
 
Check the group file and make sure to have a colon (":") after the group entry. In this case it was missing and read as such:
 
 
"testuser::501"
 
 
It should have read:
 
 
"testuser::501:"  
 
 
Hope this helps.. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mjoshi | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 11:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Mar 2007 Posts: 8
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | knowhow | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 12:02 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 16 May 2006 Posts: 21
  
  | 
		  
		    
			  
				| Do you see anything in the error logs in /var/mqm/errors? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mjoshi | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 12:21 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Mar 2007 Posts: 8
  
  | 
		  
		    
			  
				This is from the AMQ log file
 
 
04/23/07  15:36:23
 
AMQ6183: An internal WebSphere MQ error has occurred.
 
 
EXPLANATION:
 
An error has been detected, and the WebSphere MQ error recording routine has
 
been called. The failing process is process 6514.
 
ACTION:
 
Use the standard facilities supplied with your system to record the problem
 
identifier, and to save the generated output files. Contact your IBM support
 
center.  Do not discard these files until the problem has been resolved.
 
----- amqxfdcx.c : 726 --------------------------------------------------------
 
04/23/07  15:36:23
 
AMQ6090: WebSphere MQ was unable to display an error message 893.
 
 
EXPLANATION:
 
MQ has attempted to display the message associated with return code hexadecimal
 
'893'.  The return code indicates that there is no message text associated with
 
the message. Associated with the request are inserts 0 : 0 :  :  : .
 
ACTION:
 
Use the standard facilities supplied with your system to record the problem
 
identifier, and to save the generated output files. Contact your IBM support
 
center.  Do not discard these files until the problem has been resolved.
 
------------------------------------------------------------------------------- | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Apr 23, 2007 2:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |