Results 1 to 2 of 2
hi all,
i had configured a FTP server at Red Had Enterprise Linux(RHEL). it's working fine, if a FTP link works (only) on one computer for example ftp link is ...
- 04-11-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 4
Vsftpd Multiple Connection Problem
hi all,
i had configured a FTP server at Red Had Enterprise Linux(RHEL). it's working fine, if a FTP link works (only) on one computer for example ftp link is ftp://192.168.63.1 and this link is used by COMP1 for download and upload . Problem start when i connect this same ftp link from another comp say comp 2 and start download, some data from this link then at comp2 ftp link get down . when we try to ping ftp link ip from copm 2 i.e ping 192.168.63.1 then it shows request time out . at the same time when we ping ftp link ip from comp1 , then it's ping as well as download and uploads also works fine.
how i configure vsftpd , steps are as follow
1)
[root@CHEERSFTP ~]# yum -y install vsftpd
[root@CHEERSFTP cheersftp]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
[root@CHEERSFTP ~]# cd /home/cheersftp
[root@CHEERSFTP cheersftp]# mkdir ftpuser1
[root@CHEERSFTP cheersftp]# groupadd ftpgrp
[root@CHEERSFTP cheersftp]# useradd -g ftpgrp -d /home/cheersftp/ftpuser1/ ftpuser1
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
[root@CHEERSFTP cheersftp]# passwd ftpuser1
Changing password for user ftpuser1.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@CHEERSFTP cheersftp]# chown ftpuser1:ftpgrp /home/cheersftp/ftpuser1/
[root@CHEERSFTP cheersftp]# chmod 777 /home/cheersftp/ftpuser1/
[root@CHEERSFTP cheersftp]# chmod ugo+rwx /home/cheersftp/ftpuser1/
now configure vsftp.log files placed at /etc/vsftpd/vsftp.conf and set this values.
2)
vi /etc/vsftpd/vsftpd.conf
this listed options are set in vsftpd.conf file
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
### now open the terminal and restart the vsftp service.
[root@CHEERSFTP log]# service vsftpd reload
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
Note :- when i set this type of configuration in centos , then i can connect one link from n numbers of comp , at the same time it's working fine but in RHEL it's fails. please corect me where i m making a mistake.
- 04-23-2009 #2Just Joined!
- Join Date
- Apr 2009
- Posts
- 2
Maybe you should check your firewall settings? Do COMP1 and COMP2 belong to the same network as your vsftpd server (do they have ip-addres from range 192.168.63.* or they're behind NAT)? Try to set in your vsftpd.conf max_clients=10 (or elsewhat bigger than 2) and max_per_ip=10. That would unlikely help 'cause there's no restrictions by default, but you can try at least.


Reply With Quote