HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problem LOCKWAIT



Hello,

I have installed hylafax on freeBSD 5.4, using the port from the
ports collection, which is hylafax 4.2.1.
Compiled ok.
Installed ok.
Configured for an older modem which I have got from a friend
with faxaddmodem, set up /etc/ttys for faxgetty on cuaa1,
edited config.cuaa1.
I use class 2, as the same host acts as Fileserver
(and other servers) too.
Tested ok.
Finaly it seemed to wor well. I managed to recieve and send
about 3 faxes with up to 3 pages. This setup was at my home.

After moving the server from my home to the office (where it
should do it's job) I edited only the top part of my config.cuaa1.
I changed AreaCode, FAXNumber, LocalIdentifier, TagLineFormat only
to match the office location and ModemDialCmd to always dial an
initial 0 and wait for a public line on outgoing calls.
I did not touch the bottom part with the modem-stuff.

I was able to send a single fax with that new config.cuaa1 in use.
Then, surprisingly, I could not receive any subsequent fax
and also later tests to send further faxes did not work
any more but produced logfile like the attached
(at the bottom of this mail).

I then changed the modem:
First I used:
MODEM EXAR ROCKWELL 144DP/E.C.  Version : 7.1 Date code 921118
Now I use:
MODEM ZYXEL U1496E/V 6.01 P
But no change (except that I cannot receive any faxdata now, but that,
as far as I think, is another more common modem-specific problem.)

Has anyone an Idea what's the reason for FaxGetty raising the
LOCKWAIT condition ?

Would be great if anybody may help out of this.
Thanks !
Kilian

---------------------------------------------------------------------
my config.cuaa1
CountryCode:            49
AreaCode:               ...
FAXNumber:              +49....
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
SessionTracing:         65535
ServerTracing:          65535
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          low
GettyArgs:              "std.%s -"
LocalIdentifier:        "OfficeName"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "Von %%l|%c|Seite %%P von %%T"
MaxRecvPages:           25
PercentGoodLines:       80

ModemType:              Class2          # use class 2 interface
ModemRate:              19200
ModemFlowControl:       rtscts          # default
ModemNoFlowCmd:         AT&H0           # disable flow control
ModemHardFlowCmd:       AT&H3           # hardware flow control
ModemSoftFlowCmd:       AT&H4           # software flow control
ModemSetupDTRCmd:       AT&D2           # DTR off causes modem to hang
up
ModemSetupDCDCmd:       AT&C1           # DCD tracks carrier
ModemSetupAACmd:        AT+FAA=1        # enable in current class
ModemSendFillOrder:     LSB2MSB         # as expected
ModemRecvFillOrder:     MSB2LSB         # opposite of what makes sense
Class2RecvDataTrigger:  "\022"          # a la 2388-B
ModemResetCmds:         AT&B1&N0&S0*F0S38.3=1S39=0
ModemDialCmd:           ATDT0,%s        # no '@' 'cuz then busy not
recognized
NoCarrierRetrys:        3               # retry 3 times on no carrier
ModemSetVolumeCmd:      "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
Class2DCCQueryCmd:      "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)"


---------------------------------------------------------------------
my logfile (no, not all of it ;)
FaxGetty[40854]: servertracing = 65535 (line 52)
FaxGetty[40854]: ...
FaxGetty[40854]: STATE CHANGE: BASE -> RUNNING (timeout 30)
FaxGetty[40854]: MODEM input buffering disabled
FaxQueuer[40902]: HylaFAX (tm) Version 4.2.1
FaxQueuer[40902]: Copyright (c) 1990-1996 Sam Leffler
FaxQueuer[40902]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
FaxGetty[40854]: HELLO
HylaFAX[40904]: HylaFAX INET Protocol Server: restarted.
FaxQueuer[40902]: SUBMIT JOB 16
FaxGetty[40854]: LOCKWAIT
FaxGetty[40854]: STATE CHANGE: RUNNING -> LOCKWAIT (timeout 30)
FaxGetty[40854]: MODEM set DTR OFF
FaxGetty[40854]: ...
FaxGetty[40854]: STATE CHANGE: LOCKWAIT -> RUNNING (timeout 30)
FaxGetty[40854]: MODEM input buffering disabled
... 7 min later ...
FaxGetty[40854]: LOCKWAIT
FaxGetty[40854]: STATE CHANGE: RUNNING -> LOCKWAIT (timeout 30)
FaxGetty[40854]: LOCKWAIT
last message repeated 56 times
FaxGetty[40854]: ...
FaxGetty[40854]: STATE CHANGE: LOCKWAIT -> RUNNING (timeout 30)
FaxGetty[40854]: MODEM input buffering disabled
... 5 min later ...
FaxGetty[40854]: LOCKWAIT
FaxGetty[40854]: STATE CHANGE: RUNNING -> LOCKWAIT (timeout 30)
FaxGetty[40854]: LOCKWAIT
last message repeated 4 times
FaxGetty[40854]: ...
FaxGetty[40854]: STATE CHANGE: LOCKWAIT -> RUNNING (timeout 30)
FaxGetty[40854]: MODEM input buffering disabled
... 6 min later ...
FaxGetty[40854]: LOCKWAIT
FaxGetty[40854]: STATE CHANGE: RUNNING -> LOCKWAIT (timeout 30)
FaxGetty[40854]: LOCKWAIT
last message repeated 61 times
...
---------------------------------------------------------------------

____________________ 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