Subject: [988] problem with wu-ftpd and sockets

From: "Jean-jacques ADAM - FT.CNET/LAA/ITP/RIC" <[email-masked]>
Date: 28 Dec 94 17:55:38-0100

Hello,

I have install wu-ftpd on a Sun machine running Solaris 5.3
Unfortunately something goes wrong.
Here is the trace.
If some people on the net can tell me where I make a mistake.

> lsun250{adamj}89: ftp cormoran
> Connected to cormoran.
> 220-
> 220 cormoran FTP server (Version wu-2.4(1) Wed Dec 21 11:57:01 MET 1994) ready.
> Name (cormoran:adamj): ftp001
> 331 Password required for ftp001.
> Password:
> 230 User ftp001 logged in.  Access restrictions apply.
> ftp> ls
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number.
> ftp> 

Thank You
jja

 +---------------------------------------------------------------+
 |   +-France--------+                         +---------+       |
 |   | T E L E C O M |                         | C N E T |       |
 |   +---------------+                         +---------+       |
 |  			  Jean Jacques ADAM		         |
 |							         |
 | LAA/ITP/RIC               Telephone    +33 96 05 34 49        |
 | CENTRE NATIONAL D'ETUDES                                      |
 | DES TELECOMMUNICATIONS    Telecopie    +33 96 05 34 56        |
 | 2 route de Tregastel                                          |
 | BP 40                         [email-masked]           |
 | F-22301 LANNION CEDEX                                         |
 +---------------------------------------------------------------+

---

From: [email-masked] (Russell Street)
Date: Thu, 29 Dec 1994 08:48:14 +1300 (NDT)

> > 425 Can't create data socket (0.0.0.0,20): Bad file number.

I had that as well for a while.  I found that sending a couple of HUP
signals to inetd and killing off all the ftpd processes cured the
problem. Why I don't know.

Cheers
Russell
  -----------------------------------------------------------------
     Russell Street ([email-masked]) 373-7599 extn 6487
   UNIX Systems Programmer, Computer Centre, University of Auckland

	   It's something to do with the shortage of money
	       and the holidays in the South of France.

---

From: Stefan Rensing <[email-masked]>
Date: Thu, 29 Dec 1994 10:05:22 +0100 (MET)

> I have install wu-ftpd on a Sun machine running Solaris 5.3
                                                          ^^^ Wow!
> Unfortunately something goes wrong.

[stuff deleted]

> > 425 Can't create data socket (0.0.0.0,20): Bad file number.

Try to use the mknod command to create the following special files
in your ~ftp/dev directory:

15838    0 crw-rw-rw-   1 root     other      2,  2 Nov 18 13:50 null
15834    0 crw-rw-rw-   1 root     other     11, 42 Nov 18 13:27 tcp
15835    0 crw-r--r--   1 root     other     11,  9 Nov 18 13:27 ticotsord
23124    0 crw-rw-rw-   1 root     other      1,  0 Nov 18 13:46 tty
15836    0 crw-r--r--   1 root     other     11, 41 Nov 18 13:27 udp
15837    0 crw-r--r--   1 root     other     13, 12 Nov 18 13:28 zero

This works with Solaris 2.3.
- Stefan.

-- 
Stefan A. Rensing             Institute of Biology II/III - Schaenzlestr. 1
The SysOp Biologist           D-79104 Germany, phone: +49 761 2676 / FAX: 2675
e-mail: [email-masked]  MUD: port 4242 on that <- host
http://www.biologie.uni-freiburg.de/data/people/lije.html IRC:Lije MUD:Aragorn
                                                      "I love you !" "I know."