asterisk -rx "restart now"
Posted: Sun Jun 20, 2010 4:35 pm
Asterisk flipped out (using 200% of CPU when idle) and I wanted to restart it. However, asterisk -rx "restart now" did nothing. Neither did "stop now".
I simply rebooted the box and everything went back to normal, but I've been searching the forums here since for the proper way to restart asterisk on a vicibox install without a full shutdown -r. I have been unable to find a post.
I tried "service vicidial restart" but I just managed to break everything.
I was going to install monit on this box to automatically restart asterisk if it flipped out again, but if -rx restart now isn't an option I'm not sure how to get a watchdog on the process.
I simply rebooted the box and everything went back to normal, but I've been searching the forums here since for the proper way to restart asterisk on a vicibox install without a full shutdown -r. I have been unable to find a post.
I tried "service vicidial restart" but I just managed to break everything.
I was going to install monit on this box to automatically restart asterisk if it flipped out again, but if -rx restart now isn't an option I'm not sure how to get a watchdog on the process.