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

Problem Description:

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.

problem solved:

01, there is no view exe execution in the path of the configuration

02, whether to add script #! / Bin / bash

 Note: screenshot environment variables are not allowed $ {}, must be replaced with the entity or written EnvironmentFile

Oct 13 20:15:08 c_3.50 systemd[1]: Started etcd.
Oct 13 20:15:08 c_3.50 systemd[1]: Starting etcd...
On Oct 13 is  20 is : 15 : 08 . C_3 50 systemd [ . 1 ]: etcd.service: main Process the Exited, the Exited code =, =. 1 Status / FAILURE The environment variable // exception 
On Oct 13 is  20 is : 15 : 08 . C_3 50 systemd [ 1 ]: Unit etcd.service entered failed The State.
Oct 13 20:15:08 c_3.50 systemd[1]: etcd.service failed.

 

 reference:

https://github.com/kubernetes/kubernetes/issues/2231

Guess you like

Origin www.cnblogs.com/xiaochina/p/11665893.html