Author |
Message
|
lohit |
Posted: Tue Jun 03, 2003 9:56 pm Post subject: [Solved] Mqseries kill -9 -1 |
|
|
Novice
Joined: 29 May 2003 Posts: 20
|
Hi,
I was trying to install a patch for Mqseries 5.2 on Solaris
I did a pretty idiotic thing and killed all the processes using kill -9 -1.
Now I have no idea how to get Mqseries up and running again.
Is there a command or shell script that can restart mqseries on Solaris.
Please help.
Thanks
Lohit |
|
Back to top |
|
 |
interactivechannel |
Posted: Wed Jun 04, 2003 12:28 am Post subject: |
|
|
Voyager
Joined: 20 May 2003 Posts: 94 Location: uk
|
Assuming there aren't any semaphores left from the previous processes. strmqm <qmgr name> |
|
Back to top |
|
 |
lohit |
Posted: Wed Jun 04, 2003 12:32 am Post subject: |
|
|
Novice
Joined: 29 May 2003 Posts: 20
|
Hi
the command strmqm <qmgr name>, doesnt seem to do anything!!
Also there are no processes of the user mqm, which were existing before the kill -9 -1 command.
Regards
Lohit |
|
Back to top |
|
 |
interactivechannel |
Posted: Wed Jun 04, 2003 2:33 am Post subject: |
|
|
Voyager
Joined: 20 May 2003 Posts: 94 Location: uk
|
Check the queue manager error log. |
|
Back to top |
|
 |
lohit |
Posted: Wed Jun 04, 2003 3:02 am Post subject: |
|
|
Novice
Joined: 29 May 2003 Posts: 20
|
The last log and error file entries for the queue manager are at the time the kill commnad was given
After that there are no entries for the strmqm commnad.
Before the kill command was given the following processes were running for the mqm user.
amqpcsea Command server
amqhasmx Logger
amqharmx Log formatter (linear logs only)
amqzllp0 Checkpoint processor
amqzlaa0 Queue manager agents
amqzfuma OAM process
amqzxma0 Processing controller
amqrrmfa Repository process (for clusters)
I tried running hte command server by giving the command strmqcsv, but this command too does not return.
Does the strmqm command fork the above processes or are these processes supposed to be running when strmqm command is give.
Thanks
Lohit |
|
Back to top |
|
 |
interactivechannel |
Posted: Wed Jun 04, 2003 4:33 am Post subject: |
|
|
Voyager
Joined: 20 May 2003 Posts: 94 Location: uk
|
strmqm does start those processes. Have you looked in /var/mqm/errors? and it's also worth checking /var/mqm/qmgrs/@SYSTEM/errors. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Jun 04, 2003 7:02 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You never said if there were any semaphores/shared memory left. I'd suggest running ipcs -s and ipcs -rm to remove any mqm related semaphores and memory. I'd then reboot (it can't hurt) and then try the strmqm command. If it still doesn't come up, I'd expect it to throw an *.FDC file in one of the errors subdirectories. Post the top of it here. |
|
Back to top |
|
 |
lohit |
Posted: Thu Jun 05, 2003 8:22 pm Post subject: |
|
|
Novice
Joined: 29 May 2003 Posts: 20
|
Thanks for the replies, was away yesterday and hence couldnt reply sooner.
I ran the ipcs command and removed the residual semaphore and shared memory.
I ran strmqm command and this time got error
Code: |
AMQ8101: Unexpected error (2195). |
Three .FDC files were generated, am posting the top of the largest one.
Hope this gives u a clue and me a solution.
Thanks a ton
Lohit
|
Code: |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Friday June 06 09:46:20 IST 2003 |
| Host Name :- Python |
| PIDS :- 5765B75 |
| LVLS :- 510 |
| Product Long Name :- MQSeries for Sun Solaris 2 (Sparc) |
| Vendor :- IBM |
| Probe Id :- HL081081 |
| Application Name :- MQM |
| Component :- sqlpgolf |
| Build Date :- Aug 14 2000 |
| UserID :- 00001004 (mqm) |
| Program Name :- amqzxma0_nd |
| Process :- 00003347 |
| Thread :- 00000001 |
| QueueManager :- MQSI_BROKER_QM |
| Major Errorcode :- xecF_E_UNEXPECTED_RC |
| Minor Errorcode :- STOP_ALL |
| Probe Type :- MSGAMQ6118
Minor Errorcode :- STOP_ALL |
| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal MQSeries error has occurred |
| (40406110) |
| Arith1 :- 1077960976 40406110 |
| |
+-----------------------------------------------------------------------------+
MQM Function Stack
kpiStartup
apiStartup
aocStartDAP
almStartup
alsInitGlobal
hlgStartLog
sqlpinit
sqlpgint
sqlpgolf
xcsFFST
MQM Trace History
--> xcsReleaseThreadMutexSem
<-- xcsReleaseThreadMutexSem rc=OK
--> xstAllocBlockInSharedMemSet
--> xstAllocBlockInAnExtentOnList
--> xstSerialiseExtentList
--> xllSpinLockRequest
<-- xllSpinLockRequest rc=OK
<-- xstSerialiseExtentList rc=OK
--> xstAllocBlockInExtent
--> xstSerialiseExtent
--> xllSpinLockRequest
<-- xllSpinLockRequest rc=OK
<-- xstSerialiseExtent rc=OK
--> xstAllocateChunk
<-- xstAllocateChunk rc=OK
--> xihHANDLEtoSUBPOOLFn
--> xihGetConnSPDetailsFromList
--> xihGetConnSPDetails
<-- xihGetConnSPDetails rc=OK
<-- xihGetConnSPDetailsFromList rc=OK
<-- xihHANDLEtoSUBPOOLFn rc=OK
--> xclCSCreateMutex |
|
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jun 06, 2003 9:45 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The FDC doesn't really tell me anything. Can you post the tops of the other two? Also, the LVLS of the FDC indicates that you are running the 5.1 version of the code. This has been out of support for about 6 months. I'd suggest upgrading. |
|
Back to top |
|
 |
lohit |
Posted: Sun Jun 08, 2003 10:42 pm Post subject: |
|
|
Novice
Joined: 29 May 2003 Posts: 20
|
PFA the contents of the two FDC's. I have installed 5.2 version and not 5.1
Thanks & Regards
Lohit
Code: |
+-----------------------------------------------------------------------------+
| |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Monday June 09 09:08:46 IST 2003 |
| Host Name :- Python |
| PIDS :- 5765B75 |
| LVLS :- 510 |
| Product Long Name :- MQSeries for Sun Solaris 2 (Sparc) |
| Vendor :- IBM |
+-----------------------------------------------------------------------------+
| |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Monday June 09 09:08:46 IST 2003 |
| Host Name :- Python |
| PIDS :- 5765B75 |
| LVLS :- 510 |
| Product Long Name :- MQSeries for Sun Solaris 2 (Sparc) |
| Vendor :- IBM |
| Probe Id :- ZS128002 |
| Application Name :- MQM |
| Component :- zslCheckIfLicensed |
| Build Date :- Aug 14 2000 |
| UserID :- 00001004 (mqm) |
| Program Name :- strmqm |
| Process :- 00005805 |
| Thread :- 00000003 |
| Major Errorcode :- xecF_E_UNEXPECTED_RC |
| Minor Errorcode :- zrc_CSPRC_PROD_LIC_NOT_INSTALLED |
| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal MQSeries error has occurred |
| (20007157) |
| Arith1 :- 536899927 20007157 |
| |
+-----------------------------------------------------------------------------+
MQM Function Stack
zslCheckIfLicensed |
Code: |
+-----------------------------------------------------------------------------+
| |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Monday June 09 09:08:47 IST 2003 |
| Host Name :- Python |
| PIDS :- 5765B75 |
| LVLS :- 510 |
| Product Long Name :- MQSeries for Sun Solaris 2 (Sparc) |
| Vendor :- IBM |
| Probe Id :- HL081081 |
| Application Name :- MQM |
| Component :- sqlpgolf |
| Build Date :- Aug 14 2000 |
| UserID :- 00001004 (mqm) |
| Program Name :- amqzxma0_nd |
| Process :- 00005806 |
| Thread :- 00000001 |
| QueueManager :- MQSI_BROKER_QM |
| Major Errorcode :- xecF_E_UNEXPECTED_RC |
| Minor Errorcode :- STOP_ALL |
| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal MQSeries error has occurred |
| (40406110) |
| Arith1 :- 1077960976 40406110 |
| |
+-----------------------------------------------------------------------------+
MQM Function Stack
MQM Function Stack
kpiStartup
apiStartup
aocStartDAP
almStartup
alsInitGlobal
hlgStartLog
sqlpinit
sqlpgint
sqlpgolf
xcsFFST
MQM Trace History
--> xcsReleaseThreadMutexSem
<-- xcsReleaseThreadMutexSem rc=OK
--> xstAllocBlockInSharedMemSet
--> xstAllocBlockInAnExtentOnList
--> xstSerialiseExtentList
--> xllSpinLockRequest
<-- xllSpinLockRequest rc=OK
<-- xstSerialiseExtentList rc=OK
--> xstAllocBlockInExtent
--> xstSerialiseExtent
--> xllSpinLockRequest
<-- xllSpinLockRequest rc=OK
<-- xstSerialiseExtent rc=OK
--> xstAllocateChunk
<-- xstAllocateChunk rc=OK
--> xihHANDLEtoSUBPOOLFn
--> xihGetConnSPDetailsFromList
--> xihHANDLEtoSUBPOOLFn
--> xihGetConnSPDetailsFromList
--> xihGetConnSPDetails
<-- xihGetConnSPDetails rc=OK
<-- xihGetConnSPDetailsFromList rc=OK
<-- xihHANDLEtoSUBPOOLFn rc=OK
--> xclCSCreateMutex
--> xcsAllocateQuickCell
--> xllSpinLockRequest
<-- xllSpinLockRequest rc=OK
--> xstAllocateCell
<-- xstAllocateCell rc=OK
--> xllSpinLockRelease
<-- xllSpinLockRelease rc=OK
<-- xcsAllocateQuickCell rc=OK
--> xllSpinLockInit
--> xllOSSpinLockInit
<-- xllOSSpinLockInit rc=OK
<-- xllSpinLockInit rc=OK
--> xllSpinLockRequest
<-- xllSpinLockRequest rc=OK
--> xllSpinLockRelease
<-- xllSpinLockRelease rc=OK
<-- xclCSCreateMutex rc=OK
--> xstInitialiseBlock
<-- xstInitialiseBlock rc=OK
--> xstReleaseSerialisationOnExtent
--> xllSpinLockRelease
<-- xllSpinLockRelease rc=OK
<-- xstReleaseSerialisationOnExtent rc=OK
<-- xstAllocBlockInExtent rc=OK |
|
|
Back to top |
|
 |
lohit |
Posted: Mon Jun 23, 2003 3:30 am Post subject: |
|
|
Novice
Joined: 29 May 2003 Posts: 20
|
Hi,
My mistake, the package was updating the 5.2 version to 5.1 and hence it was leading to problems
I downloaded the correct packages and now it is working fine.
Thanks
Lohit |
|
Back to top |
|
 |
|