FTP connection refused, INETD error 40

(Last modified: 09Oct2002)

This document (10013647) is provided subject to the disclaimer at the end of this document.

fact

Novell NetWare FTP Server

Novell NetWare 4.11

Novell NetWare 5.0

Formerly TID 2909414

symptom

FTP connection refused, INETD error 40

Error: "Connection refused."

Hosts trying to FTP to the server receive Error: "Connection Refused"

Product Kernel screen displays "INETD-error-40: Failed to start FTP service specification."

cause

The five most likely causes of this error are (in order of likelihood):
1. Damaged SYS:\ETC\SERVICES file.
2. Damaged SYS:\ETC\INETD.CFG file.
3. Damaged SYS:\SYSTEM\INETD.NLM.
4. Server needs to be downed and restarted.
5. There is a duplicate IP address on the network.

fix

Any one of the following may fix the problem, we recommend trying them in this order:

1. Check SYS:\ETC\INETD.CFG.  The file should have a line that says:
ftp     stream    tcp     ftpserv
If this line is commented out, uncomment the line and stop and restart FTP Services.  This may fix the problem.
 
2. a.  Delete the SYS:\ETC\SERVICES file
    b.  Replace it with the SYS:\ETC\SAMPLES\SERVICES file.
    c.  Run UNISTOP.NCF and UNISTART.NCF.   Note: In some cases, you must down the server and restart it.

3.  Verify there is not a duplicate IP address on the network.  Reconfigure the offending device.

4. a.  Delete INETD.CFG, SERVICES, INETD.NLM
    b.  replace them with the files from the original disks.
    c.  Run UNISTOP.NCF and UNISTART.NCF. Note: In some cases, you must down the server and restart it.

ALSO: make sure that you are not using FTP Proxy!

document

Document Title: FTP connection refused, INETD error 40
Document ID: 10013647
Solution ID: 4.0.14314373.2261532
Creation Date: 04Aug1999
Modified Date: 09Oct2002
Novell Product Class:Connectivity Products
NetWare
Novell BorderManager Services

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.