Author |
Message
|
MB Developer |
Posted: Fri Jun 13, 2014 9:18 pm Post subject: Cold and Restart is not working |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
HI All,
I have a some problem in cold and restart of queue manager..
OS : Windows 7
Name: WebSphere MQ
Version: 7.0.1.3
C:\Windows\system32>dspmq -m MQQ
QMNAME(MQQ) STATUS(Running)
C:\Windows\system32>endmqm MQQ
Quiesce request accepted. The queue manager will stop when all outstanding work
is complete.
----> Now I goto MQQ log directory i.e "C:\Program Files (x86)\IBM\WebSphere MQ\log\MQQ\active" and delete one log file.
---> If I try to start Queue Manager then It will show an error AMQ7017
C:\Windows\system32>strmqm MQQ
There are 85 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'MQQ' starting.
AMQ7017: Log not available.
---> Now I create Dummy Queue Manager and copy all log file from DUMMY Queue Manager to MQQ and try to start MQQ but again it will show same error..
C:\Windows\system32>crtmqm DUMMY
There are 85 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory 'C:\Program Files (x86)\IBM\WebSphere MQ\qmgrs\DUMMY' created.
Creating or replacing default objects for DUMMY.
Default objects statistics : 68 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
C:\Windows\system32>strmqm MQQ
There are 85 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'MQQ' starting.
AMQ7017: Log not available.
C:\Windows\system32>strmqm MQQ
There are 85 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'MQQ' starting.
AMQ7017: Log not available.
C:\Windows\system32>dspmq
QMNAME(DUMMY) STATUS(Running)
QMNAME(MB8QMGR) STATUS(Running)
QMNAME(MQQ) STATUS(Ended unexpectedly)
---> I want to start MQQ is there any problem with above procedure and is there any other way to start QUEUE MANAGER if log files are deleted....
Thanks in Advance, |
|
Back to top |
|
 |
exerk |
Posted: Sat Jun 14, 2014 1:43 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Did you also copy across the lfh file? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
MB Developer |
Posted: Sat Jun 14, 2014 2:32 am Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
exerk wrote: |
Did you also copy across the lfh file? |
Hi exerk,
before I post this I am not copy lfh file,Now I copy lfh file and start MQQ but it is not running same error is came.
C:\Windows\system32>strmqm MQQ
There are 85 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'MQQ' starting.
AMQ7017: Log not available.
Thanks... |
|
Back to top |
|
 |
exerk |
Posted: Sat Jun 14, 2014 2:50 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
I suggest you read THIS. If you're doing this purely as an exercise, did you create the dummy queue manager with the same parameters as the 'dead' one, and not start the dummy? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
MB Developer |
Posted: Tue Jun 24, 2014 8:08 pm Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi All,
Thanks for response ...
Sorry for delay...
Cold and Restart is working
1. Create a QMGR QM1
2. Delete one log file and start it then AMQ7017 error occurred.
3. Create DUMMY Qmgr
4. Delete active and .lfh from QM1.
5. Copy active and .lfh from DUMMY qmgr log path and paste it into QM1 log path.
6. Start QM1 now it's working....
Thanks..... |
|
Back to top |
|
 |
rcp_mq |
Posted: Thu Jul 03, 2014 1:12 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
Just call 'Cold Start'. You don't need to freeze anything before starting. |
|
Back to top |
|
 |
MB Developer |
Posted: Thu Jul 03, 2014 1:28 am Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
ok rcp_mq...... _________________ Thanks.... |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Jul 03, 2014 5:00 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Remember, a "Cold Start" is a last ditch effort to restart a damaged Qmgr (probably because you have no backup and have not saved the Qmgr's definitions). It is never supported. |
|
Back to top |
|
 |
|