当前位置: 技术问答>linux和unix
(求助)启动vsftpd失败
来源: 互联网 发布时间:2016-08-08
本文导语: [root@RedLinux init.d]# /etc/init.d/vsftpd start 为 vsftpd 启动 vsftpd:500 OOPS: unrecognised variable in config file: Listen [失败] vsftpd.conf中...
[root@RedLinux init.d]# /etc/init.d/vsftpd start
为 vsftpd 启动 vsftpd:500 OOPS: unrecognised variable in config file: Listen
[失败]
vsftpd.conf中的代码为:
anonymous_enable=YES
#Connect_form_port_20=yes
#Pam_service_name=vsftpd
Listen=YES
Listen_port=21
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
Anon_upload_enable=YES
谢谢回答!!!
为 vsftpd 启动 vsftpd:500 OOPS: unrecognised variable in config file: Listen
[失败]
vsftpd.conf中的代码为:
anonymous_enable=YES
#Connect_form_port_20=yes
#Pam_service_name=vsftpd
Listen=YES
Listen_port=21
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
Anon_upload_enable=YES
谢谢回答!!!
|
Listen要小写 listen 谁让你改成大写的!
|
修改配置文件,最好能先做备份。