在 systemctl 启动时,“无法启动 gitlab-runner.service:单元未正确加载:错误消息。”

在 systemctl 启动时,“无法启动 gitlab-runner.service:单元未正确加载:错误消息。”

每当我跑步时systemctl start gitlab-runner.service,我都会得到,

systemctl start gitlab-runner.service 
Failed to start gitlab-runner.service: Unit is not loaded properly: Bad message.
See system logs and 'systemctl status gitlab-runner.service' for details.

我怎样才能找到有关此错误的更多信息,这是什么意思?

答案1

我必须先启用该装置,

systemctl enable gitlab-runner.service

然后我就可以开始了,

systemctl start gitlab-runner.service

相关内容