HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] "Waiting for modem to come ready" another



Alcorn, Brian C wrote:
Find the process number of the corresponding ttyIAX<num>

# kill -9 <process number>

This will kill the process for the corresponding wedged modem. If your system is set up properly, your modem will respawn automatically within seconds.

Modern versions of iaxmodem, when run in "daemon" mode will restart the modems by sending SIGHUP to the modem. If you do a 'kill -9' to a modem in daemon mode then it won't respawn.


Get the pid of the iaxmodem process:

lsof | grep `ls -l /dev/ttyIAX00 | sed 's/.* //'` | grep "^iaxmodem" | sed -e 's/^iaxmodem *//' -e 's/ .*//'

Send it SIGHUP:

kill -HUP <pid>

Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions