# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#

# Debian customization
#
# Some of vsftpd's settings don't fit the Debian filesystem layout by
# default. These settings are more Debian-friendly.
#
# This option should be the name of a directory which is empty. Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
# This option specifies the location of the RSA key to use for SSL
# encrypted connections.
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
use_localtime=YES

Click to expand...

and when i try to connect to ftp server i got this error : ftp: connect: Connection refused
can someone help me
thank you

If vsftpd is not listening, this explains the "connection refused" thing. But you should see any startup errors when starting vsftpd, if not on the screen then at least in the log I'd guess.
So either the [OK] behind "starting" in your restart process is misleading or vsftpd is crashed anywhen after a successful start, as it indicated "ok".

sorry, i had made some error in my vsftpd.conf and now i correct them.
but there is another problem now, is that when i had configured vsftpd with ssl i can't connect with local user neither from my web browser nor the console.
i hade a message : error 530 : non-anonymous user must be used encryption