[Solved] 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 solving:

01. Check that the EXE execution does not exist in the configured path

02. Whether the script is added/ bin/bash

Note: the environment variable in the screenshot does not allow ${}, it must be replaced with the entity or written to the environment file

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.

 

Similar Posts: