启动 fdfs时报错service fdfs_trackerd start

Posted zxh06820

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动 fdfs时报错service fdfs_trackerd start相关的知识,希望对你有一定的参考价值。

启动服务

[root@localhost fastdfs]# service fdfs_trackerd start
Reloading systemd:                                         [  OK  ]
Starting fdfs_trackerd (via systemctl):  Job for fdfs_trackerd.service failed because the control process exited with error code. See "systemctl status fdfs_trackerd.service" and "journalctl -xe" for details.
                                                           [FAILED]

查看错误原因:

[root@localhost ~]# systemctl status fdfs_trackerd.service
● fdfs_trackerd.service - LSB: FastDFS tracker server
   Loaded: loaded (/etc/rc.d/init.d/fdfs_trackerd; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2020-07-22 06:38:05 EDT; 28s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 7211 ExecStart=/etc/rc.d/init.d/fdfs_trackerd start (code=exited, status=2)

Jul 22 06:38:05 localhost.localdomain systemd[1]: Starting LSB: FastDFS tracker server...
Jul 22 06:38:05 localhost.localdomain fdfs_trackerd[7211]: file /etc/fdfs/tracker.conf does not exist!
Jul 22 06:38:05 localhost.localdomain systemd[1]: fdfs_trackerd.service: control process exited, code=exited status=2
Jul 22 06:38:05 localhost.localdomain systemd[1]: Failed to start LSB: FastDFS tracker server.
Jul 22 06:38:05 localhost.localdomain systemd[1]: Unit fdfs_trackerd.service entered failed state.
Jul 22 06:38:05 localhost.localdomain systemd[1]: fdfs_trackerd.service failed.

 

 

以上是关于启动 fdfs时报错service fdfs_trackerd start的主要内容,如果未能解决你的问题,请参考以下文章