Koozali.org formerly Contribs.org

HylaFAX INET: bind (port 4559): Address already in use

HylaFAX INET: bind (port 4559): Address already in use
« on: August 22, 2011, 03:09:01 PM »
Buongiorno

sme server 7.5.1

 Ho installato Hylafax e non posso mandare e ricevere fax.

Installazione:
yum --enablerepo=smecontribs install smeserver-hylafax

 La configurazione del faxsetup e questa.

Code: [Select]
Fax number +39.0xxx.xxxxxx
Fax sender's name Prova server fax
Volume of speaker medium
Speed of the modem/fax 4800
Serial port /dev/ttyS0
Country code 39
Area dial code 0523
Long distance dial code 0
International dial code. 00
Call prefix
Number of rings 1
Flow control. xonxoff
Type of modem/fax Class1
Dialling mode PULSE
User's name faxmaster
SAMBA name
Paper size A4
Resolution 196
Notify OnError
Date format DMY

RecvFileMode:           0666
LogFileMode:            0666
DeviceMode:             0666

Nel log ho seguenti errori .
Code: [Select]
serverfax FaxGetty[5742]: Could not open FIFO file FIFO.ttyS0: Permission denied.
HylaFAX[4858]: HylaFAX INET: bind (port 4559): Address already in use


  Modem: Ropen RoconV92 S  Fax Modem 56K

  qualche idea?

 Grazie mille...

Redit: Ho cercato ovunque , ma non ho trovato una soluzione ; quelli errori si ripetono continuamente nel log .


« Last Edit: August 23, 2011, 03:57:51 PM by johnny13 »

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #1 on: August 24, 2011, 11:13:16 AM »
con il comando
Code: [Select]
tail -f /var/log/messages | grep -i fax vedo seguenti errori:

 
Code: [Select]
Aug 24 11:07:53 serverfax FaxGetty[6947]: Could not open FIFO file FIFO.ttyS0: P                                                                                                                                                             permission denied.
Aug 24 11:07:53 serverfax init: Id "fax" respawning too fast: disabled for 5 min                                                                                                                                                             utes
Aug 24 11:09:43 serverfax slapd[4390]: conn=11 fd=7 ACCEPT from IP=127.0.0.1:330                                                                                                                                                             02 (IP=0.0.0.0:389)
Aug 24 11:09:43 serverfax slapd[4390]: conn=11 op=0 BIND dn="" method=128
Aug 24 11:09:43 serverfax slapd[4390]: conn=11 op=0 RESULT tag=97 err=0 text=
Aug 24 11:09:43 serverfax slapd[4390]: conn=11 op=1 UNBIND
Aug 24 11:09:43 serverfax slapd[4390]: conn=11 fd=7 closed

 

grazie

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #2 on: August 29, 2011, 09:26:09 AM »
Ho provato 4 modem diversi classe 1 , ma niente, lostesso errore.  :(

Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #3 on: August 29, 2011, 10:10:39 AM »
ciao

apri un terminale, entra come root e spostati nella dir /var/spool/hylafax

posta il risultato di
Code: [Select]
ls -la

grazie
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #4 on: August 29, 2011, 10:18:50 AM »
il risultato e questo:

Code: [Select]
ls -la
totale 72
drwxr-xr-x  18 root root 4096 29 ago 09:50 .
drwxr-xr-x  16 root root 4096 25 ago 10:06 ..
drwx------   2 uucp uucp 4096 23 apr  2008 archive
drwxr-xr-x   2 uucp uucp 4096 29 ago 09:50 bin
drwxr-xr-x   2 uucp uucp 4096 29 ago 10:12 client
drwxr-xr-x   3 uucp uucp 4096 29 ago 09:49 config
drwxr-xr-x   2 uucp uucp 4096 23 apr  2008 dev
drwx------   2 uucp uucp 4096 23 apr  2008 docq
drwx------   2 uucp uucp 4096 23 apr  2008 doneq
drwxr-xr-x   3 root root 4096 29 ago 09:50 etc
prw-------   1 uucp uucp    0 29 ago 10:09 FIFO
drwxr-xr-x   2 uucp uucp 4096 23 apr  2008 info
drwxr-xr-x   2 uucp uucp 4096 23 apr  2008 log
drwxr-xr-x   4 root root 4096 29 ago 09:49 mimetype
drwx------   2 uucp uucp 4096 23 apr  2008 pollq
drwxr-xr-x   2 uucp uucp 4096 23 apr  2008 recvq
drwx------   2 uucp uucp 4096 23 apr  2008 sendq
drwxr-xr-x   2 uucp uucp 4096 23 apr  2008 status
drwx------   2 uucp uucp 4096 23 apr  2008 tmp


Grazie  :)

Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #5 on: August 29, 2011, 10:30:15 AM »
hai dei problemi con i permessi..

Code: [Select]
cd /var/spool
chown -R uucp:uucp hylafax

e riprova
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #6 on: August 29, 2011, 10:49:32 AM »
 Modificando i permessi ho questo errore: 

 
Code: [Select]
Aug 29 10:33:32 faxserver init: Id "fax" respawning too fast: disabled for 5 minutes
Aug 29 10:38:33 faxserver FaxGetty[5774]: OPEN /dev/ttyS0  HylaFAX (tm) Version 4.4.4
Aug 29 10:39:42 faxserver FaxGetty[5774]: /dev/ttyS0: Can not initialize modem.


Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #7 on: August 29, 2011, 10:58:58 AM »
che hw hai? a me capita la stessa cosa su un server hp ml310 G6..
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #8 on: August 29, 2011, 11:26:25 AM »
questi:

Code: [Select]
Motherboard
product: M2NPV-VM
vendor: ASUSTek Computer INC
CPU
product: AMD Athlon(tm) 64 Processor 3800+
vendor: Advanced Micro Devices [AMD]
physical id:
4
bus info:
cpu@0
version: 15.15.2
slot: Socket AM2
size: 2400MHz
capacity: 3700MHz
width: 64 bits
clock: 200MHz
id:
bridge
description: Ethernet interface
product: MCP51 Ethernet Controller
vendor: nVidia Corporation
physical id:
14
bus info:
pci@0000:00:14.0
logical name:
eth0
version: a3
serial: 00:18:f3:3f:84:cb
size: 1000000000
capacity: 1000000000
width: 32 bits
clock: 66MHz
capabilities: bridge pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration:
autonegotiation = on
broadcast = yes
driver = bonding
driverversion = 2.6.3-rh
duplex = full
firmware = 2
ip = 1.1.1.1
latency = 0
link = yes
master = yes
maxlatency = 20
mingnt = 1
multicast = yes
port = MII
speed = 1GB/s
resources:
memory : fe02b000-fe02bfff
ioport : c800(size=8)
id:
disk
description: ATA Disk
product: ST3500413AS
vendor: Seagate
physical id:
0.0.0
bus info:
scsi@0:0.0.0
logical name:
/dev/sda
version: JC4B
serial: Z2A6FWSJ
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration:
ansiversion = 5
signature = 0009b476

Poi nel log dopo la reconfigurazione:

Code: [Select]
Aug 29 11:16:52 faxserver afpd[5567]: faxserver:AFPServer@* started on 65280.106:128 (2.0.3)
Aug 29 11:16:52 faxserver afpd[5567]: ASIP started on 192.xxx.x.xx:548(6) (2.0.3)  (xxx ip del server)
Aug 29 11:16:52 faxserver afpd[5567]: uam: loading (/usr/lib/uams_dhx.so)
Aug 29 11:16:52 faxserver afpd[5567]: uam: uams_dhx.so loaded
Aug 29 11:16:52 faxserver afpd[5567]: uam: loading (/usr/lib/uams_pgp.so)
Aug 29 11:16:52 faxserver afpd[5567]: uam: uam not found (status=-1)
Aug 29 11:16:52 faxserver afpd[5567]: uam: "DHCAST128" available
Aug 29 11:16:52 faxserver afpd[5567]: Finished parsing Config File
Aug 29 11:16:59 faxserver udevd[1367]: udev done!
Aug 29 11:17:23 faxserver FaxGetty[5036]: /dev/ttyS0: Can not initialize modem.
Aug 29 11:20:39 faxserver FaxGetty[5036]: Unable to setup modem on /dev/ttyS0; giving up after 2 attempts
Aug 29 11:20:39 faxserver FaxGetty[5036]: CLOSE /dev/ttyS0
Aug 29 11:20:39 faxserver FaxQueuer[4712]: MODEM /dev/ttyS0 appears to be wedged
Aug 29 11:20:39 faxserver FaxQueuer[4712]: MODEM WEDGED: bin/wedged "ttyS0" "/dev/ttyS0"
Aug 29 11:20:39 faxserver FaxGetty[5605]: OPEN /dev/ttyS0  HylaFAX (tm) Version 4.4.4
Aug 29 11:20:40 faxserver FaxQueuer[4712]: NOTIFY exit status: 0 (5604)
Aug 29 11:21:48 faxserver FaxGetty[5605]: /dev/ttyS0: Can not initialize modem.

Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #9 on: August 29, 2011, 11:35:36 AM »
verifica nel bios che la seriale sia attiva.. se ne hai un'altra, sposta il modem li e riconfiguralo
« Last Edit: August 29, 2011, 11:41:24 AM by Stefano »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #10 on: August 29, 2011, 12:13:55 PM »
e una seriale esterna non la vedo dal bios ( la scheda madre non ha seriale)

 Ma e indicata dal modulo Hardware Info.

Code: [Select]
description: Serial controller
product: PCI 9835 Multi-I/O Controller
vendor: NetMos Technology
physical id:
8
bus info:
pci@0000:01:08.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: 16550
configuration:
latency = 32

Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #11 on: August 29, 2011, 12:34:10 PM »
questo cambia le cose.. la scheda era presente quando hai installato la macchina o l'hai aggiunta dopo?

posta il risultato di
Code: [Select]
dmesg | grep -i tty
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #12 on: August 29, 2011, 12:46:55 PM »
 La scheda era presente .

 Il risultato รจ

Code: [Select]
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS4 at I/O 0xbc00 (irq = 169) is a 16550A
ttyS5 at I/O 0xb800 (irq = 169) is a 16550A

 Grazie

Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #13 on: August 29, 2011, 02:39:00 PM »
ho il sospetto che le porte usabili siano ttyS4 e S5..
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: HylaFAX INET: bind (port 4559): Address already in use
« Reply #14 on: August 29, 2011, 02:44:15 PM »
 La seriale ha una sola porta .

 quindi devo modificare in faxmodem ttyS4 or ttyS5 ?
« Last Edit: August 29, 2011, 02:51:13 PM by johnny13 »