HylaFAX The world's most advanced open source fax server

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

[hylafax-users] fc5 init script (/etc/init.d/hylafax) error: bind to port twice



The init script release into fc5.rpm
(ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.3.0-1fc5.i386.rpm) contain a error: 

> HFAXD_ARGS="$HFAXD_ARGS -i hylafax"
> 
> if [ "$SPOOL" != "/var/spool/hylafax" ] ; then
>     HFAXD_ARGS="$HFAXD_ARGS -q $SPOOL"
>     FAXQ_ARGS="$FAXQ_ARGS -q $SPOOL"
> fi
> 
> start() {
> ......
>         START_DAEMON /usr/sbin/hfaxd -i hylafax $HFAXD_ARGS

the hfaxd daemon try to bind on port 4559 twice, because the daemon is
start whit '-i port -i port' 

> May 30 17:22:42 mail HylaFAX[21884]: HylaFAX INET Protocol Server: restarted.
> May 30 17:22:42 mail HylaFAX[21884]: HylaFAX INET: bind (port 4559): Address already in use
> May 30 17:22:42 mail HylaFAX[21884]: HylaFAX INET: Unable to init server, trying again in 5 seconds.

If I remove '-i hylafax' option from command run via START_DAEMON 
the daemon work property.

The hylafax.sourceforge.net script have not this error.

Many thanks.

-- 
Dario Lesca <d.lesca@xxxxxxxxxx>


____________________ 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