我正在尝试从ubuntu 16.04上的./stack.sh
安装devstack。尝试启动服务etcd
时安装失败。我也无法手动运行该服务。
devstack@etcd.service - Devstack devstack@etcd.service
Loaded: loaded (/etc/systemd/system/devstack@etcd.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Sat 2019-04-20 09:01:06 UTC; 8s ago
Process: 28944 ExecStart=/opt/stack/bin/etcd --name scw-priceless-varahamihira --data-dir /opt/stack/data/etcd --initial-cluster-state new -
Main PID: 28944 (code=exited, status=1/FAILURE)
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: Failed to start Devstack devstack@etcd.service.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: devstack@etcd.service: Unit entered failed state.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: devstack@etcd.service: Failed with result 'exit-code'.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: devstack@etcd.service: Service hold-off time over, scheduling restart.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: Stopped Devstack devstack@etcd.service.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: devstack@etcd.service: Start request repeated too quickly.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: Failed to start Devstack devstack@etcd.service.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: devstack@etcd.service: Unit entered failed state.
Apr 20 09:01:06 scw-priceless-varahamihira systemd[1]: devstack@etcd.service: Failed with result 'start-limit-hit'.
答案 0 :(得分:0)
看起来错误(Failed with result 'start-limit-hit'
)是由于缺少/var/run/sshd
引起的。
运行
mkdir /var/run/sshd
然后
systemctl restart ssh
https://askubuntu.com/questions/1089310/how-to-resolve-service-start-limit-hit