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] Wedged modem



I'm not quite sure what you mean.. faxgetty runs whenever I start hylafax from /etc/init.d/hylafax start (actually, it's always running).

# /etc/init.d/hylafax stop

Nov 19 18:29:30 corasrv FaxGetty[16126]: CAUGHT SIGNAL 15
Nov 19 18:29:30 corasrv FaxGetty[16126]: CLOSE /dev/modem
Nov 19 18:29:30 corasrv FaxGetty[16128]: CAUGHT SIGNAL 15
Nov 19 18:29:30 corasrv FaxGetty[16128]: CLOSE /dev/modem2
Nov 19 18:29:30 corasrv FaxGetty[16132]: CAUGHT SIGNAL 15
Nov 19 18:29:30 corasrv FaxGetty[16132]: CLOSE /dev/ttyS0

# /etc/init.d/hylafax start

Nov 19 18:29:39 corasrv FaxQueuer[18417]: HylaFAX (tm) Version 4.3.0
Nov 19 18:29:39 corasrv FaxQueuer[18417]: Copyright (c) 1990-1996 Sam Leffler
Nov 19 18:29:39 corasrv FaxQueuer[18417]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Nov 19 18:29:39 corasrv HylaFAX[18419]: HylaFAX INET Protocol Server: restarted.
Nov 19 18:29:39 corasrv FaxGetty[18457]: OPEN /dev/modem HylaFAX (tm) Version 4.3.0
Nov 19 18:29:39 corasrv FaxGetty[18461]: OPEN /dev/modem2 HylaFAX (tm) Version 4.3.0
Nov 19 18:29:39 corasrv FaxGetty[18465]: OPEN /dev/ttyS0 HylaFAX (tm) Version 4.3.0
Nov 19 18:29:49 corasrv FaxGetty[18457]: MODEM LT V.92 1.0 MT5634ZBA-V92 SERIAL DATA/FAX MODEM VERSION 1.32B LT V.92 1.0 MT5634ZBA-V92 Serial Data/Fax Modem V
ersion 1.32b/
Nov 19 18:29:49 corasrv FaxGetty[18465]: MODEM LT V.92 1.0 MT5634ZBA-V92 SERIAL DATA/FAX MODEM VERSION 1.32B LT V.92 1.0 MT5634ZBA-V92 Serial Data/Fax Modem V
ersion 1.32b/
Nov 19 18:29:50 corasrv FaxGetty[18461]: MODEM LT V.92 1.0 MT5634ZBA-V92 SERIAL DATA/FAX MODEM VERSION 1.32B LT V.92 1.0 MT5634ZBA-V92 Serial Data/Fax Modem V
ersion 1.32b/





How are you running faxgetty?

Lee.


SCIN - Danilo Bottino wrote:


Hi list,

today I've put something like this in bin/wedged:

echo "MODEM KO" | smbclient -M admin_pc

so an user knows when it's time to power cycle a wedged modem. Problem is, after they power cycle a modem I need to restart the hylafax service to put the modem back in idle state. Let's make an example:

# faxstat
...
Modem ttyS0 (011xxxxxxx): Running and idle
...

Now, if I turn off the modem and I try to send a fax, hylafax fails after three attempts to initialize the modem, it calls the bin/wedged script and a popup window appears on admin_pc as expected.

# faxstat
...
Modem ttyS0 (011xxxxxxx): Waiting for modem to come ready
...

I turn the modem back on and I wait a bit. Nothing happens, the modem doesn't come back in idle state and I need to restart the service. Should I wait a bit more? Is there a way to tell hylafax to automatically bring back a modem in idle state after it becomes wedged?


____________________ 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