systemd的日志存在哪里?
为了手工安装一次kubernetes,其中etcd装了又删,删了又装好几遍。最后一次终于启不来了。单独运行etcd的程序都可以,就是放在systemd的服务目录下不行。systemd的日志看不出来问题:
[root@k8slib]# journalctl -u etcd
--Logs begin at Fri 2017-09-29 08:47:30 CST, end at Fri 2017-09-29 09:28:01 CST.--
Sep29 09:04:26 k8s.master systemd[1]: Starting Etcd Server...
Sep29 09:04:26 k8s.master systemd[1]: etcd.service: main process exited,code=exited, status=200/CHDIR
Sep29 09:04:26 k8s.master systemd[1]: Failed to start Etcd Server.
Sep29 09:04:26 k8s.master systemd[1]: Unit etcd.service entered failed state.
Sep29 09:04:26 k8s.master systemd[1]: etcd.service failed.
Sep29 09:04:26 k8s.master systemd[1]: etcd.service holdoff time over, schedulingrestart.
Sep29 09:04:26 k8s.master systemd[1]: Starting Etcd Server...
<