[GH-ISSUE #2499] frpc v0.37.0 在centos8.4添加systemd自启动服务无法执行excrestart里的命令 #1984

Closed
opened 2026-05-05 13:16:48 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @TaiChi01 on GitHub (Jul 28, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2499

[REQUIRED] hat version of frp are you using

Version: 0.37.0

[REQUIRED] What operating system and processor architecture are you using
OS: centos8.4
CPU architecture: x86_64

[REQUIRED] description of errors

confile

[Unit]
Description=Frp Client Service
After=network.target
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
ExecStart=/root/frp/frpc -c /root/frp/frpc.ini
ExecReload=/root/frp/frpc reload -c /root/frp/frpc.ini
[Install]
WantedBy=multi-user.target
log file

Steps to reproduce the issue

  1. 如上配置 systemctl start frpc
  2. 查看运行状态 systemctl status frpc
  3. 报错信息 code=exited, status=203/EXEC

Supplementary information
所有服务手动启动均正常运行,frps在服务器也出现一样的不能执行excrestart里的命令的问题,
但通过将User改为root解决。
在frpc上如此无法解决该问题
Can you guess what caused this issue
可能是某种权限问题,
类似的问题在网络搜索到http://yangl.net/2021/04/27/frps-systemctl-error/
Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
Originally created by @TaiChi01 on GitHub (Jul 28, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2499 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version: 0.37.0 **[REQUIRED] What operating system and processor architecture are you using** OS: centos8.4 CPU architecture: x86_64 **[REQUIRED] description of errors** **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> [Unit] Description=Frp Client Service After=network.target [Service] Type=simple User=root Restart=on-failure RestartSec=5s ExecStart=/root/frp/frpc -c /root/frp/frpc.ini ExecReload=/root/frp/frpc reload -c /root/frp/frpc.ini [Install] WantedBy=multi-user.target **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> **Steps to reproduce the issue** 1. 如上配置 systemctl start frpc 2. 查看运行状态 systemctl status frpc 3. 报错信息 code=exited, status=203/EXEC **Supplementary information** 所有服务手动启动均正常运行,frps在服务器也出现一样的不能执行excrestart里的命令的问题, 但通过将User改为root解决。 在frpc上如此无法解决该问题 **Can you guess what caused this issue** 可能是某种权限问题, 类似的问题在网络搜索到http://yangl.net/2021/04/27/frps-systemctl-error/ **Checklist**: <!--- Make sure you've completed the following steps (put an "X" between of brackets): --> - [X] I included all information required in the sections above - [X] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
gitea-mirror 2026-05-05 13:16:48 -06:00
Author
Owner

@chengpeng2015 commented on GitHub (Aug 13, 2021):

+1

<!-- gh-comment-id:898258492 --> @chengpeng2015 commented on GitHub (Aug 13, 2021): +1
Author
Owner

@github-actions[bot] commented on GitHub (Sep 13, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:917745698 --> @github-actions[bot] commented on GitHub (Sep 13, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1984
No description provided.