|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
listener just stopped without any obvious reason |
« View previous topic :: View next topic » |
Author |
Message
|
wilsonho3 |
Posted: Wed Jun 18, 2008 12:34 am Post subject: listener just stopped without any obvious reason |
|
|
Voyager
Joined: 20 Nov 2001 Posts: 98 Location: Hong Kong
|
I have a MQ server that running several MQ managers, this is the staring script:
----------------------------------------------------------------------
USAGE="Usage: `basename $0` <start|stop>"
MQLOG=/tmp/mqlog_dev
if [ "$#" -lt 1 ]
then
echo $USAGE
exit 1
fi
if [ $1 = "start" ]
then
echo "starting up mq server"
MQM_DIR=`/bin/csh -fc 'echo ~mqm/bin'`
echo $MQM_DIR
$MQM_DIR/strmqm EQUITY.ZEUS_QM3.DEV >>$MQLOG 2>&1
$MQM_DIR/strmqm EQUITY.ZEUS_QM4.DEV >>$MQLOG 2>&1
$MQM_DIR/strmqm EQUITY.ZEUS_QM5.DEV >>$MQLOG 2>&1
$MQM_DIR/strmqm EQUITY.ZEUS_QM6.DEV >>$MQLOG 2>&1
#sleep 5
# $MQM_DIR/runmqlsr -m EQUITY.ZEUS_QM3.DEV -t TCP -p 1418 & >>$MQLOG 2>&1
# $MQM_DIR/runmqlsr -m EQUITY.ZEUS_QM4.DEV -t TCP -p 1419 & >>$MQLOG 2>&1
# $MQM_DIR/runmqlsr -m EQUITY.ZEUS_QM5.DEV -t TCP -p 1420 & >>$MQLOG 2>&1
# $MQM_DIR/runmqlsr -m EQUITY.ZEUS_QM6.DEV -t TCP -p 1421 & >>$MQLOG 2>&1
$MQM_DIR/strmqbrk -m EQUITY.ZEUS_QM3.DEV
else
echo "stopping mq server"
MQM_DIR=`/bin/csh -fc 'echo ~mqm/bin'`
echo $MQM_DIR
echo "Waiting for MQ manger to shut down"
sleep 10
$MQM_DIR/endmqm -w EQUITY.ZEUS_QM3.DEV;
$MQM_DIR/endmqm -w EQUITY.ZEUS_QM4.DEV;
$MQM_DIR/endmqm -w EQUITY.ZEUS_QM5.DEV;
$MQM_DIR/endmqm -w EQUITY.ZEUS_QM6.DEV;
fi
---------------------------------------------------------------------
The queue managers have been configurated to have
define listener(xxxxx) control(QMGR)
(it will start with the queue manager)
The server restart on every saturday mid-night, and restart, I
will check the MQ and listener status on every sunday and healthy. The strange
thing is that on every sunday about 11:55 at night, the listener will
stop suddently without any obvious error, the log message just describe
the listener process have been stopped. Every restart of MQ will have
such strange situation. I need to start the listener on every monday.
any idea why such thing happen, please advise?? |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Jun 18, 2008 1:25 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Quote: |
The server restart on every saturday mid-night, and restart, I
will check the MQ and listener status on every sunday and healthy. The strange
thing is that on every sunday about 11:55 at night, the listener will
stop suddently without any obvious error, the log message just describe
the listener process have been stopped. Every restart of MQ will have
such strange situation. I need to start the listener on every monday. |
do all the listeners stop or any one particular listener/port... _________________ Cheers |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Jun 18, 2008 4:55 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Do you have a firewall?
Is this restarted at ..... oh I don't know....lets say 11:55 every Sunday? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jun 18, 2008 6:03 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Does a CRON start this script?
How do you shut the qmgr(s) down? Is there a CRON that stops them? Are there other CRONs scheduled - one that stops listeners, for example?
Something that happens at exactly 11:55 each time most often leads back to something scheduled for that time. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|