Author |
Message
|
shanu |
Posted: Thu Dec 14, 2006 7:18 pm Post subject: Queue Manager not starting:: S0000000.LOG missing |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
Following error was genearted while trying to start the Queue Manager.
Log file /var/mqm/log/QMSIT!ULK!MFG!URG!APO!UCLN1/active/S0000000.LOG could not
be opened for use. Possible reasons include the file being missing, the queue
manager being denied permission to open the file or the contents of the file
being incorrect.
ACTION:
If the log file was required to start the queue manager, ensure that the log
file exists and that the queue manager is able to read from and write to it. If
the log file was required to recreate an object from its media image and you do
not have a copy of the required log file, delete the object instead of
recreating it.
----------------
Since the file S0000000.LOG was missing [possibly deleted] . I created a new file with the same name . But still the QM cannot be started. What can be done to recover the Queue Manager now... |
|
Back to top |
|
 |
Tibor |
Posted: Thu Dec 14, 2006 10:15 pm Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Is there any FDC file in /var/mqm/errors?
Is the logging circular or linear? |
|
Back to top |
|
 |
Nigelg |
Posted: Fri Dec 15, 2006 2:01 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Quote: |
Since the file S0000000.LOG was missing [possibly deleted] . I created a new file with the same name |
Did it not occur to you that the file might need to contain the correct data? Why did you imagine that just creating a file of the same name would hve any effect at all?
There is an answer to your question. Since the file is somehow missing from your system, you need to recreate the log files. Search in the forum
for the "cold start" procedure for replacing your log files, and next time be a bit more careful. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Dec 15, 2006 5:39 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
If
the log file was required to recreate an object from its media image and you do
not have a copy of the required log file, delete the object instead of
recreating it.
|
So you totally ignored this advice?  |
|
Back to top |
|
 |
shanu |
Posted: Fri Dec 15, 2006 5:52 am Post subject: Is the logging circular or linear?[/quote] |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 15, 2006 5:55 am Post subject: Re: Is the logging circular or linear?[/quote] |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shanu wrote: |
Logging is circular. |
So you need to:
a) Follow the advice given regarding cold starting a queue manager
b) Follow the advice given regarding reading the error messages & following the advice
c) Give serious thought to the permissions on the log directory to stop accidental deletion. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mvarghese |
Posted: Thu Dec 28, 2006 8:25 pm Post subject: |
|
|
Centurion
Joined: 27 Sep 2006 Posts: 141
|
strmqm -c -z QMgrName
-c Starts the queue manager, redefines the default and system objects, then stops the queue manager. (Use the crtmqm command to create the default and system objects for a queue manager.) Any existing system and default objects belonging to the queue manager are replaced if you specify this flag.
-z Suppresses error messages. This flag is used within WebSphere MQ to suppress unwanted error messages. Because using this flag could result in loss of information, do not use it when entering commands on a command line. QMgrName The name of a local queue manager to start, by default the default queue manager.
Try this option..may be helpful.. _________________ Jain Varghese |
|
Back to top |
|
 |
pathipati |
Posted: Thu Dec 28, 2006 8:45 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
I agree with mvarghese, but before trying that did you got the same exception with MQExplorer or amqmdain start qmgr |
|
Back to top |
|
 |
shanu |
Posted: Thu Dec 28, 2006 9:41 pm Post subject: |
|
|
 Acolyte
Joined: 03 Jun 2006 Posts: 60 Location: India
|
I had done cold restart and it has worked out for me.
I just created a dummy QM having the number of primary and secondary log values same as the corrupted QM
Copied the complete Log for the Dummy QM and moved to corrupted QM.
The QM started successfully but old messages were lost. |
|
Back to top |
|
 |
pathipati |
Posted: Thu Dec 28, 2006 9:43 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
|
Back to top |
|
 |
nab054371 |
Posted: Fri Jan 05, 2007 12:14 pm Post subject: |
|
|
Disciple
Joined: 15 Nov 2006 Posts: 173
|
Is there a way to check and see what fixpack I am currently on? |
|
Back to top |
|
 |
pathipati |
Posted: Fri Jan 05, 2007 12:40 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
for v 6.0
dspmqver
for 5.x
mqver |
|
Back to top |
|
 |
|