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.
Software/Hardware used:
ASKED:
April 11, 2009 12:14 PM
UPDATED:
May 27, 2009 7:35 PM
I agree. More information is needed.
You should be able to connect from n number of computers with Red Hat as well. The problem doesn’t seem to be the number of connections or the FTP server configuration, but a network connectivity problem from computer 2, as suggested by Troy.
I would forget FTP for a while, and would make sure to be able to ping the server from computer 2. When pings are working I would try FTP again.