HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Hylafax freeze after error



I need a help.

My system:
OS: Red Hat 7.0
Box: Pentium, 32 Mb Ram, 4 Gb HD
Hylafax: 4.1
Fax Board: Brooktrout MPM8 (old board with 8 serial ports)

There is many fax (800-1000) to send to our customer during the nitgh.
The system can sent a fax, but some time receive a error message and
freeze the port, at 01:00 AM all 8 port are freezed. I can kill (-9)
sendfax process and the system continues sending faxes.

If i kiil the process i loose the log at xferfaxlog. 



Log file:
Jul 19 23:10:43.63: [ 4583]: SESSION BEGIN 00002153 17079968510
Jul 19 23:10:43.65: [ 4583]: HylaFAX (tm) Version 4.1
Jul 19 23:10:43.65: [ 4583]: SEND FAX: JOB 4836 DEST 1-707-996-8510
COMMID 00002153
Jul 19 23:10:43.68: [ 4583]: DEVICE '/dev/ttyS11'
Jul 19 23:10:43.68: [ 4583]: DELAY 75 ms
Jul 19 23:10:43.76: [ 4583]: DELAY 2600 ms
Jul 19 23:10:46.36: [ 4583]: <-- [5:ATZ1\r]
Jul 19 23:10:46.50: [ 4583]: --> [4:ATZ1]
Jul 19 23:10:46.51: [ 4583]: --> [2:OK]
Jul 19 23:10:46.51: [ 4583]: <-- [17:ATS10=050S30=255\r]
Jul 19 23:10:46.68: [ 4583]: --> [16:ATS10=050S30=255]
Jul 19 23:10:46.68: [ 4583]: --> [2:OK]
Jul 19 23:10:46.68: [ 4583]: <-- [5:ATE0\r]
Jul 19 23:10:46.82: [ 4583]: --> [4:ATE0]
Jul 19 23:10:46.82: [ 4583]: --> [2:OK]
Jul 19 23:10:46.82: [ 4583]: <-- [5:ATV1\r]
Jul 19 23:10:46.96: [ 4583]: --> [2:OK]
Jul 19 23:10:46.96: [ 4583]: <-- [5:ATQ0\r]
Jul 19 23:10:47.10: [ 4583]: --> [2:OK]
Jul 19 23:10:47.10: [ 4583]: <-- [7:ATS0=0\r]
Jul 19 23:10:47.25: [ 4583]: --> [2:OK]
Jul 19 23:10:47.25: [ 4583]: <-- [7:ATS8=2\r]
Jul 19 23:10:47.40: [ 4583]: --> [2:OK]
Jul 19 23:10:47.40: [ 4583]: <-- [8:ATS7=60\r]
Jul 19 23:10:47.55: [ 4583]: --> [2:OK]
Jul 19 23:10:47.55: [ 4583]: <-- [6:AT&K4\r]
Jul 19 23:10:47.70: [ 4583]: --> [2:OK]
Jul 19 23:10:47.70: [ 4583]: <-- [6:AT&D3\r]
Jul 19 23:10:47.85: [ 4583]: --> [2:OK]
Jul 19 23:10:47.85: [ 4583]: <-- [12:AT+FCLASS=2\r]
Jul 19 23:10:48.01: [ 4583]: --> [2:OK]
Jul 19 23:10:48.01: [ 4583]: <-- [10:AT+FTBC=0\r]
Jul 19 23:10:48.17: [ 4583]: --> [2:OK]
Jul 19 23:10:48.17: [ 4583]: <-- [10:AT+FBOR=0\r]
Jul 19 23:10:48.33: [ 4583]: --> [2:OK]
Jul 19 23:10:48.33: [ 4583]: <-- [13:AT+FPHCTO=30\r]
Jul 19 23:10:48.49: [ 4583]: --> [2:OK]
Jul 19 23:10:48.49: [ 4583]: <-- [24:AT+FDCC=1,5,2,2,3,0,0,0\r]
Jul 19 23:10:48.67: [ 4583]: --> [2:OK]
Jul 19 23:10:48.67: [ 4583]: <-- [5:ATM0\r]
Jul 19 23:10:48.82: [ 4583]: --> [2:OK]
Jul 19 23:10:48.82: [ 4583]: <-- [12:AT+FCLASS=2\r]
Jul 19 23:10:49.08: [ 4583]: --> [2:OK]
Jul 19 23:10:49.08: [ 4583]: <-- [10:AT+FTBC=0\r]
Jul 19 23:10:49.34: [ 4583]: --> [2:OK]
Jul 19 23:10:49.34: [ 4583]: <-- [10:AT+FBOR=0\r]
Jul 19 23:10:49.60: [ 4583]: --> [2:OK]
Jul 19 23:10:49.60: [ 4583]: <-- [13:AT+FPHCTO=30\r]
Jul 19 23:10:49.86: [ 4583]: --> [2:OK]
Jul 19 23:10:49.86: [ 4583]: <-- [24:AT+FDCC=1,5,2,2,3,0,0,0\r]
Jul 19 23:10:50.14: [ 4583]: --> [2:OK]
Jul 19 23:10:50.14: [ 4583]: <-- [24:AT+FLID="ebiznet corp."\r]
Jul 19 23:10:50.42: [ 4583]: --> [2:OK]
Jul 19 23:10:50.42: [ 4583]: DIAL 17079968510
Jul 19 23:10:50.43: [ 4583]: <-- [16:ATDT17079968510\r]
Jul 19 23:11:10.49: [ 4583]: --> [5:+FCON]
Jul 19 23:11:12.41: [ 4583]: --> [86:+FNSF:00 00 09 00 08 2D 70 79 96 85
10 FF FF FF FF FF FF FF 01 1C 02 0A 10 01 02 01 30]
Jul 19 23:11:12.41: [ 4583]: REMOTE NSF "00 00 09 00 08 2D 70 79 96 85
10 FF FF FF FF FF FF FF 01 1C 02 0A 10 01 02 01 30"
Jul 19 23:11:12.41: [ 4583]: NSF remote fax equipment: Xerox 
Jul 19 23:11:13.13: [ 4583]: --> [28:+FCSI:"          7079968510"]
Jul 19 23:11:13.13: [ 4583]: REMOTE CSI "7079968510"
Jul 19 23:11:13.60: [ 4583]: --> [21:+FDIS:1,5,0,2,3,1,0,1]
Jul 19 23:11:13.60: [ 4583]: --> [2:OK]
Jul 19 23:11:13.60: [ 4583]: REMOTE best rate 14400 bit/s
Jul 19 23:11:13.60: [ 4583]: REMOTE max page width 1728 pixels in 215 mm
Jul 19 23:11:13.60: [ 4583]: REMOTE max unlimited page length 
Jul 19 23:11:13.60: [ 4583]: REMOTE best vres 7.7 line/mm
Jul 19 23:11:13.60: [ 4583]: REMOTE best format 2-D MMR
Jul 19 23:11:13.60: [ 4583]: REMOTE supports T.30 Annex A, ECM
Jul 19 23:11:13.60: [ 4583]: REMOTE best 5 ms/scanline
Jul 19 23:11:13.60: [ 4583]: USE 14400 bit/s
Jul 19 23:11:13.60: [ 4583]: USE 5 ms/scanline
Jul 19 23:11:13.60: [ 4583]: SEND file "docq/doc4836.ps;00"
Jul 19 23:11:13.61: [ 4583]: USE page width 1728 pixels in 215 mm
Jul 19 23:11:13.61: [ 4583]: USE unlimited page length 
Jul 19 23:11:13.61: [ 4583]: USE 3.85 line/mm
Jul 19 23:11:13.61: [ 4583]: USE 1-D MR
Jul 19 23:11:13.61: [ 4583]: <-- [24:AT+FDIS=0,5,0,2,0,0,0,1\r]
Jul 19 23:11:13.78: [ 4583]: --> [2:OK]
Jul 19 23:11:13.78: [ 4583]: <-- [7:AT+FDT\r]
Jul 19 23:11:29.51: [ 4583]: --> [8:+FHNG:24]
Jul 19 23:11:29.51: [ 4583]: REMOTE HANGUP: RSPREC error/got DCN (code
24)
Jul 19 23:11:29.94: [ 4583]: --> [2:OK]




There is no record at xferfaxlog



Log at /var/log/messages

Jul 19 23:10:43 faxserver FaxSend[4583]: MODEM NETACCESS MULTIPORT MODEM
CARD MPM-8 (C) 1993-1996 MPM-8/Version 4.26a16
Jul 19 23:10:43 faxserver FaxSend[4583]: HylaFAX (tm) Version 4.1
Jul 19 23:10:43 faxserver FaxSend[4583]: SEND FAX: JOB 4836 DEST
1-707-996-8510 COMMID 00002153
Jul 19 23:10:43 faxserver FaxSend[4583]: DEVICE '/dev/ttyS11'


this is the config file to this port:

# $Id: class2,v 1.3 2001/02/05 06:32:55 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software
and 
# its documentation for any purpose is hereby granted without fee,
provided
# that (i) the above copyright notices and this permission notice appear
in
# all copies of the software and related documentation, and (ii) the
names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY
OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		1
AreaCode:		561
FAXNumber:		"1 561 620-2505"
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"ebiznet corp."
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		""
MaxRecvPages:		25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use this to supply a hint
#ModemRate:		19200		# max rate for DCE-DTE communication
#ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
ModemSetupDTRCmd:	AT&D3		# setup so DTR drop resets modem
#ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
ModemResetCmds:		"ATS10=050S30=255"		# stuff to do when modem is reset
#ModemAnswerCmd:		ATA		# use this to answer phone
ModemNoFlowCmd:		AT&K0		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
#ModemNoAutoAnswerCmd:	ATS0=0		# disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:	ATE0		# disable command echo
#ModemVerboseResultsCmd:	ATV1		# enable verbose command results
#ModemResultCodesCmd:	ATQ0		# enable result codes
#ModemOnHookCmd:		ATH		# place phone on hook (hangup)
ModemSoftResetCmd:	ATZ1		# do soft reset of modem
#ModemWaitTimeCmd:	ATS7=60		# wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:	ATS8=2		# comma pause time is 2 seconds
#ModemRecvFillOrder:	LSB2MSB		# bit order of received facsimile
#ModemSendFillOrder:	LSB2MSB		# bit order modem expects for transmit
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd:		AT+FCLASS=2	# command to enter class 2
Class2BORCmd:		AT+FBOR=0	# bit order for phase B/C/D (direct)
Class2RELCmd:		AT+FREL=1	# byte-align EOL codes on recv
Class2CQCmd:		""		# commands to enable copy quality proc.
Class2AbortCmd:		AT+FK		# abort session command
Class2CQQueryCmd:	AT+FCQ=?	# query for copy quality capabilities
Class2DCCQueryCmd:	AT+FDCC=?	# query for modem capabilities
Class2TBCCmd:		AT+FTBC=0	# setup stream mode
Class2CRCmd:		AT+FCR=1	# enable capability to receive
Class2PHCTOCmd:		AT+FPHCTO=30	# set phase C timeout parameter
Class2BUGCmd:		AT+FBUG=1	# enable HDLC frame tracing
Class2LIDCmd:		AT+FLID		# set local identifier command
Class2DCCCmd:		AT+FDCC		# set modem capabilities command
Class2DISCmd:		AT+FDIS		# set session parameters command
Class2DDISCmd:		""		# disable pre-dial DIS command hack
Class2CIGCmd:		AT+FCIG		# set polling identifier command
Class2PTSCmd:		AT+FPTS		# set post-page status command
Class2SPLCmd:		AT+FSPL		# set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger:	""		# character sent to modem to start recv
Class2XmitWaitForXON:	yes		# if true, wait for XON before send# $Id:
class2,v 1.3 2001/02/05 06:32:55 darren Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software
and 
# its documentation for any purpose is hereby granted without fee,
provided
# that (i) the above copyright notices and this permission notice appear
in
# all copies of the software and related documentation, and (ii) the
names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY
OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		1
AreaCode:		561
FAXNumber:		"1 561 620-2505"
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"ebiznet corp."
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		""
MaxRecvPages:		25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use this to supply a hint
#ModemRate:		19200		# max rate for DCE-DTE communication
#ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
ModemSetupDTRCmd:	AT&D3		# setup so DTR drop resets modem
#ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
ModemResetCmds:		"ATS10=050S30=255"		# stuff to do when modem is reset
#ModemAnswerCmd:		ATA		# use this to answer phone
ModemNoFlowCmd:		AT&K0		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
#ModemNoAutoAnswerCmd:	ATS0=0		# disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:	ATE0		# disable command echo
#ModemVerboseResultsCmd:	ATV1		# enable verbose command results
#ModemResultCodesCmd:	ATQ0		# enable result codes
#ModemOnHookCmd:		ATH		# place phone on hook (hangup)
ModemSoftResetCmd:	ATZ1		# do soft reset of modem
#ModemWaitTimeCmd:	ATS7=60		# wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:	ATS8=2		# comma pause time is 2 seconds
#ModemRecvFillOrder:	LSB2MSB		# bit order of received facsimile
#ModemSendFillOrder:	LSB2MSB		# bit order modem expects for transmit
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd:		AT+FCLASS=2	# command to enter class 2
Class2BORCmd:		AT+FBOR=0	# bit order for phase B/C/D (direct)
Class2RELCmd:		AT+FREL=1	# byte-align EOL codes on recv
Class2CQCmd:		""		# commands to enable copy quality proc.
Class2AbortCmd:		AT+FK		# abort session command
Class2CQQueryCmd:	AT+FCQ=?	# query for copy quality capabilities
Class2DCCQueryCmd:	AT+FDCC=?	# query for modem capabilities
Class2TBCCmd:		AT+FTBC=0	# setup stream mode
Class2CRCmd:		AT+FCR=1	# enable capability to receive
Class2PHCTOCmd:		AT+FPHCTO=30	# set phase C timeout parameter
Class2BUGCmd:		AT+FBUG=1	# enable HDLC frame tracing
Class2LIDCmd:		AT+FLID		# set local identifier command
Class2DCCCmd:		AT+FDCC		# set modem capabilities command
Class2DISCmd:		AT+FDIS		# set session parameters command
Class2DDISCmd:		""		# disable pre-dial DIS command hack
Class2CIGCmd:		AT+FCIG		# set polling identifier command
Class2PTSCmd:		AT+FPTS		# set post-page status command
Class2SPLCmd:		AT+FSPL		# set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger:	""		# character sent to modem to start recv
Class2XmitWaitForXON:	yes		# if true, wait for XON before send








I need help to resolve this problem.

Thnaks a lot

Marc Silva
marcs@ebiznet.com 
ebiznet corporation



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions