Author |
Message
|
GEMO! |
Posted: Thu Jan 20, 2005 9:13 am Post subject: Does the Qmgr needs the FDC files to restart? |
|
|
Apprentice
Joined: 08 Oct 2004 Posts: 33 Location: This World
|
HI MQ community
I've experiencing some problems to restar a Qmgr on Unix HP.
This is a weird history..., but...
1) The Qmgr did not working properly. The Filesystem was full.
2) Sundely the Qmgr was down.
3) I've made a backup of /var/mqm/errors and /var/mqm/qmgrs/QMgrname/errors
4) I've deleted the errors logs (FDC and amqerrorlog)
5) Sundely... the ghost (I think this ghost has a human hands) restarted the Qmgr
6) for 1 hr the Qmgrs was on Restarting status.
7) The amq process were killed in order to stop the process.
Now the Qmgr is worse.... now I could'nt restart it... Below is the last FDC file.
9) BTW... Does Somebody knows if the FDC files are errorlog filer are needed to restart the Qmgr....I know that this is false.. but ... Who knows the true?!
Any ideas?
My last try was...
I've retruned the backup files (errors files) to original source.. but on BINARY format... Does somebody knows if the Binary or ASCII format has anything to do with this?
FDC File -----------
+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Thursday January 20 08:55:44 EST 2005 |
| Host Name :- hp23 (HP-UX B.11.00) |
| PIDS :- 5724B4102 |
| LVLS :- 530.6 CSD06 |
| Product Long Name :- WebSphere MQ for HP-UX |
| Vendor :- IBM |
| Probe Id :- ZD008030 |
| Application Name :- MQM |
| Component :- zdmOpenDeferredQ |
| Build Date :- Feb 11 2004 |
| CMVC level :- p530-06-L040211 |
| Build Type :- IKAP - (Production) |
| UserID :- 00000104 (mqm) |
| Program Name :- amqzdmaa_nd |
| Process :- 00000233 |
| Thread :- 00000001 |
| QueueManager :- HSWT |
| Major Errorcode :- MQRC_RESOURCE_PROBLEM |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ0836 |
| Probe Severity :- 4 |
| Probe Description :- AMQ6090: WebSphere MQ was unable to display an error |
| message 836. |
| FDCSequenceNumber :- 0 |
| |
+-----------------------------------------------------------------------------+
MQM Function Stack
zdmAsyncInit
zdmOpenDeferredQ
xcsFFST
MQM Trace History
------} zcpReceiveOnPipe rc=OK
-----} ziiSendReceiveAgent rc=krcE_RESOURCE_PROBLEM
-----{ zcpDeleteMessage
-----} zcpDeleteMessage rc=OK
----} ziiMQOPEN rc=OK
---} zstMQOPEN rc=krcE_RESOURCE_PROBLEM
--} MQOPEN rc=krcE_RESOURCE_PROBLEM
--{ MQOPEN
---{ zstMQOPEN
----{ zstVerifyPCD
----} zstVerifyPCD rc=OK
----{ ziiMQOPEN
-----{ ziiCreateIPCCMessage
------{ zcpCreateMessage
------} zcpCreateMessage rc=OK
-----} ziiCreateIPCCMessage rc=OK
-----{ ziiSendReceiveAgent
------{ zcpSendOnPipe
-------{ xcsResetEventSem
-------} xcsResetEventSem rc=OK
-------{ xcsPostEventSem
-------} xcsPostEventSem rc=OK
------} zcpSendOnPipe rc=OK
------{ zcpReceiveOnPipe
-------{ xcsWaitEventSem
-------} xcsWaitEventSem rc=OK
------} zcpReceiveOnPipe rc=OK
-----} ziiSendReceiveAgent rc=krcE_RESOURCE_PROBLEM
-----{ zcpDeleteMessage
-----} zcpDeleteMessage rc=OK
----} ziiMQOPEN rc=OK
---} zstMQOPEN rc=krcE_RESOURCE_PROBLEM
--} MQOPEN rc=krcE_RESOURCE_PROBLEM
etc...
Thanks  _________________ GEMO! |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 20, 2005 10:29 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
No the MQManager doesn't need the *.FDC logs to start. I am sure of this.
But I think it does need the /var/mqm/error/AMQERR0*.LOG's and /var/mqm/qmgrs/QMGR/errors/AMQERR0*.LOG's to restart. I could be wrong.
Further, one should, as a general rule, never tamper with the files in /var/mqm/log/QMGR/active except to archive them if you are using Linear Logging. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jan 20, 2005 10:39 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The AMQERR*.LOG files are NOT needed to start the qmgr. If you haven't rebooted your machine, I'd give that a try to see if it frees up any resources that might be locked. I'd also suggest that you double-check your filesystem to make sure it isn't full again. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 20, 2005 12:04 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
What about the @system/AMQERR0*.LOG's? _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
GEMO! |
Posted: Thu Jan 20, 2005 12:48 pm Post subject: Now the Log is not available... |
|
|
Apprentice
Joined: 08 Oct 2004 Posts: 33 Location: This World
|
The file system was increased.. now I have 42% free.
Burt now the "strmqm" replay a "the log is not available".....
Any ideas.. Im working on It...
The @systems/log ... I will check them
thanks  _________________ GEMO! |
|
Back to top |
|
 |
EddieA |
Posted: Thu Jan 20, 2005 1:11 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Are you sure you didn't clear out /var/mqm/log as well. If you did, I hope you've got a good back-up of your QM, because you're going to need it.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Last edited by EddieA on Thu Jan 20, 2005 1:11 pm; edited 1 time in total |
|
Back to top |
|
 |
vennela |
Posted: Thu Jan 20, 2005 1:11 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If it says LOG not available, you should be checking
/var/mqm/log/<QMGRNAME>/active and see if the log files are available. Not the error logs |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jan 20, 2005 1:11 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
csmith28 wrote: |
What about the @system/AMQERR0*.LOG's? |
These aren't needed to start the qmgr either. |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Jan 20, 2005 2:39 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
vennela wrote: |
If it says LOG not available, you should be checking
/var/mqm/log/<QMGRNAME>/active and see if the log files are available. Not the error logs |
Indeed.
@bower
I wasn't real sure about the /var/mqm/errors and /var/mqm/qmgrs/QMGR/errors/AMQERR0*.LOG file.
I once witnessed the AMQERR0*.LOG file being created dynamically in /var/mqm/errors when I discovered that the acl's were wrong for that filesystem. I noticed that mqm didn't have permission to write to /var/mqm/errors and there were no AMQERR0*.LOG's there so I changed the acl's and killed an amqrsta process (on a dev box). Poof AMQEER01.LOG was created along with a couple .FDC files. I thought the @system/AMQERR0*.LOG's were a template. Wrong again I guess.
Anyway I digress.
@GEMO, if you did anything to the /var/mqm/log/QMGR/active files you will need to restore them before you can restart the MQManager.
Looking forward, in future installations of WMQ Server you may want to explore the possibilities of creating separate filesystems for;
/usr/mqm
/var/mqm
/var/mqm/errors
/var/mqm/log _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|