main process exited, code=exited, status=203/EXEC
Posted xiaochina
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.
问题解决:
01、查看exe执行在配置的路径中存在不
02、脚本是否加#!/bin/bash
注意:截图中的环境变量不允许${},必须用实体替换或者写到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... 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.
参考:
https://github.com/kubernetes/kubernetes/issues/2231
以上是关于main process exited, code=exited, status=203/EXEC的主要内容,如果未能解决你的问题,请参考以下文章
“main process exited, code=exited”错误解决办法
mongod_shard2.service: main process exited, code=killed, status=9/KILL
mongod_shard2.service: main process exited, code=killed, status=9/KILL
Azkaban Process exited with code 255
CenOS7.1 vncserver@:1.service: control process exited, code=exited status=2
使用 PowerShell 命令 Start-Process 安装 msi 时,出现 Exit-code 1603 错误