宝塔面板的ftp服务器软件,pure-ftpd不能启动,一直停留在红色的暂停状态,客户端无法连接。
用尽了网上的各种方法就是不能启动。
后来想起自己没事修改过配置文件,修改位置忘记了,可能造成了服务器端不能启动。
用宝塔面板的原安装配置文件替换就好了。
原配置文件如下:


############################################################
#                                                          #
#         Configuration file for pure-ftpd wrappers        #
#                                                          #
############################################################# If you want to run Pure-FTPd with this configuration
# instead of command-line options, please run the
# following command :
#
# /www/server/pure-ftpd/sbin/pure-config.pl /www/server/pure-ftpd/etc/pure-ftpd.conf
#
# Please don't forget to have a look at documentation at
# http://www.pureftpd.org/documentation.shtml for a complete list of
# options.# Cage in every user in his home directoryChrootEveryone              yes# If the previous option is set to "no", members of the following group
# won't be caged. Others will be. If you don't want chroot()ing anyone,
# just comment out ChrootEveryone and TrustedGID.# TrustedGID                    100# Turn on compatibility hacks for broken clientsBrokenClientsCompatibility  no# Maximum number of simultaneous usersMaxClientsNumber            50# Fork in backgroundDaemonize                   yes# Maximum number of sim clients with the same IP addressMaxClientsPerIP             10# If you want to log all client commands, set this to "yes".
# This directive can be duplicated to also log server responses.VerboseLog                  no# List dot-files even when the client doesn't send "-a".DisplayDotFiles             yes# Don't allow authenticated users - have a public anonymous FTP only.AnonymousOnly               no# Disallow anonymous connections. Only allow authenticated users.NoAnonymous                 yes# Syslog facility (auth, authpriv, daemon, ftp, security, user, local*)
# The default facility is "ftp". "none" disables logging.SyslogFacility              ftp# Display fortune cookies# FortunesFile              /usr/share/fortune/zippy# Don't resolve host names in log files. Logs are less verbose, but
# it uses less bandwidth. Set this to "yes" on very busy servers or
# if you don't have a working DNS.DontResolve                 yes# Maximum idle time in minutes (default = 15 minutes)MaxIdleTime                 15# LDAP configuration file (see README.LDAP)# LDAPConfigFile                /etc/pureftpd-ldap.conf# MySQL configuration file (see README.MySQL)#MySQLConfigFile               /www/server/pure-ftpd/etc/pureftpd-mysql.conf# Postgres configuration file (see README.PGSQL)# PGSQLConfigFile               /etc/pureftpd-pgsql.conf# PureDB user database (see README.Virtual-Users)PureDB                        /www/server/pure-ftpd/etc/pureftpd.pdb# Path to pure-authd socket (see README.Authentication-Modules)# ExtAuth                       /var/run/ftpd.sock# If you want to enable PAM authentication, uncomment the following line# PAMAuthentication             yes# If you want simple Unix (/etc/passwd) authentication, uncomment thisUnixAuthentication            no# Please note that LDAPConfigFile, MySQLConfigFile, PAMAuthentication and
# UnixAuthentication can be used only once, but they can be combined
# together. For instance, if you use MySQLConfigFile, then UnixAuthentication,
# the SQL server will be asked. If the SQL authentication fails because the
# user wasn't found, another try # will be done with /etc/passwd and
# /etc/shadow. If the SQL authentication fails because the password was wrong,
# the authentication chain stops here. Authentication methods are chained in
# the order they are given. # 'ls' recursion limits. The first argument is the maximum number of
# files to be displayed. The second one is the max subdirectories depthLimitRecursion              20000 8# Are anonymous users allowed to create new directories ?AnonymousCanCreateDirs      no# If the system is more loaded than the following value,
# anonymous users aren't allowed to download.MaxLoad                     4# Port range for passive connections replies. - for firewalling.PassivePortRange          39000 40000# Force an IP address in PASV/EPSV/SPSV replies. - for NAT.
# Symbolic host names are also accepted for gateways with dynamic IP
# addresses.# ForcePassiveIP                192.168.0.1# Upload/download ratio for anonymous users.# AnonymousRatio                1 10# Upload/download ratio for all users.
# This directive superscedes the previous one.# UserRatio                 1 10# Disallow downloading of files owned by "ftp", ie.
# files that were uploaded but not validated by a local admin.AntiWarez                   yes# IP address/port to listen to (default=all IP and port 21).# Bind                      0.0.0.0,21# Maximum bandwidth for anonymous users in KB/s# AnonymousBandwidth            8# Maximum bandwidth for *all* users (including anonymous) in KB/s
# Use AnonymousBandwidth *or* UserBandwidth, both makes no sense.# UserBandwidth             8# File creation mask. <umask for files>:<umask for dirs> .
# 177:077 if you feel paranoid.Umask                       133:022# Minimum UID for an authenticated user to log in.MinUID                      100# Allow FXP transfers for authenticated users.AllowUserFXP                no# Allow anonymous FXP for anonymous and non-anonymous users.AllowAnonymousFXP           no# Users can't delete/write files beginning with a dot ('.')
# even if they own them. If TrustedGID is enabled, this group
# will have access to dot-files, though.ProhibitDotFilesWrite       no# Prohibit *reading* of files beginning with a dot (.history, .ssh...)ProhibitDotFilesRead        no# Never overwrite files. When a file whoose name already exist is uploaded,
# it get automatically renamed to file.1, file.2, file.3, ...AutoRename                  no# Disallow anonymous users to upload new files (no = upload is allowed)AnonymousCantUpload         no# Only connections to this specific IP address are allowed to be
# non-anonymous. You can use this directive to open several public IPs for
# anonymous FTP, and keep a private firewalled IP for remote administration.
# You can also only allow a non-routable local IP (like 10.x.x.x) to
# authenticate, and keep a public anon-only FTP server on another IP.#TrustedIP                  10.1.1.1# If you want to add the PID to every logged line, uncomment the following
# line.#LogPID                     yes# Create an additional log file with transfers logged in a Apache-like format :
# fw.c9x.org - jedi [13/Dec/1975:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338
# This log file can then be processed by www traffic analyzers.# AltLog                     clf:/var/log/pureftpd.log# Create an additional log file with transfers logged in a format optimized
# for statistic reports.# AltLog                     stats:/var/log/pureftpd.log# Create an additional log file with transfers logged in the standard W3C
# format (compatible with most commercial log analyzers)# AltLog                     w3c:/var/log/pureftpd.log# Disallow the CHMOD command. Users can't change perms of their files.#NoChmod                     yes# Allow users to resume and upload files, but *NOT* to delete them.#KeepAllFiles                yes# Automatically create home directories if they are missingCreateHomeDir               no# Enable virtual quotas. The first number is the max number of files.
# The second number is the max size of megabytes.
# So 1000:10 limits every user to 1000 files and 10 Mb.#Quota                       1000:10# If your pure-ftpd has been compiled with standalone support, you can change
# the location of the pid file. The default is /var/run/pure-ftpd.pidPIDFile                     /var/run/pure-ftpd.pid# If your pure-ftpd has been compiled with pure-uploadscript support,
# this will make pure-ftpd write info about new uploads to
# /var/run/pure-ftpd.upload.pipe so pure-uploadscript can read it and
# spawn a script to handle the upload.#CallUploadScript yes# This option is useful with servers where anonymous upload is
# allowed. As /var/ftp is in /var, it save some space and protect
# the log files. When the partition is more that X percent full,
# new uploads are disallowed.MaxDiskUsage               99# Set to 'yes' if you don't want your users to rename files.#NoRename                  yes# Be 'customer proof' : workaround against common customer mistakes like
# 'chmod 0 public_html', that are valid, but that could cause ignorant
# customers to lock their files, and then keep your technical support busy
# with silly issues. If you're sure all your users have some basic Unix
# knowledge, this feature is useless. If you're a hosting service, enable it.CustomerProof              yes# Per-user concurrency limits. It will only work if the FTP server has
# been compiled with --with-peruserlimits (and this is the case on
# most binary distributions) .
# The format is : <max sessions per user>:<max anonymous sessions>
# For instance, 3:20 means that the same authenticated user can have 3 active
# sessions max. And there are 20 anonymous sessions max.# PerUserLimits            3:20# When a file is uploaded and there is already a previous version of the file
# with the same name, the old file will neither get removed nor truncated.
# Upload will take place in a temporary file and once the upload is complete,
# the switch to the new version will be atomic. For instance, when a large PHP
# script is being uploaded, the web server will still serve the old version and
# immediatly switch to the new one as soon as the full file will have been
# transfered. This option is incompatible with virtual quotas.# NoTruncate               yes# This option can accept three values :
# 0 : disable SSL/TLS encryption layer (default).
# 1 : accept both traditional and encrypted sessions.
# 2 : refuse connections that don't use SSL/TLS security mechanisms,
#     including anonymous sessions.
# Do _not_ uncomment this blindly. Be sure that :
# 1) Your server has been compiled with SSL/TLS support (--with-tls),
# 2) A valid certificate is in place,
# 3) Only compatible clients will log in.TLS                      1# Listen only to IPv4 addresses in standalone mode (ie. disable IPv6)
# By default, both IPv4 and IPv6 are enabled.# IPV4Only                 yes# Listen only to IPv6 addresses in standalone mode (ie. disable IPv4)
# By default, both IPv4 and IPv6 are enabled.# IPV6Only                 yes# UTF-8 support for file names (RFC 2640)
# Define charset of the server filesystem and optionnally the default charset
# for remote clients if they don't use UTF-8.
# Works only if pure-ftpd has been compiled with --with-rfc2640# FileSystemCharset  big5
# ClientCharset     big5
AllowOverwrite on
AllowStoreRestart on

宝塔面板Pure-Ftpd无法启动相关推荐

  1. php-rpm.conf,在新安装的宝塔面板中php无法启动起来

    在新安装的宝塔面板中php无法启动起来 去看了网站的报错信息是: [Wed Aug 15 11:00:09.827025 2018] [proxy:error] [pid 4264] (2)No su ...

  2. linux宝塔mysql不能启动_【宝塔面板】Mysql无法启动如何处理

    Mysql无法启动如何处理 常见问题: 1.Mysql安装好后或迁移文件后无法启动 2.Mysql异常关闭后无法启动 3.Mysql停止后无法启动 一.Mysql安装好后或迁移文件后无法启动 在Mys ...

  3. mysql plugin filed_宝塔面板数据库启动不了:plugin 'InnoDB' failed. | 小朱笔记

    宝塔面板数据库崩溃无法启动,日志显示:/www/server/mysql/bin/mysqld: Error while setting value '0.25M' to 'innodb-log-bu ...

  4. 宝塔面板网页访问不了

    问题描述 在阿里云服务器上安装宝塔面板,打不开宝塔面板的网页 原因分析: 宝塔面板在服务器已经启动也显示出外部访问和内部访问地址了,输入地址访问不了打不开宝塔面板网页,这是因为我们服务器安全组没有对宝 ...

  5. 安卓手机+LinuxDeploy+CentOS+宝塔面板的安装教程

    安卓手机+LinuxDeploy+CentOS+宝塔面板安装教程 前言 硬件准备 软件准备 软件配置 1. busybox的安装和配置 2. linux deploy的安装和配置 3. CentOS的 ...

  6. 502 宝塔 部署tomcat_宝塔面板网站出现502 Bad Gateway问题几个排查解决方案

    今天早上有看到群友在询问自己的1G1M服务器搭建的宝塔面板网站还没有访问量,为什么会经常出现"502 Bad Gateway"这样的错误问题,是不是服务器配置比较低,是否需要升级带 ...

  7. postfix 部署ssl后还是25_宝塔面板的邮局管理器Postfix无法启动解决办法

    今天群里有童鞋的宝塔邮局管理器的Postfix无法启动,所以这篇文章就来水这个,如果碰到Postfix无法启动的问题,可以参考本教程~~ 1.宝塔邮局管理器 说实话,这玩意自己用用足够了,而且配置简单 ...

  8. 宝塔面板部署nuxt项目线程守护启动以及Nginx反向代理

    宝塔面板部署nuxt项目 宝塔部署Vue,nuxt等项目需要是使用到node.jshe nginx才能实现部署.因此使用宝塔面板使用软件安装安装PM2管理器以及nginx代理软件 步骤一 新建文件夹上 ...

  9. 升级python3.8后宝塔面板无法打开_解决宝塔面板升级后因Python2.7与Python3.6共存启动失败...

    解决宝塔面板升级后因Python2.7与Python3.6共存启动失败 lib.im • 2019 年 09 月 06 日 问题描述 起因是更新了宝塔6.9.9,重启之后面板打不开了,于是尝试修复面板 ...

最新文章

  1. 人工智能即服务 当人工智能遇到云计算
  2. Material Design 设计规范总结(2)
  3. sql 行转列_想要表格行转列?简单几行Python代码搞定
  4. 2016windows(10) wamp 最简单30分钟thrift入门使用讲解,实现php作为服务器和客户端的hello world...
  5. linux删除指定端口的进程
  6. 为什么Java 中1000==1000为false,而100==100为true?
  7. kali linux工具pyrit,在Kali Linux上安装cuda、pyritcuda以及optimus -电脑资料
  8. 设计师必备,设计导航网站一流设计导航|16map
  9. 圣诞节即将到来让你的Mac屏幕下雪只需一招轻松解决
  10. dataframe分组函数groupby
  11. Matlab:Matlab编程语言的简介、安装、学习路线(几十项代码编程案例分析)之详细攻略
  12. iOS使用自定义字体,比如楷体
  13. 计算机学报在线阅读,ei收录的计算机类核心源:计算机研究与发展计算机学报软件.doc...
  14. 分享一个编程学习网站——并发编程网
  15. 基于虚拟机的VxWorks实验平台设计与实现(读研时的一篇论文)
  16. 【网络攻防技术】实验九——嗅探与欺骗实验
  17. Virtualbox拓展包安装失败
  18. 利用个人U盘制作简易加密狗
  19. 读《人脑连接组研究:脑结构网络和脑功能网络》
  20. 卷积网络中的通道(Channel)理解

热门文章

  1. 点石互动--点石互动之:逃离Google补充材料的五个技巧
  2. python可以在多平台运行 体现了python语言的_现代科学运算—MATLAB语言与应用,中国大学MOOC(慕课)答案公众号搜题...
  3. python --将图片处理为圆角
  4. Builder(生成器模式) 创建型
  5. 像少年啦飞驰:寻找所热爱的一切
  6. api之removeAll()使用避坑
  7. libevent 编译
  8. 语种识别比赛优秀队伍方案总结
  9. linux jconsole命令,在Linux中的JConsole位置
  10. AWR系列之一——AWR简介