首页 > 技术文章 > 启动 fdfs时报错service fdfs_trackerd start

zxh06820 2020-07-22 18:33 原文

启动服务

[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.

 

 

推荐阅读