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 » AMQ8101 and '22 - Invalid argument' from semop

Post new topic  Reply to topic
 AMQ8101 and '22 - Invalid argument' from semop « View previous topic :: View next topic » 
Author Message
btjo
PostPosted: Wed Jul 07, 2004 10:14 am    Post subject: AMQ8101 and '22 - Invalid argument' from semop Reply with quote

Novice

Joined: 07 Jul 2004
Posts: 19

i have gone through all the posts which have AMQ8101 error ( and or " Invalid argument from semop " error ). All of which is related to the kernel parameters on UNIX systems. this was confirmed by searching the IBM tech support site also. i modified the following params but i still get the same error ( AMQ8101: WebSphere MQ error (893) has occurred.) when i try to start the queue manager (strmqm FMCQM).

set shmsys:shminfo_shmmni=2048 (was 1024)
set shmsys:shminfo_shmseg=2048 (")
set semsys:seminfo_semume=512 (was 256)
set rlim_fd_cur=2048 (was 1024)
set rlim_rd_cur=2048 (was 1024)
set rlim_fd_max=32768

all of these were bumped from their previous values and the Sun box was restarted. queue manager used to be up and running prior to this error so it has worked before.

the FDC generated is shown below.

Environment : Sun OS 8, MQ 5.3 CSD 06.


anyone has any ideas.



Code:


/var/mqm/errors>more AMQ01162.0.FDC                             
+-----------------------------------------------------------------------------+
|                                                                             |
| WebSphere MQ First Failure Symptom Report                                   |
| =========================================                                   |
|                                                                             |
| Date/Time         :- Wednesday July 07 11:43:37 CDT 2004                    |
| Host Name         :- appserv (SunOS 5.8)                                    |
| PIDS              :- 5724B4103                                              |
| LVLS              :- 530.6  CSD06                                           |
| Product Long Name :- WebSphere MQ for Sun Solaris                           |
| Vendor            :- IBM                                                    |
| Probe Id          :- XY324192                                               |
| Application Name  :- MQM                                                    |
| Component         :- GetSubpoolsLock                                        |
| Build Date        :- Feb 11 2004                                            |
| CMVC level        :- p530-06-L040211                                        |
| Build Type        :- IKAP - (Production)                                    |
| UserID            :- 00000886 (mqm)                                         |
| Program Name      :- setmqaut                                               |
| Process           :- 00001162                                               |
| Thread            :- 00000001                                               |
| 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   |
|   ('22 - Invalid argument' from semop.)                                     |
| FDCSequenceNumber :- 0                                                      |
| Arith1            :- 22 16                                                  |
| Comment1          :- '22 - Invalid argument' from semop.                    |
|                                                                             |
|                                                                             |
+-----------------------------------------------------------------------------+

Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jul 07, 2004 11:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

If you haven't seen this thread then this might help

http://www.mqseries.net/phpBB2/viewtopic.php?t=16085&highlight=xy324192
Back to top
View user's profile Send private message Send e-mail Visit poster's website
btjo
PostPosted: Wed Jul 07, 2004 11:19 am    Post subject: Reply with quote

Novice

Joined: 07 Jul 2004
Posts: 19

vennela wrote:
If you haven't seen this thread then this might help

http://www.mqseries.net/phpBB2/viewtopic.php?t=16085&highlight=xy324192



Vennela: Thanks for the reply. Yes i had seen that thread as well.

from that thread

Quote:


The parameter is semume on HP-UX and it is
seminfo_semume on Solaris. When the customer changed semume from
10 (too low) to 256 (as recommended in both QB books).



i have this as :

set semsys:seminfo_semume=512 (was 256)

as this seemed to have fixed one guy's problem when i searched IBM tech support site with keyworde AMQ8101 and Invalid error from semop and some other combinations.

some guys fixed the issue with some other params that i mentioned earlier also. (lucky!).

Very weird problem.
Back to top
View user's profile Send private message
bbburson
PostPosted: Wed Jul 07, 2004 1:16 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

Quote:
i still get the same error ( AMQ8101: WebSphere MQ error (893) has occurred.) when i try to start the queue manager (strmqm FMCQM).


Is this on UNIX? If so, use ipcs and ipcrm to find and remove memory, semaphores, and queues used by mqm.
Back to top
View user's profile Send private message
btjo
PostPosted: Wed Jul 07, 2004 2:34 pm    Post subject: Reply with quote

Novice

Joined: 07 Jul 2004
Posts: 19

bbburson wrote:
Quote:
i still get the same error ( AMQ8101: WebSphere MQ error (893) has occurred.) when i try to start the queue manager (strmqm FMCQM).


Is this on UNIX? If so, use ipcs and ipcrm to find and remove memory, semaphores, and queues used by mqm.



bbburson: Thanks for the reply. Yes the system is a solaris box. i used ipcs and ipcrm to remove the shared mem and semaphores which were used by mqm like you suggested.

tried strmqm FMCQM after that and the error is still there. It did not produce new error log or FDC though.
Back to top
View user's profile Send private message
kman
PostPosted: Wed Jul 07, 2004 6:22 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

How many queue managers do you have in your solaris system? Some of the kernel parameters is dependent on the number of queue managers on the system, so you might want to check that. The QB would mention that.

You said you still get the same error.. AMQ8101 but no new FDC. If the error is there, FDC must also be there. Maybe you are seeing and old one. Clear all your FDC and strmqm again.
Back to top
View user's profile Send private message Yahoo Messenger
btjo
PostPosted: Wed Jul 07, 2004 8:11 pm    Post subject: Reply with quote

Novice

Joined: 07 Jul 2004
Posts: 19

kman wrote:
How many queue managers do you have in your solaris system? Some of the kernel parameters is dependent on the number of queue managers on the system, so you might want to check that. The QB would mention that.

You said you still get the same error.. AMQ8101 but no new FDC. If the error is there, FDC must also be there. Maybe you are seeing and old one. Clear all your FDC and strmqm again.


@kman: Thanks for the reply. have 2 queue managers. i think all the relevant kernel parameters are set high enough to accomodate the two QM (thats what makes this weird).

is deleting any old FDC a critical step? (lame question, i wouldnt ask this if i were at the box and have the chance to try it myself).

thanks all.
Back to top
View user's profile Send private message
kman
PostPosted: Wed Jul 07, 2004 8:15 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

FDC is a diagnostic file. You can delete them.. and they will create new ones. If you don't delete them, they will stay there.

If you delete them... well you won't get confused .. that's all.
Back to top
View user's profile Send private message Yahoo Messenger
btjo
PostPosted: Fri Jul 09, 2004 10:04 am    Post subject: Reply with quote

Novice

Joined: 07 Jul 2004
Posts: 19

Backed out of CSD06 , rebooted. mqm commands started working again. reapplied CSD06. (had the whole mqm folder backed up before). everything is normal.
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 » AMQ8101 and '22 - Invalid argument' from semop
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.