Koozali.org: home of the SME Server

Hylafax spedisce fax all'infinito

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Hylafax spedisce fax all'infinito
« on: August 31, 2011, 03:52:43 PM »
Salve a tutti .
Ho installato Hylafax come da contrib e funziona tutto ok . Ma quando spedisco un fax che poi viene ricevuto il modem continua a spedire lo stesso fax all'infinito.
Suggerimenti o guru dell' Hylafax ?  :?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #1 on: August 31, 2011, 04:34:05 PM »
prima di tutto.. come spedisci i fax? usi un client?

dettaglia tutto al meglio, grazie

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #2 on: August 31, 2011, 04:41:09 PM »
Scusa l'omissione , ma non uso client e lo spedisco dalla webmail di  un utente verso l'indirizzo nome@(numerofax).fax .

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #3 on: August 31, 2011, 04:59:32 PM »
allora i casi sono:
- il fax non viene correttamente/completamente ricevuto e hylafax non riceve quindi l'ok
- lo script di invio ha un bug
- varie ed eventuali..

inizierei guardando nei log.. /var/log/messages e /var/log/qmail/current, per iniziare

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #4 on: August 31, 2011, 05:35:38 PM »
Questo è il messages :
Aug 31 17:27:49 server2011 HylaFAX[17323]: Filesystem has SysV-style file creation semantics.
Aug 31 17:27:49 server2011 FaxQueuer[17182]: SUBMIT JOB 18
Aug 31 17:27:50 server2011 FaxGetty[17195]: LOCKWAIT
Aug 31 17:28:02 server2011 FaxSend[17331]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 11.3.11/Configuration Profile... Product type           Italy External Product ID:            13563000 Options                V32bis,V.80,V.34+,x2, V.90 Fax Options            Class 1/Class 2.0 Clock Freq             92.0Mhz EPROM                  256k RAM                    32k FLASH date             10/16/98 FLASH rev              11.3.11 DSP date               10/16/98 DSP rev                11.3.11
Aug 31 17:28:03 server2011 FaxSend[17331]: SEND FAX: JOB 18 DEST 075123456 COMMID 000000093 DEVICE '/dev/ttyS0' FROM 'utente <utente@bucamiglio.lan>' USER uucp
Aug 31 17:29:30 server2011 FaxGetty[17195]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 11.3.11/Configuration Profile... Product type           Italy External Product ID:            13563000 Options                V32bis,V.80,V.34+,x2, V.90 Fax Options            Class 1/Class 2.0 Clock Freq             92.0Mhz EPROM                  256k RAM                    32k FLASH date             10/16/98 FLASH rev              11.3.11 DSP date               10/16/98 DSP rev                11.3.11
Aug 31 17:29:51 server2011 FaxGetty[17195]: LOCKWAIT
Aug 31 17:30:03 server2011 FaxSend[17401]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 11.3.11/Configuration Profile... Product type           Italy External Product ID:            13563000 Options                V32bis,V.80,V.34+,x2, V.90 Fax Options            Class 1/Class 2.0 Clock Freq             92.0Mhz EPROM                  256k RAM                    32k FLASH date             10/16/98 FLASH rev              11.3.11 DSP date               10/16/98 DSP rev                11.3.11
Aug 31 17:30:03 server2011 FaxSend[17401]: SEND FAX: JOB 18 DEST 0759411899 COMMID 000000094 DEVICE '/dev/ttyS0' FROM 'utente <utente@bucamiglio.lan>' USER uucp
Aug 31 17:31:07 server2011 slapd[5415]: conn=9 fd=7 ACCEPT from IP=127.0.0.1:33679 (IP=0.0.0.0:389)
Aug 31 17:31:07 server2011 slapd[5415]: conn=9 op=0 BIND dn="" method=128
Aug 31 17:31:07 server2011 slapd[5415]: conn=9 op=0 RESULT tag=97 err=0 text=
Aug 31 17:31:07 server2011 slapd[5415]: conn=9 op=1 UNBIND
Aug 31 17:31:07 server2011 slapd[5415]: conn=9 fd=7 closed
Aug 31 17:31:31 server2011 FaxGetty[17195]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 11.3.11/Configuration Profile... Product type           Italy External Product ID:            13563000 Options                V32bis,V.80,V.34+,x2, V.90 Fax Options            Class 1/Class 2.0 Clock Freq             92.0Mhz EPROM                  256k RAM                    32k FLASH date             10/16/98 FLASH rev              11.3.11 DSP date               10/16/98 DSP rev                11.3.11
Aug 31 17:31:56 server2011 FaxGetty[17195]: LOCKWAIT
Potrei risolvere con un aggiornamento di Hylafax ?


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #5 on: August 31, 2011, 05:54:40 PM »
non vedo alcun errore.. il fax job 18 è inviato a numeri diversi.. quindi non vedo dove sia il problema

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #6 on: September 01, 2011, 09:18:28 AM »
Ho trovato questo topic che ne dici :
http://forums.contribs.org/index.php/topic,43241.0.html

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #7 on: September 01, 2011, 09:20:12 AM »
Forse ho sbagliato a postare il log ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #8 on: September 01, 2011, 09:41:01 AM »
ok.. fermiamo le bocce :-)

il log da te inviato ha solo le seguenti parti interessanti:

Code: [Select]
Aug 31 17:27:49 server2011 HylaFAX[17323]: Filesystem has SysV-style file creation semantics.
questa è la riga che hylafax scrive quando analizza il file da spedire

Code: [Select]
Aug 31 17:27:49 server2011 FaxQueuer[17182]: SUBMIT JOB 18
qui hyla dice che ha preso in carico il job con id 18 (gli id sono autoincrementanti)

Code: [Select]
Aug 31 17:28:03 server2011 FaxSend[17331]: SEND FAX: JOB 18 DEST 075123456 COMMID 000000093 DEVICE '/dev/ttyS0' FROM 'utente <utente@bucamiglio.lan>' USER uucp
qui dice che il fax job id 18 viene inviato a 075123456

Code: [Select]
Aug 31 17:30:03 server2011 FaxSend[17401]: SEND FAX: JOB 18 DEST 0759411899 COMMID 000000094 DEVICE '/dev/ttyS0' FROM 'utente <utente@bucamiglio.lan>' USER uucp
qui dice che il fax job id 18 viene inviato a 0759411899

il che è comunque coerente nel senso che un fax può essere spedito a più destinatari.

in merito al post da te indicato, non capisco a cosa tu ti riferisca

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #9 on: September 01, 2011, 10:30:35 AM »
Mille scuse !!!!  :-(
Il fatto è che cercavo di mascherare il numero reale con uno fittizio e su un punto l'ho modificato mentre su un altro no.
Praticamente è lo stesso numero a cui Hylafax manda lo stesso fax a ruota , finchè non disabilito tutto o lo trova occupato.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #10 on: September 01, 2011, 10:42:17 AM »
ah, ok..

allora significa che per qualche motivo hylafax mantiene il fax in coda..

una breve ricerca mi ha dato questo: http://www.hylafax.org/archive/2005-09/msg00097.php

che versione di hylafax stai usando?

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #11 on: September 01, 2011, 10:43:50 AM »
ok adesso ci guardo ... la versione è quella del contrib mi pare la 4.4.4

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #12 on: September 01, 2011, 10:46:18 AM »
ok.. fai il downgrade alla versione del post che hai riportato e facci sapere

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #13 on: September 01, 2011, 10:56:27 AM »
Scusa ma non mi pare sia suggerito un downgrade anche perchè alla fine del post non c'è una soluzione , o il mio inglese è pessimo. :smile:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #14 on: September 01, 2011, 11:04:27 AM »
il topic da te linkato è in italiano.. downgrade alla versione di hylafax segnalata in quel topic

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #15 on: September 01, 2011, 12:10:53 PM »
Scusa pensavo in quello segnalato da te , pardon.

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #16 on: September 02, 2011, 12:37:35 PM »
Sei un mitoooo !!!! Sei un mitoooo  per me ...... sono anni che ..... sei irraggiungibileeeeee!!!!
( 883 ).
Ho fatto il downgrade alla versione del topic e il log ora mi dice:
FaxSend[9635]: MODEM USR U.S. Robotics 56K FAX EXT Rev. 11.3.11/Configuration Profile... Product type           Italy External Product ID:            13563000 Options                V32bis,V.80,V.34+,x2, V.90 Fax Options            Class 1/Class 2.0 Clock Freq             92.0Mhz EPROM                  256k RAM                    32k FLASH date             10/16/98 FLASH rev              11.3.11 DSP date               10/16/98 DSP rev                11.3.11
FaxSend[9635]: SEND FAX: JOB 24 DEST 0759411899 COMMID 000000110 DEVICE '/dev/ttyS0' FROM 'insert <insert@server2011.bucamiglio.lan>' USER lp
FaxSend[9635]: SEND FAILED: JOB 24 DEST 0759411899 ERR Fax protocol error (unknown frame received); too many attempts to send
FaxQueuer[8519]: NOTIFY: bin/notify "doneq/q24" "failed" "1:19"
 FaxQueuer[8519]: NOTIFY exit status: 0 (9706)



Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #17 on: September 02, 2011, 12:49:22 PM »
mmhh.. non capisco l'entusiasmo :-)

quindi.. adesso funziona? vedo un errore..

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #18 on: September 02, 2011, 01:05:26 PM »
No non funziona ma è successo questo:
ho ricevuto un fax che avevoin coda quando c'era il 4.4.4.1 correttamente, poi ho rifatto :

config setprop hylafax status enabled

/usr/sbin/faxsetup

faxaddmodem

e ora non spedisce i fax via mail , questo è il log :

Sep  2 12:43:59 server2011 HORDE[32676]: [imp] Login success for utente [192.168.1.249] to {localhost:143 [imap/notls]} [pid 32676 on line 307 of "/home/httpd/html/horde/imp/lib/Session.php"]
Sep  2 12:44:00 server2011 slapd[5415]: conn=13 fd=7 ACCEPT from IP=127.0.0.1:34499 (IP=0.0.0.0:389)
Sep  2 12:44:00 server2011 slapd[5415]: conn=13 op=0 BIND dn="" method=128
Sep  2 12:44:00 server2011 slapd[5415]: conn=13 op=0 RESULT tag=97 err=0 text=
Sep  2 12:44:00 server2011 slapd[5415]: conn=13 op=1 UNBIND
Sep  2 12:44:00 server2011 slapd[5415]: conn=13 fd=7 closed
Sep  2 12:48:06 server2011 sshd(pam_unix)[10323]: session opened for user root by (uid=0)
Sep  2 12:49:02 server2011 slapd[5415]: conn=14 fd=7 ACCEPT from IP=127.0.0.1:34520 (IP=0.0.0.0:389)
Sep  2 12:49:02 server2011 slapd[5415]: conn=14 op=0 BIND dn="" method=128
Sep  2 12:49:02 server2011 slapd[5415]: conn=14 op=0 RESULT tag=97 err=0 text=
Sep  2 12:49:02 server2011 slapd[5415]: conn=14 op=1 UNBIND
Sep  2 12:49:02 server2011 slapd[5415]: conn=14 fd=7 closed
Sep  2 12:49:53 server2011 smbd[6829]: [2011/09/02 12:49:53, 0] lib/util_sock.c:read_data(534)
Sep  2 12:49:53 server2011 smbd[6829]:   read_data: read failure for 4 bytes to client 192.168.1.249. Error = No route to host
Sep  2 12:50:38 server2011 /sbin/e-smith/db[10628]: /home/e-smith/db/configuration: OLD hylafax=service|AreaNumber|075|ComPort|/dev/ttyS0|CountryCode|39|DialCMD|PULSE|FaxName|Studio Bucaioni & Migliosi|FaxNumber|+39.075.5153049|FaxUserName|faxmaster|InternationalPrefix|00|LongDistance|0|ModemFlowControl|xonxoff|ModemSpeed|2400|ModemType|Class1|ModemVolume|off|RingsBeforeAnswer|3|SambaFaxName|sambafax|port|ttyS0|status|enable
Sep  2 12:50:38 server2011 /sbin/e-smith/db[10628]: /home/e-smith/db/configuration: NEW hylafax=service|AreaNumber|075|ComPort|/dev/ttyS0|CountryCode|39|DialCMD|PULSE|FaxName|Studio Bucaioni & Migliosi|FaxNumber|+39.075.5153049|FaxUserName|faxmaster|InternationalPrefix|00|LongDistance|0|ModemFlowControl|xonxoff|ModemSpeed|2400|ModemType|Class1|ModemVolume|off|RingsBeforeAnswer|3|SambaFaxName|sambafax|port|ttyS0|status|enabled
Sep  2 12:50:48 server2011 FaxQueuer[8519]: QUIT
Sep  2 12:50:58 server2011 /usr/sbin/faxmodem[10773]: FIFO: open: No such device or address
Sep  2 12:51:20 server2011 FaxQueuer[10823]: HylaFAX (tm) Version 4.3.4
Sep  2 12:51:20 server2011 FaxQueuer[10823]: Copyright (c) 1990-1996 Sam Leffler
Sep  2 12:51:20 server2011 FaxQueuer[10823]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Sep  2 12:51:20 server2011 hylafax: Avvio faxq succeeded
Sep  2 12:51:20 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:51:20 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 5 seconds.
Sep  2 12:51:20 server2011 hylafax: Avvio hfaxd succeeded
Sep  2 12:51:25 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:51:25 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 10 seconds.
Sep  2 12:51:27 server2011 init: Re-reading inittab
Sep  2 12:51:35 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:51:35 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 15 seconds.
Sep  2 12:51:50 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:51:50 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 20 seconds.
Sep  2 12:52:10 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:52:10 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 25 seconds.
Sep  2 12:52:35 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:52:35 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 30 seconds.
Sep  2 12:53:05 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:53:05 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 35 seconds.
Sep  2 12:53:40 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:53:40 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 40 seconds.
Sep  2 12:54:03 server2011 slapd[5415]: conn=15 fd=7 ACCEPT from IP=127.0.0.1:34528 (IP=0.0.0.0:389)
Sep  2 12:54:03 server2011 slapd[5415]: conn=15 op=0 BIND dn="" method=128
Sep  2 12:54:03 server2011 slapd[5415]: conn=15 op=0 RESULT tag=97 err=0 text=
Sep  2 12:54:03 server2011 slapd[5415]: conn=15 op=1 UNBIND
Sep  2 12:54:03 server2011 slapd[5415]: conn=15 fd=7 closed
Sep  2 12:54:20 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:54:20 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, trying again in 45 seconds.
Sep  2 12:55:05 server2011 HylaFAX[10828]: HylaFAX INET: bind (port 4559): Address already in use
Sep  2 12:55:05 server2011 HylaFAX[10828]: HylaFAX INET: Unable to init server, giving up after 10 tries.
Sep  2 12:56:05 server2011 FaxQueuer[10823]: QUIT
Sep  2 12:56:05 server2011 hylafax: Shutting down HylaFAX queue manager (faxq):  succeeded
Sep  2 12:56:05 server2011 hylafax: Chiusura hfaxd succeeded
Sep  2 12:56:05 server2011 FaxQueuer[11015]: HylaFAX (tm) Version 4.3.4
Sep  2 12:56:05 server2011 FaxQueuer[11015]: Copyright (c) 1990-1996 Sam Leffler
Sep  2 12:56:05 server2011 FaxQueuer[11015]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Sep  2 12:56:05 server2011 hylafax: Avvio faxq succeeded
Sep  2 12:56:05 server2011 HylaFAX[11019]: HylaFAX INET Protocol Server: restarted.
Sep  2 12:56:05 server2011 hylafax: Avvio hfaxd succeeded
Sep  2 12:59:04 server2011 slapd[5415]: conn=16 fd=7 ACCEPT from IP=127.0.0.1:34544 (IP=0.0.0.0:389)
Sep  2 12:59:04 server2011 slapd[5415]: conn=16 op=0 BIND dn="" method=128
Sep  2 12:59:04 server2011 slapd[5415]: conn=16 op=0 RESULT tag=97 err=0 text=
Sep  2 12:59:04 server2011 slapd[5415]: conn=16 op=1 UNBIND
Sep  2 12:59:04 server2011 slapd[5415]: conn=16 fd=7 closed

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #19 on: September 08, 2011, 02:33:01 PM »
Nel frattempo ho fatto una prova e ho installato lo SME e Hylafax su un altro server , in un posto diverso ma con un modem identico e ho provato ad inviare un fax allo stesso numero . Ebbene con questo ho avuto successo . La cosa strana è che mi sembra , ripeto sembra ,che nella prima installazione di Hylafax si sono installati 2 pacchetti mentre nell'ultima 3 . Possibile oppure ho le traveggole ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #20 on: September 08, 2011, 02:36:35 PM »
Nel frattempo ho fatto una prova e ho installato lo SME e Hylafax su un altro server , in un posto diverso ma con un modem identico e ho provato ad inviare un fax allo stesso numero . Ebbene con questo ho avuto successo .

quindi il problema è hw, ovvio

Quote
La cosa strana è che mi sembra , ripeto sembra ,che nella prima installazione di Hylafax si sono installati 2 pacchetti mentre nell'ultima 3 . Possibile oppure ho le traveggole ?

possibile, se avevi già delle dipendenze a bordo, quindi tutto in regola

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #21 on: September 08, 2011, 03:04:05 PM »
Quindi o è colpa dell'hw del server ( il primo un ml110 G5 e il secondo un ml110 G4 ) o dell'impianto del telefono. Giusto ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #22 on: September 08, 2011, 04:48:34 PM »
del server, nel senso che la seriale della macchina fa 1000 cose e quindi..

comunque su un ml310 g5 ho lavorato con hylafax senza problemi.. su un g6 non c'è verso

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #23 on: September 12, 2011, 10:24:15 AM »
La seriale la uso solo per Hylafax . Ma mi è venuto in mente che un'altra differernza è che sul g5 ho installato Vmware server mentre sul g4 no. Come posso controllare che Vmware non interferisca con la seriale reale ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #24 on: September 12, 2011, 10:27:13 AM »
cercando nella documentazione ufficiale di vmware ed in rete, direi

il fatto che tu usi la seriale solo per hyla conta poco.. se la seriale è in modalità mista (cioè anche come console) non funziona

Offline FrancescoC

  • *****
  • 226
  • +0/-0
Re: Hylafax spedisce fax all'infinito
« Reply #25 on: September 14, 2011, 06:30:21 PM »
Alla fine ho portato un pc con il modem e il programma fax di Windows e quando invia non sente la fine del fax e da errore ma il fax viene ricevuto dall'altra parte , quindi secondo me è un problema di linea.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hylafax spedisce fax all'infinito
« Reply #26 on: September 14, 2011, 09:08:59 PM »
che era, appunto, una delle possibilità (prima elencata) ;-)