Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WU-FTP does not work for me on Ubuntu

Status
Not open for further replies.

Matf

Programmer
Aug 28, 2003
23
US
Hi I'm pretty new to Linux and it's my firts time setting up an FTP server.

I have Ubuntu on my server. Downloaded and installed WU-FTP usinf dselect. however, whenever I try to open an FTP connection to the server using DOS it tells me "FTP: Connect: Unknown error number"

I must be missing something prety simple. Should I have to do something after instaling with dselect? I restarted the server (altough it should not be necessary). Cannot see FTP listening when I run a netstat -a.

Any help will be greatly appreciated.
 
You have to tell the system to start the FTP daemon. FTP is part of inetd, so there is generally a configuration file that must be modified so that inetd knows which services it is offering.

You probably want to use the hosts.allow and hosts.deny files to ensure that only the desired addresses can even connect with the service.

Try 'man inetd' or 'man xinetd' to see how to configure inetd. Also, you may want to look at 'man inetd.conf' or 'man xinetd.conf' to see how to modify the config file. There is also probably a config file for WU-FTP. I'd start by looking in /etc/inetd.d or /etc/xinetd.d.


pansophic
 
When I try "man" anything it tells me "No manual entry for XXXX" XXXX being whatever I'm trying.

The other fun thing is that I don't have inetd.d or xinetd.d under the etc directory (Can't find them anywhere). The only thing similar to it is a file called inetd.conf. When I look into the file it has the following

"ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/wu-ftpd $"

Any ideas?
 
Without inetd (the executable should be in /bin or /sbin or /usr/bin or /usr/sbin. If you don't have that executable, you will never be able to launch an ftp server.

Try:

find / -name inetd -print

That should look from root (/) for a file named inetd and print the results. It appears that wu-ftpd installed properly and made the correct modifications to your inetd.conf file (probably the default if it can't find an inetd.conf or xinetd.conf). You need to search the Ubuntu packages for inetd and get that installed. It may (probably will) overwrite the inetd.conf file, so you may be required to reinstall wu-ftpd.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top