配置AWS S3服务器时halond.service失败

时间:2018-02-23 06:57:03

标签: amazon-s3

[root@s3server ~]# systemctl status halond
● halond.service - Halon Daemon
   Loaded: loaded (/usr/lib/systemd/system/halond.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-02-23 12:13:37 IST; 3s ago
     Docs: https://github.com/tweag/halon
  Process: 4600 ExecStop=/bin/kill -INT $MAINPID (code=exited, status=200/CHDIR)
  Process: 4598 ExecStart=/usr/bin/halond -l $HALOND_LISTEN +RTS -s -A32m -I0 -RTS (code=exited, status=200/CHDIR)
 Main PID: 4598 (code=exited, status=200/CHDIR)

Feb 23 12:13:37 s3server systemd[1]: Started Halon Daemon.
Feb 23 12:13:37 s3server systemd[1]: Starting Halon Daemon...
Feb 23 12:13:37 s3server systemd[1]: halond.service: main process exited, code=exited, status=200/CHDIR
Feb 23 12:13:37 s3server systemd[1]: halond.service: control process exited, code=exited status=200
Feb 23 12:13:37 s3server systemd[1]: Unit halond.service entered failed state.
Feb 23 12:13:37 s3server systemd[1]: halond.service failed.

当我在AWS S3设置中的S3服务器节点上启动halond服务时发生了这种情况。对此有何解决方案?

谢谢,

Preeti

1 个答案:

答案 0 :(得分:0)

Halond服务正在搜索s3server节点上的'/ var / lib / halon'文件夹以进行服务重启。

    # mkdir /var/lib/halon

此后,halond服务成功运行。