How do I stop asterisk when it is in a bad mood? It keeps dialing extensions and won't listen! I tried kill <PID>. No go. I don't want to have to reboot again. Thanks. Jim Friedeck P.S. I love it when my boss looks over my shoulder and I don't have an answer when he says: 'So, what are you doing?'
kill -9 <PID> -- Todd Lieberman 800-675-3078 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Jim Friedeck Sent: Friday, August 08, 2003 5:50 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Killing runaway PBX How do I stop asterisk when it is in a bad mood? It keeps dialing extensions and won't listen! I tried kill <PID>. No go. I don't want to have to reboot again. Thanks. Jim Friedeck P.S. I love it when my boss looks over my shoulder and I don't have an answer when he says: 'So, what are you doing?' _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Try first to stop it : asterisk -rx "stop now" then killall -9 asterisk On Fri, 8 Aug 2003, Jim Friedeck wrote:> How do I stop asterisk when it is in a bad mood? It keeps dialing > extensions and won't listen! I tried kill <PID>. No go. I don't want to > have to reboot again. Thanks. > > Jim Friedeck > > P.S. I love it when my boss looks over my shoulder and I don't have an > answer when he says: 'So, what are you doing?' > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
firedude@shorelinuxsolutions.com
2003-Aug-08 15:20 UTC
[Asterisk-Users] Killing runaway PBX
Try kill -9. Also make sure there's not more incidence of it running. I don't know if this is the case with asterisk but some programs spawn multiple processes. If your using RedHat and you've installed the startup scripts you can execute /etc/rc.d/init.d/asterisk stop. You can replace stop with start or restart as well. AJ On Fri, 8 Aug 2003, Jim Friedeck wrote:> How do I stop asterisk when it is in a bad mood? It keeps dialing > extensions and won't listen! I tried kill <PID>. No go. I don't want to > have to reboot again. Thanks. > > Jim Friedeck > > P.S. I love it when my boss looks over my shoulder and I don't have an > answer when he says: 'So, what are you doing?' > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >