restart vsftpd失败原因排查Job for vsftpd.service failed because the control process exited with error code

这篇具有很好参考价值的文章主要介绍了restart vsftpd失败原因排查Job for vsftpd.service failed because the control process exited with error code。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

虚机配置vsftpd后重启失败

systemctl restart vsftpd.service

提示错误信息:

Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details.

查看vsftpd的状态:
[root@localhost ~]# systemctl status vsftpd.service
● vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2023-05-18 22:22:32 CST; 13s ago
  Process: 19429 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=2)

May 18 22:22:32 localhost.localdomain systemd[1]: Starting Vsftpd ftp daemon...
May 18 22:22:32 localhost.localdomain vsftpd[19429]: 500 OOPS: bad bool value in config file for: userlist_enable
May 18 22:22:32 localhost.localdomain systemd[1]: vsftpd.service: control process exited, code=exited status=2
May 18 22:22:32 localhost.localdomain systemd[1]: Failed to start Vsftpd ftp daemon.
May 18 22:22:32 localhost.localdomain systemd[1]: Unit vsftpd.service entered failed state.
May 18 22:22:32 localhost.localdomain systemd[1]: vsftpd.service failed.
[root@localhost ~]#
[root@localhost ~]#

里面找到了这个错误信息:
500 OOPS: bad bool value in config file for: userlist_enable

这是因为vsftpd.conf文件里某一行后边加了一个空格

挨个检查发现确实有一行编辑时结尾多了一个空格,修改保存后重启正常。

[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# ^C
[root@localhost ~]# systemctl restart vsftpd.service
[root@localhost ~]# ^C
[root@localhost ~]# ^C
[root@localhost ~]# ^C
[root@localhost ~]# systemctl status vsftpd.service
● vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2023-05-18 22:25:43 CST; 5min ago
  Process: 19489 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
 Main PID: 19490 (vsftpd)
   CGroup: /system.slice/vsftpd.service
           └─19490 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

May 18 22:25:43 localhost.localdomain systemd[1]: Starting Vsftpd ftp daemon...
May 18 22:25:43 localhost.localdomain systemd[1]: Started Vsftpd ftp daemon.
[root@localhost ~]#
 文章来源地址https://www.toymoban.com/news/detail-672726.html

到了这里,关于restart vsftpd失败原因排查Job for vsftpd.service failed because the control process exited with error code的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • Job for mysqld.service failed because the control process exited with error code.

    Job for mysqld.service failed because the control process exited with error code.

    通过百度翻译如下: mysqld.service 的作业失败,因为控制进程退出并显示错误代码。有关详细信息,请参阅 “systemctl status mysqld.service” 和 “journalctl -xe”。 得到的结论时与进程相关 先查询一下mysql的进程 直接简单粗暴的吧红框的两个进程杀掉 每个人的进程号都不一样,注意

    2024年01月17日
    浏览(49)
  • Job for nginx.service failed because the control process exited with error code.

    1. nginx启动报错: 这个错误是nginx.conf配置文件里面配置错误,可以使用命令检查在哪里出错 出错的地方: 进行改正,并再次检查。输出以下信息表示ok。 启动nginx: 建议每次更改配置文件都先执行命令检查一下配置文件是否配置成功。 2.nginx相关命令 查看nginx启动状态 重启加

    2024年02月15日
    浏览(16)
  • Job for DmServiceDMSERVER.service failed because the control process exited with error code.

    Job for DmServiceDMSERVER.service failed because the control process exited with error code.

    Job for DmServiceDMSERVER.service failed because the control process exited with error code. See \\\"systemctl status DmServiceDMSERVER.service\\\" and \\\"journalctl -xe\\\" for details. 这个报错是发生测试数据库备份恢复功能时。系统环境 麒麟linuxV10 + 达梦V8。 备份全库,停止  system stop DmServiceDMSERVER console 界面选择刚做的全

    2024年02月13日
    浏览(43)
  • Job for network.service failed because the control process exited with error code.

    Linux Centos7 修改为静态iP后重启网络服务遇到的问题 重启网络:service network restart                   /etc/init.d/network restart 报错问题描述:Job for network.service failed because the control process exited with error code. See \\\"systemctl status network.service\\\" and \\\"journalctl -xe\\\" for details.   查看 cat /etc/sy

    2024年02月08日
    浏览(46)
  • 关于Job for network.service failed because the control process exited with error code.

    关于Job for network.service failed because the control process exited with error code.

    重启网络出现报错 Job for network.service failed because the control process exited with error code. See \\\"systemctl status network.service\\\" and \\\"journalctl -xe\\\" for details. 1.执行systemctl restart network.service命令后出现下面的错误 2.按照报错提示输入了systemctl status network.service 3.解决方法 3.1网络配置工具network和

    2024年02月11日
    浏览(48)
  • 【mysql 错误】Job for mysqld.service failed because the control process exited with error code

    mysql 报错信息如下:Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details.是什么原因,如何解决 这个错误提示比较笼统,需要查看具体的日志才能确定问题所在。你可以通过以下步骤来获取更详细的错误信

    2024年01月17日
    浏览(61)
  • Docker服务启动时报错:Job for docker.service failed because the control process exited with error

    初学docker,遇见报错信息: Job for docker.service failed because the control process exited with error code. See \\\"systemctl status docker.service\\\" and \\\"journalctl -xe\\\" for details. 方法一: 有可能版本内核没问题 还是这样的话,就是容器引擎失败。 1. 修改 /etc/docker/daemon.json { \\\"storage-driver\\\": \\\"devicemapper\\\" } 2. 修改

    2024年02月05日
    浏览(50)
  • Nginx启动出现Job for nginx.service failed because the control process exited with error code.

    这种错误一般都是目录不存在或者权限不足,所以直接执行下面两条命令即可,结果发现根本行不通。

    2024年02月08日
    浏览(10)
  • systemctl start docker异常 Job for docker.service failed because the control process exited with error

    启动docker 异常了 Job for docker.service failed because the control process exited with error code. See \\\"systemctl status docker.service\\\" and \\\"journalctl -xe\\\" for details.  如果在启动Docker时遇到\\\"Job for docker.service failed because the control process exited with error code.\\\"错误,这表明Docker服务启动时出现问题。为了排查和解

    2024年02月07日
    浏览(150)
  • docker启动报错:Job for docker.service failed because the control process exited with error code.

    docker启动报错:Job for docker.service failed because the control process exited with error code.

    问题:docker突然启动不了,然后也用不了docker的命令,报错如下。 [root@master opt]# docker network ls Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 1.检查docker的运行状态 [root@master opt]# systemctl status docker.service ● docker.service - Docker Application Container Engine

    2024年02月16日
    浏览(48)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包