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 » General Discussion » Queue Manager not starting:: S0000000.LOG missing

Post new topic  Reply to topic
 Queue Manager not starting:: S0000000.LOG missing « View previous topic :: View next topic » 
Author Message
shanu
PostPosted: Thu Dec 14, 2006 7:18 pm    Post subject: Queue Manager not starting:: S0000000.LOG missing Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Tibor
PostPosted: Thu Dec 14, 2006 10:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nigelg
PostPosted: Fri Dec 15, 2006 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Fri Dec 15, 2006 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message
shanu
PostPosted: Fri Dec 15, 2006 5:52 am    Post subject: Is the logging circular or linear?[/quote] Reply with quote

Acolyte

Joined: 03 Jun 2006
Posts: 60
Location: India

Logging is circular.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Vitor
PostPosted: Fri Dec 15, 2006 5:55 am    Post subject: Re: Is the logging circular or linear?[/quote] Reply with 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
View user's profile Send private message
mvarghese
PostPosted: Thu Dec 28, 2006 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
pathipati
PostPosted: Thu Dec 28, 2006 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
shanu
PostPosted: Thu Dec 28, 2006 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
pathipati
PostPosted: Thu Dec 28, 2006 9:43 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

nice to hear that.
Back to top
View user's profile Send private message Yahoo Messenger
nab054371
PostPosted: Fri Jan 05, 2007 12:14 pm    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2006
Posts: 173

Is there a way to check and see what fixpack I am currently on?
Back to top
View user's profile Send private message
pathipati
PostPosted: Fri Jan 05, 2007 12:40 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

for v 6.0
dspmqver

for 5.x
mqver
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Queue Manager not starting:: S0000000.LOG missing
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.