PDA

View Full Version : Can connect to vsftpd server


Keldorn
2008-06-01, 01:35 AM CDT
I cant configure my vsftpd server, if anyone knows where is mistake in my vsftpd.config file please help me.
anonymous_enable=YES
local_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=ftpsecure
async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
ls_recurse_enable=YES
anon_root=/home/ftp
chroot_local_user=YES
local_root=/home/ftp
max_clients=10 max_per_ip=2
pasv_max_port=1024
#listen=YES
listen_port=20
ftp_data_port=21
tcp_wrappers=YES

notageek
2008-06-01, 02:34 AM CDT
More details please!!

What happens when you start the service?
What happens when you try to login to ftp server (ftp localhost)?

More details

cat /etc/hosts.deny
cat /etc/host.allow

Edit:
anon_root=/home/ftp

ls -ld /homr/ftp

Keldorn
2008-06-01, 06:07 AM CDT
What happens when you start the service?
there is not any messages at all
What happens when you try to login to ftp server (ftp localhost)?
message is: "Cant connect to the server" but in vsftpd configuration server status is "Server is running (0 clients)
and if i am trying to connect using my firefox, i am connecting but the folder is empty-(
cat /etc/hosts.deny
cat /etc/host.allow
this lists are empty
Edit:
Quote:
anon_root=/home/ftp

ls -ld /homr/ftp
and if i edit my config file like this, i am receiving this message
[root@localhost ~]# /etc/init.d/vsftpd restart
Останавливается vsftpd: [ OK ]
Starting vsftpd для vsftpd: 500 OOPS: missing value in config file for: ls -ld /home/ftpp
[ error ]