● eip.service - making eip connection up
Loaded: loaded (/etc/systemd/system/eip.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2021-08-25 21:21:24 CDT; 7min ago
Process: 244843 ExecStart=/home/svceip/scripts/startstop/start_eip (code=exited, status=203/EXEC)
Main PID: 244843 (code=exited, status=203/EXEC)
Aug 25 21:21:24 systemd[1]: Started making eip connection up.
Aug 25 21:21:24 systemd[1]: eip.service: Main process exited, code=exited, status=203/EXEC
Aug 25 21:21:24 systemd[1]: eip.service: Failed with result 'exit-code'.有人能提供解决这个问题的提示吗?
发布于 2021-08-26 07:11:51
详细阐述@Grace Thompson的评论:
man systemd.exec将退出代码203描述为:
实际进程执行失败(特别是execve(2)系统调用)。这很可能是由于缺少或无法访问的可执行文件造成的。
在您的情况下,您需要确保/home/svceip/scripts/startstop/start_eip:
ls -l /home/svceip/scripts/startstop/start_eip显示-rwxr-xr-x)。如果没有,请使用chmod +x /home/svceip/scripts/startstop/start_eip。file /home/svceip/scripts/startstop/start_eip,那么它应该显示ELF 64-bit LSB pie executable或以ELF开头的一些变化。如果它显示的是ASCII text executable,那么第一行就需要一个“跳”。在这种情况下,确保第一行包含#!/bin/bash或#!/usr/bin/python3或运行该脚本所需的任何内容。https://unix.stackexchange.com/questions/666304
复制相似问题