Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
07-31-2003, 04:41 PM
|
#1
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
FTP server
I know this may (not it is, actually) a re-post. But since I posted the other one on the networking forum, I got stuck... Anyway here I go:
I installed vsftpd from RPM on RH9. I've checked the configuration file and the man page suggestions for the setting it up, however I am unable to simply login (user or anonymous) so my question here is: What am I missing?
Thanks for any help.
|
|
|
07-31-2003, 05:22 PM
|
#2
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
What's the error message? Maybe some other service is not turned on (xinted, forgot how to spell), or maybe your network is messed, and you can't log on as root (at least it doesn't work for me).
|
|
|
08-03-2003, 06:26 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Original Poster
Rep:
|
Ok, it may have to do with the fact that I messed around with the FTP user and it's properties... So What would be the best way to set up an FTP server with vsftpd?
Note I am able to login to the server computer from my local computer with ssh (root and otherwise). I have enabled the port for FTP and the support to FTP transactions on the FireWall settings (lokkit and redhat-securitylevel)
|
|
|
08-03-2003, 07:22 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
again.....
what is the error you getting when trying to log in.
|
|
|
08-05-2003, 06:14 PM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Original Poster
Rep:
|
I just get an error stating that I cannot log in to the system and a timeout tying to stablish a connection. Should I leave the default RPM settings??
|
|
|
08-15-2003, 02:30 AM
|
#6
|
LQ Newbie
Registered: Aug 2003
Location: Littleton, CO
Distribution: Red Hat 9
Posts: 8
Rep:
|
Hopefully you didn't screw up the ftp user ... assuming you didn't ....
vsftpd.conf must be in /etc . RH 9 puts the sample file in /etc/vsftpd ... put a copy in /etc -- then edit it and comment out Listen = yes.
Do a "locate vsftpd" ... in the listing you'll see a ...
/usr/share/doc/vsftpd-1.1.3/vsftpd.xinetd
copy that to /etc/xinetd.d and rename it to vsftpd . Now edit the file and change "disable = yes" to "disable = no".
Do a /etc/init.d/xinetd restart or reboot your machine and you should have a working vsftpd.
If you did hopelessly screw up the ftp user ... reinstall!
|
|
|
08-15-2003, 12:09 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Original Poster
Rep:
|
Thanks.
|
|
|
08-18-2003, 10:15 PM
|
#8
|
LQ Newbie
Registered: May 2003
Posts: 13
Rep:
|
Hi,
I am having trouble with ftp server on RH9.
here my vsftpd settings, under /etc/xinetd.d
service ftp
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
nice = 10
rlimit_as = 16M
instances = 1
per_source = 1
server = /usr/sbin/vsftpd
}
and here the output of lsof command:
[tester@LinuxDevTest xinetd.d]# lsof -c x -a -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 2457 root 5u IPv4 106419 TCP *:login (LISTEN)
xinetd 2457 root 6u IPv4 106420 TCP *:shell (LISTEN)
xinetd 2457 root 8u IPv4 106421 TCP LinuxDevTest:35481 (LISTEN)
xinetd 2457 root 9u IPv4 106424 TCP *:telnet (LISTEN)
xinetd 27846 root 5u IPv4 692909 UDP *:mtftp
xinetd 27846 root 6u IPv4 692916 TCP *:ftp (LISTEN)
xinetd 27848 root 5u IPv4 692929 UDP *:mtftp
Now, any attempt to connect to ftp server fails with the following message:
530 This FTP server is anonymous only.
Login failed.
Actually the settings of my ftp service allow me to download a file from the server and only with anonymous ftp.
Any idea/suggestion on this matter?
Thank you in advance,
-Andrea
|
|
|
08-18-2003, 11:16 PM
|
#9
|
LQ Newbie
Registered: Aug 2003
Location: Littleton, CO
Distribution: Red Hat 9
Posts: 8
Rep:
|
It appears you are getting the default, compiled in, actions.
If you haven't already, copy /etc/vsftpd/vsftpd.conf to /etc, then edit the .conf file for the features you want (it's very well documented).
|
|
|
08-18-2003, 11:52 PM
|
#10
|
LQ Newbie
Registered: May 2003
Posts: 13
Rep:
|
Hi,
I changed the following on /etc/vsftpd/vsftpd.conf
#
# Allow anonymous FTP?
anonymous_enable=NO
#
#
but still the client got the 530 message "This FTP server is anonymous only.
Login failed."
Any suggestion on the most common changes to /etc/vsftpd/vsftpd.conf
in order to allow a client to use ftp?
Thanks,
_Andrea
|
|
|
08-19-2003, 12:28 AM
|
#11
|
LQ Newbie
Registered: May 2003
Posts: 13
Rep:
|
DONE!!!!
here my /etc/vsftpd.conf file:
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
nopriv_user=nobody
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
need to define a /etc/vsftpd.chroot_list listing the userID of
local ftp client. If not needed, comment the following:
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
Thanks,
_Andrea
|
|
|
All times are GMT -5. The time now is 06:51 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
|
|