mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2673] CentOS8 systemd start problem #2132
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Handonghuang on GitHub (Nov 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2673
Bug Description
fprc systemd start error with code=exited, status=203/EXEC
frpc Version
0.38.0
frps Version
0.38.0
System Architecture
linux/amd64
Configurations
frpc.ini
[common]
server_addr = xxxxxxxxx
server_port = 7000
token =xxxxxx
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 48100
frpc.service
#!/bin/bash
[Unit]
Description=Frp Client Service
After=network.target
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
ExecStart=/root/remote/fpc/frp_0.38.0_linux_amd64/frpc -c /root/remote/fpc/frp_0.38.0_linux_amd64/frpc.ini
ExecReload=/root/remote/fpc/frp_0.38.0_linux_amd64/frpc reload -c /root/remote/fpc/frp_0.38.0_linux_amd64/frpc.ini
LimitNOFILE=1048576
[Install]
WantedBy=multi-user.target
Logs
[root@localhost system]# systemctl status frpc
● frpc.service - Frp Client Service
Loaded: loaded (/usr/lib/systemd/system/frpc.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2021-11-23 09:12:42 EST; 1s ago
Process: 23125 ExecStart=/root/remote/fpc/frp_0.38.0_linux_amd64/frpc -c /root/remote/fpc/frp_0.38.0_linux_amd64/frpc.ini (code=exited, status=203/EXEC)
Main PID: 23125 (code=exited, status=203/EXEC)
Steps to reproduce
...
Affected area
@github-actions[bot] commented on GitHub (Dec 24, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@JIA-Jimmy commented on GitHub (Apr 1, 2022):
disable SELinux
@wwwadx commented on GitHub (Feb 25, 2023):
Solved, thank you