main process exited, code=exited, status=203/EXEC

問題描述:

Oct 13 20:01:08 c_3.50 systemd[1]: Started etcd.
Oct 13 20:01:08 c_3.50 systemd[1]: Starting etcd...
Oct 13 20:01:08 c_3.50 systemd[1]: etcd.service: main process exited, code=exited, status=203/EXEC //203不能執行
Oct 13 20:01:08 c_3.50 systemd[1]: Unit etcd.service entered failed state.
Oct 13 20:01:08 c_3.50 systemd[1]: etcd.service failed.

問題解決:

0一、查看exe執行在配置的路徑中存在不git

0二、腳本是否加#!/bin/bashgithub

 注意:截圖中的環境變量不容許${},必須用實體替換或者寫到EnvironmentFile中bash

Oct 13 20:15:08 c_3.50 systemd[1]: Started etcd.
Oct 13 20:15:08 c_3.50 systemd[1]: Starting etcd...
Oct 13 20:15:08 c_3.50 systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE //環境變量設置異常
Oct 13 20:15:08 c_3.50 systemd[1]: Unit etcd.service entered failed state.
Oct 13 20:15:08 c_3.50 systemd[1]: etcd.service failed.

 

 參考:spa

https://github.com/kubernetes/kubernetes/issues/22313d

相關文章
相關標籤/搜索