Author |
Message
|
brenti |
Posted: Wed Feb 18, 2004 6:49 am Post subject: CHANNEL DOES NOT START ON REBOOT |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
I am running v5.3 with CSD05 on Win2K. I have setup the MQSeries service to automatically restart. If i reboot the server i noticed that everything starts as before except for the Server channel. The status of this channel is stopped. I then have to do a manual start to get it running.
Can someone please explain this to me? :) |
|
Back to top |
|
 |
vennela |
Posted: Wed Feb 18, 2004 7:08 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Channels will not start automatically on a reboot or a QMGR start unless their DISINT is set to 0. For channels to start automatically when a message arrives, you have to use channel triggering.
Search this site for channel triggering and you will get lot of pointers. |
|
Back to top |
|
 |
brenti |
Posted: Wed Feb 18, 2004 9:33 am Post subject: |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
I checked the DISINT value and it is set to zero. So it can't be the cause.
I assume we are talking about the DISCONNECT INTERVAL? |
|
Back to top |
|
 |
euphoria |
Posted: Wed Feb 18, 2004 1:52 pm Post subject: |
|
|
Acolyte
Joined: 08 Feb 2004 Posts: 51
|
For the server channel to start (after a server restart), the corresponding requester channel must be up and running. Ensure that the server channel is fully qualified (ie connection name of the partner is specified). |
|
Back to top |
|
 |
brenti |
Posted: Wed Feb 18, 2004 2:52 pm Post subject: |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
The requestor channel is on the mainframe. The server channel is on a win2k platform. I started with both channels up and running. After a server reboot the server channel status is stopped and the requestor channels is inactive. I recently installed CSD05 and i am wondering if this is the cause? |
|
Back to top |
|
 |
JasonE |
Posted: Wed Feb 18, 2004 3:33 pm Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I dont know of anything in the fixpack 5 which would cause this. As it stands fixpack 5 was a very good fixpack.
So to confirm - You have a server/requestor channel pair, and it is started (running). You then shutdown and restart the MQ Service and it goes into a stopped state? Stopped is rare in that you normally only get into it with manual intervention.
Is this on MSCS or a normal machine? |
|
Back to top |
|
 |
brenti |
Posted: Wed Feb 18, 2004 3:42 pm Post subject: |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
I uninstalled CSD05 to see if it might be the cause. After i rebooted the server the server channel is inactive and the requestor channel is inactive. This makes more sense but i still would like server channel to be in a start status on a server reboot. Do i need to create a custom service and start the server channel using the runmqchl command? |
|
Back to top |
|
 |
brenti |
Posted: Wed Feb 18, 2004 3:51 pm Post subject: |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
No this isn't a MSCS. its a normal machine. |
|
Back to top |
|
 |
Bouzid |
Posted: Wed Feb 18, 2004 11:02 pm Post subject: Re: CHANNEL DOES NOT START ON REBOOT |
|
|
Newbie
Joined: 18 Feb 2004 Posts: 2 Location: Paris, France
|
brenti wrote: |
I am running v5.3 with CSD05 on Win2K. I have setup the MQSeries service to automatically restart. If i reboot the server i noticed that everything starts as before except for the Server channel. The status of this channel is stopped. I then have to do a manual start to get it running.
Can someone please explain this to me?  |
I had the same problem (MQ 5.3 CSD05 on Win NT), here is one solution :
Delete all messages in the SYSTEM.CHANNEL.SYNCQ, than restart the Channel. After reboot, you seen the Channel in staus 'inactive' ou 'started'. |
|
Back to top |
|
 |
brenti |
Posted: Thu Feb 19, 2004 10:02 am Post subject: |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
what is the SYSTEM.CHANNEL.SYNCQ used for? I tried to empty the queue and got a 2042 error. OBJECT IN USE. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Feb 19, 2004 10:13 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
It's where MQ 'persists' the current sequence number for every channel (amongst other things). So, if a channel is in a state other than Inactive, it probably is using it.
Clearing that queue will mean that all the channels will be 'out of sequence'. You will have to reset every channel to get these numbers back in sync.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
brenti |
Posted: Thu Feb 19, 2004 10:42 am Post subject: |
|
|
 Novice
Joined: 15 Sep 2003 Posts: 15 Location: Montreal, Quebec, Canada
|
I tried to empty the queue and i got a 2042. OBJECT IN USE.
How do i clear this queue if it is in use? |
|
Back to top |
|
 |
EddieA |
Posted: Thu Feb 19, 2004 12:54 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Use QSTATUS to see who has it open. Stop the Channels, with New State of Inactive. Clear the Queue. If that still doesn't clear, then use a program to read all the messages destructively.
Then get ready to reset all your channels.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Bouzid |
Posted: Mon Feb 23, 2004 2:42 am Post subject: |
|
|
Newbie
Joined: 18 Feb 2004 Posts: 2 Location: Paris, France
|
brenti wrote: |
I tried to empty the queue and i got a 2042. OBJECT IN USE.
How do i clear this queue if it is in use? |
Is the pb resolved?
If it is'nt, do like this :
- Stop all Sender Channels defined by users in the QM (not a SYSTEM channels)
- Empty the queue SYSTEM.CHANNEL.SYNCQ (with out errors!)
- Restart the Sender Channels
I think, it is not necessary to reset the channels.
... And the pb of 'Channel not restarted after reboot' will be resolved. |
|
Back to top |
|
 |
|