[GH-ISSUE #1227] Frps 的 systemd 配置用户有误 #966

Closed
opened 2026-05-05 12:37:05 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @kantkong on GitHub (Apr 30, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1227

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.25.3

What operating system and processor architecture are you using (go env)?
Ubuntu 16.04 x64

Configures you used:
[common]
bind_port = 110
vhost_https_port = 443
vhost_http_port = 80
log_file = /var/log/frps.log
log_level = warn

Steps to reproduce the issue:

  1. use systemd utils install frps.service
  2. run command "service frps start"
  3. check status by "service frps status"

Describe the results you received:
service status report command fail and exit code is 1

Describe the results you expected:
start normally.

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)
after change "User=nobody" to "User=root" of frps.service and reinstall , it work. so I think there's an error permission setting at config file.

Originally created by @kantkong on GitHub (Apr 30, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1227 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.25.3 **What operating system and processor architecture are you using (`go env`)?** Ubuntu 16.04 x64 **Configures you used:** [common] bind_port = 110 vhost_https_port = 443 vhost_http_port = 80 log_file = /var/log/frps.log log_level = warn **Steps to reproduce the issue:** 1. use systemd utils install frps.service 2. run command "service frps start" 3. check status by "service frps status" **Describe the results you received:** service status report command fail and exit code is 1 **Describe the results you expected:** start normally. **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)** after change "User=nobody" to "User=root" of frps.service and reinstall , it work. so I think there's an error permission setting at config file.
Author
Owner

@jueti commented on GitHub (May 13, 2019):

agree

image

image

<!-- gh-comment-id:491679272 --> @jueti commented on GitHub (May 13, 2019): agree ![image](https://user-images.githubusercontent.com/24526369/57597513-3bbdbf00-7582-11e9-9c5b-d30653b20f5b.png) ![image](https://user-images.githubusercontent.com/24526369/57597348-a28ea880-7581-11e9-9ea5-972856c714cf.png)
Author
Owner

@zhaofeng-shu33 commented on GitHub (Jun 20, 2019):

I think User=nobody cannot bind IP address

<!-- gh-comment-id:504100011 --> @zhaofeng-shu33 commented on GitHub (Jun 20, 2019): I think `User=nobody` cannot bind IP address
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#966
No description provided.