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
xxxxxxxxxxxx wrote:
>On Tue, 14 Jan 2003, Frank Sfalanga, Jr. wrote:
>
>
>>I'm aware of the race condition in versions prior to 4.1.5 - we plan to
>>upgrade soon. In the interim, is there a command I can use to reset the
>>modem manually?
>>
>>
>
>You need to kill faxgetty. If you start faxgetty from inittab, it will
>start automaticaly.
>
Killing faxgetty seems to work but I have two modems in this machine and I don't want to restart faxgetty
on the non-stuck modem if I don't have to, right?
This is the output of `ps axlw` (at least the part having to do with faxgetty)
100 10 20274 1 8 0 4012 1972 do_sel S ? 0:02 /usr/sbin/faxgetty ttyS1
100 10 3075 1 8 0 4012 1968 do_sel S ? 0:00 /usr/sbin/faxgetty ttyS0
If I do this:
[root@akita root]# killall faxgetty
It kills both of the processes and they respawn fine. No problem.
How can I get just ONE of the modems to reset? I've tried these combinations:
[root@akita root]# kill "faxgetty ttyS0"
-bash: kill: faxgetty ttyS0: no such pid
[root@akita root]# killall faxgetty ttyS0
ttyS0: no process killed
[root@akita root]# killall 'faxgetty ttyS0'
faxgetty ttyS0: no process killed
[root@akita root]# killall "faxgetty ttyS0"
faxgetty ttyS0: no process killed
[root@akita root]# killall \"faxgetty ttyS0\"
"faxgetty: no process killed
ttyS0": no process killed
Should I write a scipt that greps for the PID and then kills the process using the PID instead? How should I best do this?
Thanks,
- Frank
____________________ 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@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*