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] cannot connect to the server



Michel,
 
It doesn't look like your modem is responding properly:
 
Feb  1 21:21:51 linux FaxGetty[26434]: <-- [4:ATZ\r]
Feb  1 21:22:21 linux FaxGetty[26434]: MODEM <Timeout>
 
You should look there for your answer. Try to get the modem working for you under a simple terminal program such as minicom to make the testing as simple as possible.
 
-Darren
 
----- Original Message -----
Sent: Thursday, February 01, 2007 11:00 PM
Subject: [hylafax-users] cannot connect to the server

Running Hylafax 4.2.1 on RH9
 
Last week my modem was removed from the configuration as I was rebooting the system.
I replace it back but I can't use anymore the server.
 
Do somebody can explain how to pass thru this problem?
What is holding the modem?
You will find here after logs and configuration files
                       ================================
Hylafax Status

Hylafax sceduler on linux.donais.ca: running
Modem ttyS0 (999-999-9999): Waiting for modem to come free
                       ================================
/etc/inittab

# hylafax set-up
t2:2345:respawn:/usr/sbin/faxgetty /dev/ttyS0
                       ================================

/var/log/messages/

Feb  1 20:58:18 linux kde(pam_unix)[21181]: session opened for user root by(uid=0)
Feb  1 21:03:55 linux fév  1 21:03:55 FaxQueuer[7392]: SUBMIT JOB 3025
Feb  1 21:21:38 linux fév  1 21:21:38 FaxQueuer[7392]: QUIT
Feb  1 21:21:38 linux fév  1 21:21:38 hylafax: Shutting down HylaFAX queue manager (faxq):  succeeded
Feb  1 21:21:38 linux fév  1 21:21:38 hylafax: Arrêt de hfaxd succeeded
Feb  1 21:21:47 linux fév  1 21:21:47 FaxQueuer[26422]: Missing ':' separator in modem group specification
Feb  1 21:21:47 linux fév  1 21:21:47 FaxQueuer[26422]: HylaFAX (tm) Version 4.2.1
Feb  1 21:21:47 linux fév  1 21:21:47 FaxQueuer[26422]: Copyright (c) 1990-1996 Sam Leffler
Feb  1 21:21:47 linux fév  1 21:21:47 FaxQueuer[26422]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Feb  1 21:21:47 linux fév  1 21:21:47 hylafax: Démarrage de faxq  succeeded
Feb  1 21:21:47 linux HylaFAX[26426]: HylaFAX INET Protocol Server: restarted.
Feb  1 21:21:47 linux fév  1 21:21:47 hylafax: Démarrage de hfaxd  succeeded
Feb  1 21:21:47 linux FaxGetty[7403]: CAUGHT SIGNAL 15
Feb  1 21:21:47 linux FaxGetty[7403]: CLOSE /dev/ttyS0
Feb  1 21:21:47 linux FaxGetty[26434]: OPEN /dev/ttyS0  HylaFAX (tm) Version4.2.1
Feb  1 21:21:47 linux FaxGetty[26434]: Purge stale UUCP lock /var/lock/LCK..ttyS0
Feb  1 21:21:47 linux fév  1 21:21:47 hylafax: Arrêt de faxgetty succeeded
Feb  1 21:21:48 linux FaxGetty[26434]: DELAY 75 ms
Feb  1 21:21:48 linux FaxGetty[26434]: DELAY 2600 ms
Feb  1 21:21:51 linux FaxGetty[26434]: DELAY 10 ms
Feb  1 21:21:51 linux FaxGetty[26434]: <-- [4:ATZ\r]
Feb  1 21:22:21 linux FaxGetty[26434]: MODEM <Timeout>
Feb  1 21:22:21 linux FaxGetty[26434]: DELAY 75 ms
Feb  1 21:22:22 linux FaxGetty[26434]: DELAY 2600 ms
Feb  1 21:41:05 linux fév  1 21:41:05 FaxQueuer[26422]: QUIT
Feb  1 21:41:05 linux fév  1 21:41:05 hylafax: Shutting down HylaFAX queue manager (faxq):  succeeded
Feb  1 21:41:05 linux fév  1 21:41:05 hylafax: Arrêt de hfaxd succeeded
Feb  1 21:41:31 linux fév  1 21:41:31 FaxQueuer[30956]: Missing ':' separator in modem group specification
Feb  1 21:41:31 linux fév  1 21:41:31 FaxQueuer[30956]: HylaFAX (tm) Version4.2.1
Feb  1 21:41:31 linux fév  1 21:41:31 FaxQueuer[30956]: Copyright (c) 1990-1996 Sam Leffler
Feb  1 21:41:31 linux fév  1 21:41:31 FaxQueuer[30956]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Feb  1 21:41:31 linux fév  1 21:41:31 hylafax: Démarrage de faxq  succeeded
Feb  1 21:41:31 linux HylaFAX[30960]: HylaFAX INET Protocol Server: restarted.
Feb  1 21:41:31 linux fév  1 21:41:31 hylafax: Démarrage de hfaxd  succeeded
Feb  1 21:41:31 linux FaxGetty[26434]: CAUGHT SIGNAL 15
Feb  1 21:41:31 linux FaxGetty[26434]: CLOSE /dev/ttyS0
Feb  1 21:41:31 linux FaxGetty[30967]: OPEN /dev/ttyS0  HylaFAX (tm) Version 4.2.1
Feb  1 21:41:31 linux FaxGetty[30967]: Purge stale UUCP lock /var/lock/LCK..ttyS0
Feb  1 21:41:31 linux fév  1 21:41:31 hylafax: Arrêt de faxgetty succeeded
Feb  1 21:41:32 linux FaxGetty[30967]: DELAY 75 ms
Feb  1 21:41:32 linux FaxGetty[30967]: DELAY 2600 ms
Feb  1 21:41:36 linux FaxGetty[30967]: DELAY 10 ms
Feb  1 21:41:36 linux FaxGetty[30967]: <-- [4:ATZ\r]
Feb  1 21:41:44 linux FaxGetty[31038]: OPEN /dev/ttyS0  HylaFAX (tm) Version 4.2.1
Feb  1 21:41:44 linux FaxGetty[31038]: /dev/ttyS0: Can not lock device.
Feb  1 21:42:14 linux FaxGetty[31038]: Purge stale UUCP lock /var/lock/LCK..ttyS0
Feb  1 21:42:15 linux FaxGetty[31038]: DELAY 75 ms
Feb  1 21:42:15 linux FaxGetty[31038]: DELAY 2600 ms
Feb  1 21:42:19 linux FaxGetty[31038]: DELAY 10 ms
Feb  1 21:42:19 linux FaxGetty[31038]: <-- [4:ATZ\r]
Feb  1 21:42:49 linux FaxGetty[31038]: MODEM <Timeout>
Feb  1 21:42:49 linux FaxGetty[31038]: DELAY 75 ms
Feb  1 21:42:49 linux FaxGetty[31038]: DELAY 2600 ms
Feb  1 22:10:45 linux kde(pam_unix)[21181]: session closed for user root
Feb  1 22:11:54 linux kdm[5513]: pam_timestamp: timestamp file `/var/run/sudo/root/:1' is too old, disallowing access to kde for UID 0
Feb  1 22:11:54 linux kde(pam_unix)[5513]: session opened for user root by(uid=0)
Feb  1 22:16:03 linux fév  1 22:16:03 FaxQueuer[30956]: SUBMIT JOB 3026

                       ================================
/var/spoolhylafax/etc/config.ttyS0


# $Id: mt-1432,v 1.3 2003/01/15 00:02:57 tim 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.
#

#
# Configuration for a Multi-Tech MT1432, MT224BA, and MT1932ZDX modems.
#
# MT1432 firmware rev 0307 I or newer
# MT132BG rev 0109A
# MT1932ZDX rev 0109H
# MT2834ZDX rev 0316A or newer
# MT2834ZDXb rev 0317G or newer
#
# Note that MT1432 modems come in several varieties:
#
# MT1432BA uses Rockwell data pump
# MT1432BA/A uses AT&T data pump
# MT1432BG MT1432BA tweaked for German FCC
# MT1432MK (for UK?)
#
# The modem has been tried with both XON/XOFF and RTS/CTS flow
# control; this configuration is for hardware flow control.
#
#
CountryCode: 1
AreaCode: 450
FAXNumber: 450-549-5266
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 11
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 0
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: donais.materiaux
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 100
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use class 2 interface
ModemRate: 38400 # lock rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemHardFlowCmd: AT&E4 # hardware flow control
ModemSoftFlowCmd: AT&E5 # software flow control
ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
# The MT2834ZDX (and other newer models) may be more robust with this.
#ModemSetupDCDCmd: AT&C4 # setup so DCD resets modem on
# # carrier drop
#
ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in class 2
#
# NB: some models get confused by @ in ModemDialCmd
# NB: the @ causes some multifunction fax units to not go into fax mode.
#
ModemDialCmd: ATDT%s # T for tone dialing
#
Class2RecvDataTrigger: "\022" # character sent to modem to start recv
#
# The MT2834ZDX (and other newer models) can take advantage of these.
#Class2APQueryCmd: AT # AT+FAP=? not supported on this modem
#Class2NFLOCmd: AT+FLO=0 # Class 2: no flow control
#Class2SFLOCmd: AT+FLO=1 # Class 2: software flow control
#Class2HFLOCmd: AT+FLO=2 # Class 2: hardware flow control
#Class2XmitWaitForXON: no
#





Project hosted by iFAX Solutions