场景 184:FTP 服务无法启动
症状:FTP 服务启动失败。
故障排除步骤:
检查 FTP 服务状态:
systemctl status vsftpd
查看日志以查找错误消息:
journalctl -xe | grep vsftpd
修正 /etc/vsftpd/vsftpd.conf
中的配置错误。
重启 FTP 服务:
systemctl restart vsftpd
场景 185:连接被拒绝
症状:客户端无法连接到 FTP 服务器,连接被拒绝。
故障排除步骤:
确认 FTP 服务正在运行:
systemctl status vsftpd
验证防火墙设置:
firewall-cmd --list-all
在防火墙中开放 FTP 端口(默认为