Subject: Re: 0.0.0.0,20 error

From: [email-masked] (Brent Balfanz)
Date: Tue, 9 Apr 1996 08:36:41 -0500

I just finished with this one myself.  the faq is a good place to look
for assistance.  I found that my problem was that my chroot dir was
not at the correct level in proportion (is that the right word?) with
my ftp bin directory.

			...brently

> From [email-masked] Mon Apr  8 20:01 CDT 1996
> Date: Mon, 8 Apr 1996 11:24:53 -0600
> From: Terry Esau <[email-masked]>
> To: [email-masked]
> Subject: 0.0.0.0,20 error
> Mime-Version: 1.0
> X-Sender: [email-masked]
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> Solaris 2.4  gcc 2.7.2
> 
> I have had the in.ftpd (bundled with solaris) working fine on my Sparc 10.
> So I believe my directory structure and permissions are set correctly.
> 
> When I compile wu-ftpd from academ I get no errors during compile.
> 
> the ftp works fine until I log in as anonymous. 
> when executing the ls command I get this error
> 
> Can't create data socket (0.0.0.0,20): Bad file number.
> 
> Can someone Please give me some pointers here?
> 
> 
> 
> 
> 
> When I compile the wu-ftp from wuarchive I get some errors during compile.
> 
> usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside
> parameter list
> /usr/include/arpa/inet.h:46: warning: its scope is only this definition or
> declaration,
> /usr/include/arpa/inet.h:46: warning: which is probably not what you want.
> /usr/include/arpa/inet.h:46: warning: parameter has incomplete type
> /usr/include/arpa/inet.h:49: warning: parameter has incomplete type
> /usr/include/arpa/inet.h:50: warning: parameter has incomplete type
> 
> And here is my inet.h file with some comments chopped out.
> 
> #ifndef _ARPA_INET_H
> #define	_ARPA_INET_H
> #pragma ident	"@(#)inet.h	1.8	92/07/14 SMI"	/* SVr4.0 1.1	*/
> #ifdef	__cplusplus
> extern "C" {
> #endif
> #ifdef __STDC__
> extern unsigned long inet_addr(const char *);
> extern char *inet_ntoa(struct in_addr);
> extern struct in_addr inet_makeaddr(int, int);
> extern unsigned long inet_network(const char *);
> extern unsigned long inet_lnaof(struct in_addr);
> extern unsigned long inet_netof(struct in_addr);
> #else
> unsigned long inet_addr();
> char	*inet_ntoa();
> struct	in_addr inet_makeaddr();
> unsigned long inet_network();
> extern unsigned long inet_lnaof();
> extern unsigned long inet_netof();
> #endif
> #ifdef	__cplusplus
> }
> #endif
> #endif	/* _ARPA_INET_H */
> 
> 
> then it works much the same as the academ version,,  same error
> when logged in as anonymous.
> 
> 
> Thanks-You
> ============================================================
> = Terry Esau        Main address:       [email-masked] =
> = kneehill internet services       http://www.kneehill.com =
> ========= Linden ====== Alberta ======== Canada ============
> 
>