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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-19-2003, 06:24 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 7
Rep:
|
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
|
|
|
06-19-2003, 09:59 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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?
|
|
|
06-23-2003, 12:35 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
06-23-2003, 01:15 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
06-24-2003, 02:08 AM
|
#5
|
LQ Newbie
Registered: Jun 2003
Posts: 7
Original Poster
Rep:
|
outcome
The outcome is :
root 1682 0.0 0.9 1700 608 pts/0 11:06 grep ftp
|
|
|
06-24-2003, 02:34 AM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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.
|
|
|
06-24-2003, 03:18 AM
|
#7
|
LQ Newbie
Registered: Jun 2003
Posts: 7
Original Poster
Rep:
|
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
|
|
|
06-24-2003, 03:45 AM
|
#8
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
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
|
|
|
06-24-2003, 06:04 AM
|
#9
|
LQ Newbie
Registered: Jun 2003
Posts: 7
Original Poster
Rep:
|
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)
|
|
|
06-24-2003, 06:06 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
06-25-2003, 11:57 PM
|
#11
|
LQ Newbie
Registered: Jun 2003
Posts: 7
Original Poster
Rep:
|
THKX
ALL UP and RUNNING!
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|