Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed (Res

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed (Res

#1

帖子 h1n2er » 2018-05-08 15:28

请教个问题:Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed (Result: exit-code) ,如何解决?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#2

帖子 poloshiao » 2018-05-08 16:38

Ubuntu 18.04 搭建FTP服务器
參閱

https://help.ubuntu.com/lts/serverguide ... er.html.en
FTP Server

http://manpages.ubuntu.com/manpages/bio ... onf.5.html
vsftpd.conf - config file for vsftpd

http://vsftpd.beasts.org/vsftpd_conf.html
vsftpd.conf - config file for vsftpd
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#3

帖子 h1n2er » 2018-05-10 11:15

现在的问题是active:failed,而不是具体功能设置问题。
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#4

帖子 h1n2er » 2018-05-10 11:16

现在的问题是Active: failed ,而不是具体功能设置问题。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#5

帖子 poloshiao » 2018-05-10 11:55

现在的问题是Active: failed ,而不是具体功能设置问题。
參閱
https://www.digitalocean.com/community/ ... -and-units
How To Use Systemctl to Manage Systemd Services and Units
使用 status 搜尋
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#6

帖子 astolia » 2018-05-10 14:08

h1n2er 写了:现在的问题是Active: failed ,而不是具体功能设置问题。
现在的问题是你既不提供软件配置信息,也不提供完整的错误信息,甚至连用的是哪个ftp服务器软件都没有说,还想叫人给你诊断问题
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#7

帖子 h1n2er » 2018-05-11 13:22

astolia 写了:
h1n2er 写了:现在的问题是Active: failed ,而不是具体功能设置问题。
现在的问题是你既不提供软件配置信息,也不提供完整的错误信息,甚至连用的是哪个ftp服务器软件都没有说,还想叫人给你诊断问题

我用的是vsftp,另外,vbox虚拟机怎么操作可以吧终端显示的信息复制出来?谢谢!
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#8

帖子 astolia » 2018-05-11 14:49

安装内核头文件包和gcc编译器,安装vbox的增强功能包,开启虚拟机设备设置里的共享剪贴板
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#9

帖子 h1n2er » 2018-05-12 15:30

astolia 写了:安装内核头文件包和gcc编译器,安装vbox的增强功能包,开启虚拟机设备设置里的共享剪贴板
你好,内核头文件包默认是安装的,安装gcc编译器有啥用?
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#10

帖子 h1n2er » 2018-05-12 15:53

我安装了gpm,也安装了增强包,启用了vbox双向剪切板。鼠标在字符界面选中文字,松开后,无法粘贴到windows系统里。
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#11

帖子 astolia » 2018-05-12 16:12

右键选复制也没有用?可能是不支持默认的wayland桌面,要切换到xorg才行。或者你利用共享文件夹呗,再不济,你排除注释后截个图也行啊
h1n2er
帖子: 8
注册时间: 2018-05-08 11:21

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#12

帖子 h1n2er » 2018-05-15 9:38

我找到FTP status提示:Active: failed (Result: exit-code) 的原因了,应该是18.04的bug,先升级18.04到18.2,然后在安装vsftpd就正常了,谢谢啦!!
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: Ubuntu 18.04 搭建FTP服务器,系统重启后,FTP status提示:Active: failed

#13

帖子 astolia » 2018-05-15 16:03

ubuntu哪来的18.2?如果你重新安装了mint 18.2,那反而是在降级
而且vsftpd出错也只会是配置错误或者其他软件占用端口之类
回复