LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2003, 07:24 AM   #1
mauritian
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Rep: Reputation: 0
FTP Server configuration


Hi,

i want to setup an FTP server where machines running window platform can access the ftp server.

I have installed RH7.3 with wu-ftp and anonftp package.

I'm using cuteFTP on the client to try to access the FTP server but the connection fails ..

Could any one help me out?

I'm sure I messed up in the configuration.Thx
 
Old 06-19-2003, 10:59 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Error messages would help us determine what the problem might be?

Also, how are you trying to connect, thru IP or by host name? Are you trying to connect on internal LAN or from outside network?
Can your windows machines ping this FTP server?
Is wu_ftp running?
Do you have a firewall setup?
 
Old 06-23-2003, 01:35 AM   #3
mauritian
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

I'm trying to connect using IP. The Win machine can ping the FTP server and I'm trying to connect on an internal LAN.

There is no firewall. I'm using CUteFTP to connect and I get the following error:
'Can't connect to remote server. Socket error = #10054.'

How do I know if wu_ftp is running?I've run the command:

/sbin/service xinetd status

and I got xinetd is running so I think that wu_ftp is running.
 
Old 06-23-2003, 02:15 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Run:
ps aux | grep ftp

And post the outcome.

Also, look at the server side log files (/var/log) to see if you can find an error there.

Cool
 
Old 06-24-2003, 03:08 AM   #5
mauritian
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
outcome

The outcome is :

root 1682 0.0 0.9 1700 608 pts/0 11:06 grep ftp
 
Old 06-24-2003, 03:34 AM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Doesn't look like it's on:

Assuming it's the same as later version of Red Hat:

chkconfig --list

will show what services handled by xine are installed and turned on
or not.

or netstat -a look for port 21

Check for file

/etc/xinetd.d/wu-ftpd

and change to disable=no if it isn't already

restart xinetd

/etc/init.d/xinetd restart

Might be better offusing VSFTP if it's installed but personal choice and all that.
 
Old 06-24-2003, 04:18 AM   #7
mauritian
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
the xinetd status is running and when using netstat, it shos ftp is listenning on port 21.

I can ftp on the same local machine(ftp server itself) that is using : ftp localhost.

However when accessing the ftp server from a window based client machine on the LAN, I get the following message

ftp: connect : Unknown error number
 
Old 06-24-2003, 04:45 AM   #8
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
You say you have no firewall...so you mean no ipchains or no iptables are loaded right? to check:

ipchains -L or
iptables -L

and you'll see the rules. Just to check, turn it off by:

lokkit (and select No firewall)

then try connecting to your linux machine locally. Everything looks good at what you've done so far. I have redhat 7.3 and I use wu-ftpd also.

-twantrd
 
Old 06-24-2003, 07:04 AM   #9
mauritian
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

THKX twantrd

It worked great!!

One little Question :I'm using IP address to access the FTP server. What's the next step to use a domain name(e.g ftp:// myftpserver)
 
Old 06-24-2003, 07:06 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
www.noip.com www.dyndns.org www.godaddy.com www.zoneedit.com

Just registrar, from there it's all done at there end, not yours. If you have a dynamic IP look at the first 2 links first.

Cool
 
Old 06-26-2003, 12:57 AM   #11
mauritian
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
THKX

ALL UP and RUNNING!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 05:35 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
open ssh ftp server configuration? linuxmandrake Linux - Software 10 06-22-2005 08:23 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM


All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration