HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: service name "fax" is not found !
Hi,
You have to add ports to the Windows machine` services file.
Win95 - \windows\services
WinNT - \winntxx\system\config\services (or maybe somewhere else)
The lines followed is part of my users installation script (Win95).
echo fax 4557/tcp >> c:\windows\services
echo hylafax 4559/tcp >> c:\windows\services
Regards
**************************************************
* Uri Shkolnik - System Administrator *
* Harmonic Lightwaves (Israel) *
* Tel: 972 6 6230150 Ext. 122 Fax: ~~ 6230151 *
* Email: uri@harmonic.co.il *
**************************************************
On Wed, 9 Apr 1997, Lotfi Azaiez wrote:
> I have HylaFAX Version 4.0pl1 on Linux-Server.
> winflex version 0.4a beta (02 jun 94) gives while asking for Send
> (receive) queue
> status :
>
> Error :Unable to find service name "fax": WSANO_DATA: No host data
> record of
> requested type
>
> Logfile :
> Trace: Creating tcSocket, type=1, this=0A57:BF78
> Information: Initialising WinSock library: WSAStartup()
> Debug: tcSocket: SOCKET=66
> Debug: tcSocket(0A57:BF78): WSAAsyncSelect(66, 0x517c, 1135, 0x0)
> Trace: Creating tcBufSocket, this=0A57:BF78
> Debug: tcSocket(0A57:BF78): WSAAsyncSelect(66, 0x517c, 1135, 0x27)
> Information: Connecting to '141.75.20.151'
> Trace: tcSocket(0A57:BF78)::Connect(141.75.20.151, fax, tcp)
> Debug: tcSocket(0A57:BF78): getservbyname(fax, tcp)
> ERROR: Unable to find service name "fax": WSANO_DATA: No host data
> record of
> requested type
> WARNING: Connect("141.75.20.151", "fax") failed.
> Information: Trying Connect("141.75.20.151", 4557)
> Trace: tcSocket(0A57:BF78)::Connect(141.75.20.151, 4557)
> Debug: IP Address = 141.75.20.151
> Debug: tcSocket(0A57:BF78): WSAAsyncSelect(66, 0x517c, 1135, 0x37)
> Information: tcSocket(0A57:BF78): connect(66, 141.75.20.151, 4557)
> Information: Connect returned 0
> Information: Connect() completed synchronously(!)
> Trace: Socket connected. Current error code: 0
> Enter state: Connected to server
> Information: Sending version information
> Debug: tcSocket(0A57:BF78): WSAAsyncSelect(66, 0x517c, 1135, 0x27)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:9402, 9)
> Debug: Posting FD_WRITE message to self
> Debug: tcBufSocket(0A57:BF78): send(2A2F:1CA0, 1)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:9426, 10)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:1CA0, 1)
> Information: Waiting for receive queue status
> Debug: tcBufSocket(0A57:BF78): send(2A2F:9426, 14)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:1CA0, 1)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:9426, 11)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:1CA0, 1)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:1546, 1)
> Debug: tcBufSocket(0A57:BF78): send(2A2F:1548, 1)
> Information: Spurious call to Connected() in state 1
> Debug: tcBufSocket(0A57:BF78): Writable(0)
> Debug: ::send(0A57:9B70, 50) returned 50
> Enter state: Waiting for data from server
> Debug: tcBufSocket(0A57:BF78): Writable(0)
> Debug: tcBufSocket(0A57:BF78): Writable() but no data)
> Debug: tcBufSocket(0A57:BF78): Writable(0)
> Debug: tcBufSocket(0A57:BF78): Writable() but no data)
> Debug: tcBufSocket(0A57:BF78): Readable(0)
> Debug: tcBufSocket(0A57:BF78): read 31 bytes. 31 buffered
> Debug: ffSocket::lineRead() called
> Debug: tcLineBufSocket(0A57:BF78): readLine(2A2F:94EC, 255)
> Debug: tcBufSocket(0A57:BF78): recv(2A2F:94EC, 31)
> Information: Remote closed connection (end of data)
> Trace: Destroying tcBufSocket, this=0A57:BF78
> Trace: Destroying tcSocket: 0A57:BF78
> Debug: tcSocket(0A57:BF78): WSAAsyncSelect(66, 0x517c, 1135, 0x0)
> Debug: tcSocket(0A57:BF78): closesocket(66)
>
>
> Any idea why service name "fax" is not found ?
> my services file is (OK):
> fax 4557/tcp
> fax 4557/udp
>
> sending fax work always ok(but only unde (tcp,4557).
>
> thanks,
> Lotfi
>