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 » AMQ7047: Unexpected Error

Post new topic  Reply to topic
 AMQ7047: Unexpected Error « View previous topic :: View next topic » 
Author Message
mjoshi
PostPosted: Mon Apr 23, 2007 11:07 am    Post subject: AMQ7047: Unexpected Error Reply with quote

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
View user's profile Send private message
knowhow
PostPosted: Mon Apr 23, 2007 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
mjoshi
PostPosted: Mon Apr 23, 2007 11:21 am    Post subject: Reply with quote

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
View user's profile Send private message
knowhow
PostPosted: Mon Apr 23, 2007 11:21 am    Post subject: Reply with quote

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
View user's profile Send private message
mjoshi
PostPosted: Mon Apr 23, 2007 11:33 am    Post subject: Reply with quote

Newbie

Joined: 27 Mar 2007
Posts: 8

This looks fine too
Back to top
View user's profile Send private message
knowhow
PostPosted: Mon Apr 23, 2007 12:02 pm    Post subject: Reply with quote

Novice

Joined: 16 May 2006
Posts: 21

Do you see anything in the error logs in /var/mqm/errors?
Back to top
View user's profile Send private message
mjoshi
PostPosted: Mon Apr 23, 2007 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 23, 2007 2:38 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should confirm your kernel settings as described here:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amq1ac.doc/lq10410_.htm

Is it possible that you issued strmqm as root? This might have caused the semaphores to be owned by root instead of mqm (although strmqm should be a setuid/setgid program... )

What does ipcs show?
_________________
I am *not* the model of the modern major general.
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 » AMQ7047: Unexpected Error
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.