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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allow FTP

Status
Not open for further replies.

zephan

Programmer
Jan 14, 2002
217
A2
Hi,
A very basic question here. I have just installed Redhat linux 9, and in the installation wizard I choosed to allow FTP. However I get the message "Connection Refused" when trying to connect.
How can I check is the ftp really allowed.
What to do if it is disabled to enable it.
Thanks,
Zephan
 
RH9 comes with a few ftp servers. Which one are you using? Chances are, your ftp server has not been setup yet to start at boot up. The question you were answering at install was whether to allow ftp traffic to pass through your firewall.
 
What exactly the problem in the FTP configuration?R u not able to use the server as FTP server or firewall problem?
 
Thanks all, RythmAce is probably right.
rpm -qa | grep ftpd displays vsftpd-1.1.3-8
I looked in rc2.d there is a file K50vsftpd.
I started the service (./K50vsftpd start) and it worked fine.
How can I make it start at boot up now. Should I rename K50vsftpd to S50vsftpd ?
 
The "S" means Start, the "K" means Kill. The numbers (50 in this case) indicate when in the boot process to run the script. This way, you can bring up the network (probably has an S40network symlink) before the ftp daemon starts. Renaming isn't the thing to do. Instead, try the 'chkconfig' command. You can use it to have it create the appropriate symlinks for you in the rc*.d directories. There's also a nifty control panel-type configuration program (called "Services" or similar) that will let you do it via point-n-click.


----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top