The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Usb to serial connection to Sun Enterprice 450 Sunb3 SUN Solaris 3 03-27-2008 10:01 PM
about TCP connection bucci UNIX for Advanced & Expert Users 3 05-16-2007 02:44 AM
ftp connection draganmi SCO 6 04-18-2007 06:11 AM
FTP Connection mungaz Security 0 05-23-2006 02:48 PM
ssh connection olli-h UNIX for Dummies Questions & Answers 1 03-16-2006 04:40 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-09-2004
josramon josramon is offline
Registered User
  
 

Join Date: Nov 2002
Location: pasadena
Posts: 74
Ftp connection resfused Redhat Enterprice 3

Hello guys.

I have a problem i'm a newbie with Redhat , in other word i dont know much about it.

I just did a clean install and i'm trying to fto the box from a Xp computer ,

The error i'm getting is "ftp: connect : Unknown error number"

O know that i need to edit some files ir enable a service but i just cant find it.


If any of you could give me a hand on this will be nice ,


Thanks a lot
  #2 (permalink)  
Old 04-09-2004
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
please use the search function. this question has been asked and answered before.
  #3 (permalink)  
Old 04-09-2004
josramon josramon is offline
Registered User
  
 

Join Date: Nov 2002
Location: pasadena
Posts: 74
Quote:
Originally posted by norsk hedensk
please use the search function. this question has been asked and answered before.

i did and there was nothing about the error message that i was getting "Unknown error number"


Also is a different version of redHat .
  #4 (permalink)  
Old 04-09-2004
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
well first check to see that an ftpd is installed. i dont use redhat so you would be more familiar with this than i. open your package manager and check to see if there is an ftpd installed. after that, i would think redhat would enable it and everything should work. if it dosnt, then you have to go to your /etc/ directory and check your config files, might be inetd.conf or something somwhere else.
  #5 (permalink)  
Old 04-09-2004
TioTony's Avatar
TioTony TioTony is offline Forum Advisor  
Bit Pusher
  
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
I thought vsftp setup would be on the forum too and even thought I already posted it. All I could find was wu-ftp. So here is vsftp (maybe again). If something doesn't make sense, check out the man pages or post a reply. I don't fully understand all the settings available in the .conf file so I probably can't help you there too much.

1. Install the vsftp rpm. rpm -ihv vsftp*.rpm.

2. vi /etc/xinetd.d/vsftpd. Should look like this:

service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
server_args = /etc/vsftpd/vsftpd.conf
nice = 10
per_source = 5
instances = 50
log_on_success += PID HOST DURATION
log_on_failure += HOST
}


3. Add "vsftpd: ALL" to /etc/hosts.allow. Replace "ALL" with your subnet, machine list, or whatever if you don't want everyone to be able to connect. ALL will let every machine connect, but you still need a login and password.

4. Create an /etc/vsftpd/vsftpd.conf file like this:

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=NO
tcp_wrappers=YES

5. (optional) - If you want to ftp as root or any other user that is normally restricted, remove them from /etc/vsftpd.ftpusers.

6. (optional) - Do the same for /etc/vsftpd.user_list.

7. Type 'service xinetd restart' and you should be set.

This setup may open the ftp door further then you want to but should get you started.
  #6 (permalink)  
Old 04-12-2004
josramon josramon is offline
Registered User
  
 

Join Date: Nov 2002
Location: pasadena
Posts: 74

Hey man you are the best , thanks a lot
It worked just fine.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0