> ## Content Index
> Fetch the complete content index at: https://b.1994h.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Proftpd 无法启动解决办法
- URL: https://b.1994h.com/proftpd-start-service-fail-solution/
- Published: 2014-03-28T18:22:23.000Z
- Updated: 2014-03-28T18:22:23.000Z
- Author: Mark
- Tags: vps, #Migrated-1795060647921, #wp, #wp-post, #Import 2026-11-19 03:57

当安装好了Proftpd，我试着去重启Proftpd，

sudo service proftpd restart

但是一直显示下面的错误

Shutting down proftpd: \[FAILED\]  
Starting proftpd: \[FAILED\]

于是博主就在网上各种找解决办法，终于皇天不负有心人找到了

首先在/etc/proftpd.conf里面多加一行代码（123.567.891.23 改成你的服务器IP）

DefaultAddress 123.567.891.23

然后在/etc/hosts 里面多加一行代码（123.567.891.23 改成你的服务器IP，1994h.com改为你的hostname）

123.567.891.23 1994h.com

最后重启Proftpd

service proftpd restart

你应该可以看到这样的一个屏幕

Shutting down proftpd: \[OK\]  
Starting proftpd: \[OK\]