Re: Informix-NET
Posted in 1996
Karen Diaz wrote: > I have just installed Informix-Net for Windows. On attempting to connect to the server > the error -932: error on getservbyname(WSANO_DATA) occurs. > > I am using Net together with Windows 3.11, Sun PC-NFS Pro 2.0 and > Informix-Online 5.02. > > I have already copied the services file from the Solarnet directory to the > windows\\system directory but to no avail. Before going any further, make sure that TCP/IP networking really works on your PC client and the server. You could start by trying to "ping" the server from the PC, then start a "telnet" session from the PC to the server. If that works, then networking is ok. There must be an entry for the Informix-NET service in the "services" files on both the server and the client, and they must be identical. By default, I-NET uses the entry sqlexec 1525/tcp (^^^^^^ ^^^^^ ^^) (Servicename Port Protocol) but you can actually use any service name and port number you'd like, as long as they are unique in your system. If you use another name instead of "sqlexec", you must start your "sqlexec"-Daemon on your server with that name as a parameter (consult the manual on how to do that). I have no idea about where SUN PCNFSpro expects the "services" file on the PC. Make sure it is in the right location (WINDOWS/SYSTEM doesn't sound right to me) and that it is the ONLY file named "services" on your PC. Another problem might be that if the line with the "sqlexec" service is the last line in your "services" file, it MUST end with a "RETURN", otherwise the system cannot read that line. This is at least true for MS-TCPIP/32. Hope this helps, Richard PS: Please check the news setup on your machine. Replying by mail doesn't work, only "Karen Diaz" shows up as your return address. -- +--------------------------+------------------------------------------+ | Dr. Richard Spitz | INTERNET: spitz@ana.med.uni-muenchen.de | | EDV-Gruppe Anaesthesie | Tel : +49-89-7095-3413 | | Klinikum Grosshadern | FAX : +49-89-7095-8886 | | 81366 Munich, Germany | | +--------------------------+------------------------------------------+