cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5242
Views
39
Helpful
10
Replies

MGCP Process hung - how to kill process?

erickscisco
Level 1
Level 1

          Hi All,

I did a no MGCP on a 3725 and its been about half an hour.

When I go back and do mcgp it says

r-fwvpn02-il#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
r-fwvpn02-il(config)#mgcp
%MGCP-SHUTTING-DOWN, Cannot restart MGCP until it is finished shutting down

Is there a way to kill this process?

This is on my WAN router so I dont want to reboot the box.

Thanks All!

10 Replies 10

David Hailey
VIP Alumni
VIP Alumni

Unfortunately, I don't believe there is a way to kill a single process using PID in IOS.  I've heard debate on one side or the other but for MGCP, SCCP, etc...when they hang, the result (even after TAC case sometimes) is that a reboot is the workaround/fix.  Schedule some downtime and reboot is your best bet from my view.

Hailey

Alan Libbee
Level 1
Level 1

There is no way I am aware to kill the process, but usually it is hanging because there are active mgcp ports off hook. If you do a sh voice port sum, look for off hook ports and go and make them admin down. I just had this happen to me, I shut down 2 ports that were off hook and mgcp shut down. Or of course, you can reload the router.

This actually worked for restarting the mgcp proccess without a router reload.

Thank you.

Jitender Bhandari
Cisco Employee
Cisco Employee

It looks like you are running into the BUG below

 

https://tools.cisco.com/bugsearch/bug/CSCej32039/?reffering_site=dumpcr

 

Unfortunately there is not workaround that you can do to restart the MGCP stack, you will have to reload the gateway.

 

HTH

 

JB

Hi JB,

 

thanks for sharing the bug[+5]

 

I checked but this bug is not publicly available.

 

regds,

aman

Hi Aman,

 

it looks like the BUG was not documented correctly, i have pasted the content for details.

 

Symptoms: Once the mgcp command was shut down by
configuring the no mgcp, it cannot be
restarted by the mgcp command. The router has
to be reloaded to restart the mgcp command.

Conditions: This symptom has been observed when the
mgcp command was shut down by configuring the
no mgcp command.

Workaround: There is no workaround

 

HTH

 

JB

thnaks for reply.

 

Is this any router IOS specific?

 

regds,

aman

Aman,

 

It was first reported in 12.X train, but i can see it been reported on higher versions also.

 

HTH

 

JB

thanks for updates[+5]

 

regds,

aman

sk5525001
Level 1
Level 1

SDR_Lab(config)#mgcp
%MGCP-SHUTTING-DOWN, Cannot restart MGCP until it is finished shutting down

In this case, you have to look for any hung ports, make them admin down and then resetting MGCP will work

SDR_Lab(config)#no mgcp
SDR_Lab(config)#mgcp

 

Rgds,

Shridhar Kadolkar

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: