Prev Previous Post   Next Post Next
  #1  
Old 3rd May 2009, 14:37
ahmedbj ahmedbj is offline
Junior Member
 
Join Date: Jan 2009
Location: Morocco,Safi
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to ahmedbj Send a message via Yahoo to ahmedbj
Default problem vsftpd "No /usr/sbin/vsftpd found running; none killed"

Hello
when i tried to restart my vsftpd server i've got this error
* Stopping FTP server: vsftpd
No /usr/sbin/vsftpd found running; none killed.
[ OK ]
* Starting FTP server: vsftpd [ OK ]

and this is what in my vsftpd.conf
Quote:
#Pour configurer vsFTPd couter en mode StandAlone
listen = YES

# Pour autoriser les connexions annonymes
anonymous_enable = YES
#Pour ne pas autoriser les users anon crir dans le dir FTP
anon_mkdir_write_enable = NO
#Spcifier le dossier FTP des user anon
anon_root = /etc/lftp/
#Interdir aux users anon d'envoyer des fichiers
anon_upload_enable = NO
#Autoriser les users anon de tlcharger les fichier du dossier anon_root
anon_world_readable_only = YES
#o_O
ftp_username = ftp
#Pour que les anon ne saisissent pas de mot de passe
no_anon_passwd = NO
#o_O give anonymously uploaded files permissions
anon_umask=022
#Pour question de scuriter en interdit toute opration d'criture
write_enable=NO
anon_other_write_enable=NO


ftp_banner = "Bienvenu dans le serveur FTP de ahmed"

#Pour autoriser la connexion des utilisateur locaux
local_enable = YES
#Autoriser les cmd FTP SITE CHMOD pour les local users
chmod_enable = YES
#Pour chrooter les local user dans leurs dossiers perso
chroot_local_user = YES
#o_O
local_umask = 000

#Pour visioner la liste des dir
dirlist_enable = YES

#Tlchargement des fichiers autoriss
download_enable = YES

#Pour avoir un monitoring ( les user connect )
setproctitle_enable = YES

####################
# Option numrique #
###################

#Spcifie la dure donne un client utilisant une connexion passive pour se connecter
accept_timeout = 60

#Spcifie le taux de transfert de donnes maximal, exprim en octets par seconde, pour les utilisateurs anonymes
anon_max_rate = 0

#Spcifie la dure maximale exprime en secondes, donne un client utilisant un mode actif pour rpondre une connexion de donnes.
CONNECT_TIMEOUT = 60

#Spcifie la dure maximale exprime en secondes, pendant laquelle les transferts de donnes peuvent s'arrter.
#Une fois cette dure coule, la connexion au client distant est ferme.
data_connection_timeout = 60

# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES

#Spcifie le port sur lequel vsftpd doit tre l'coute de connexions rseau.
listen_port = 21

#Spcifie le nombre maximal de clients autoriss se connecter simultanment au serveur lorsqu'il tourne en mode autonome.
#Toute connexion client supplmentaire provoquerait un message d'erreur.
max_clients = 20

#Spcifie le nombre maximal de clients autoriss se connecter depuis l'adresse IP source.
max_per_ip = 2

##########################
#configurer vsftp pour #
#les connection internet #
##########################

#Activer le mode passive
pasv_enable = YES

#Vrifier que la machine qui a demand la connexion au serveur est bien la mme que celle qui demande
# recvoir les donnes
pasv_promicious = No

#Spcifie le port le plus bas possible qui est envoy au client FTP pour des connexions en mode passif.
pasv_min_port = 40000

#Spcifie le port le plus max possible qui est envoy au client FTP pour des connexions en mode passif.
pasv_min_port = 40100

#@ ip ou domaine.com avec pasv_addr_resolve = YES
pasv_adress = 192.168.0.2


port_promicious = NO


# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#


# 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
#

# You may fully customise the login banner string:
ftpd_banner=Welcome to ahmed FTP service.

# 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


and when i try to connect to ftp server i got this error : ftp: connect: Connection refused
can someone help me
thank you
__________________
99% of the problemes that are found in linux are located between the keyboard and chair

Last edited by ahmedbj; 4th May 2009 at 00:47.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
my vsftpd not compeleting start kara_iran Server Operation 5 6th May 2009 21:37
Probleme with vsFTPd ahmedbj Server Operation 6 20th January 2009 13:33
VsFTPd with Quota and MySQL (if possible) markg85 Suggest HOWTO 2 16th August 2007 16:01
vsftpd difficulties teves Installation/Configuration 2 19th October 2006 09:51
VSFTPD & IDENT Lookups again trueshanti Installation/Configuration 5 3rd September 2006 14:36


All times are GMT +2. The time now is 00:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.