1. 程式人生 > 實用技巧 >啟動 fdfs時報錯service fdfs_trackerd start

啟動 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 fastdfs]# 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:12:09 EDT; 30s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 12497 ExecStart=/etc/rc.d/init.d/fdfs_trackerd start (code=exited, status=2)

Jul 22 06:12:09 localhost.localdomain systemd[1]: Starting LSB: FastDFS tracker serv....
Jul 22 06:12:09 localhost.localdomain fdfs_trackerd[12497]: file /etc/fdfs/tracker.co...
Jul 22 06:12:09 localhost.localdomain systemd[1]: fdfs_trackerd.service: control pro...2
Jul 22 06:12:09 localhost.localdomain systemd[1]: Failed to start LSB: FastDFS track....
Jul 22 06:12:09 localhost.localdomain systemd[1]: Unit fdfs_trackerd.service entered....
Jul 22 06:12:09 localhost.localdomain systemd[1]: fdfs_trackerd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.