Hylafax Mailing List Archives

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

Re: Hylafax - fax user defined in passwd



> Did you run the netstat(1) while a telnet session to port
> 4559 was in progress? If there is no client connection to
> port 4559 it will show only the LISTEN, if there is a
> connection to port 4559 it will also schow ESTABLISHED lines.

Yes, I did:

tcp	0	0	127.0.0.1.4559	127.0.0.1.1025	ESTABLISHED
tcp	0	0	127.0.0.1.1025	127.0.0.1.4559	ESTABLISHED
tcp	*.*	4559					LISTEN


> The "-I" will only work if hfaxd(1M) is started from the inetd(1M)
> via an entry in inetd.conf(4F). "-I" means: the client/server
> protocol is using stdin and stdout (these file descriptors are
> handed over by inetd(1M) as a connected socket). If you use
> "-I" in a boot-time start script it will not work. On the
> other hand you can't use "-i hylafax" in inetd.conf(4F) because
> inetd(1M) is listening on port "hylafax" and not hfaxd(1M) itself.
> Your error message below "4559 in use" will be the result of
> using "-i hylafax" in inetd.conf(4F).  In inetd.conf(4F) you must
> use "-I".

inetd.conf:

hylafax  stream  tcp  nowait  fax /usr/contrib/lib/hylafax/hfaxd hfaxd -I

rc:

/usr/contrib/bin/faxq
/usr/contrib/lib/hylafax/hfaxd -i

....

After reboot, only faxq shows up as a process and the error message
during bootup says:
hylafax usage	[-i port] [-o port] [-s port]

I then go to /usr/contrib/lib/hylafax directory and type:

./hfaxd -i 4559

HylaFax starts up and I get the following error in the daemonlog:
HylaFax INET: bind (port 4559) already in use; unable to initialize server

and I get the password prompt when trying to issue sendfax or faxstat
fromt he command line.

REgards
Helen
************************************************************************
*	MKL.Net		        	Internet Service Provider      *
*	A service of CPU Industries                                    *
*	Bainbridge, New York, USA      	PPP, dial-up, telnet, uucp,    *
*	http://www.mkl.com		virtual domains, web design    *
*	https://mall.mkl.com	Secured server - Merchant services     *
************************************************************************



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services