[GH-ISSUE #3835] [Feature Request] 为什么现在启动frpc需要.ini文件但是ini不存在 #3046

Closed
opened 2026-05-05 13:58:15 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @cainiaobibi on GitHub (Dec 8, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3835

Describe the feature request

为什么现在启动frpc需要.ini文件但是ini不存在

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @cainiaobibi on GitHub (Dec 8, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3835 ### Describe the feature request 为什么现在启动frpc需要.ini文件但是ini不存在 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@superzjg commented on GitHub (Dec 8, 2023):

信息太少,无法分析。
可能是没有读取到你设置的配置文件,改为默认读取当前ini,但是也不存在。

<!-- gh-comment-id:1846509396 --> @superzjg commented on GitHub (Dec 8, 2023): 信息太少,无法分析。 可能是没有读取到你设置的配置文件,改为默认读取当前ini,但是也不存在。
Author
Owner

@cainiaobibi commented on GitHub (Dec 8, 2023):

image

<!-- gh-comment-id:1846550173 --> @cainiaobibi commented on GitHub (Dec 8, 2023): ![image](https://github.com/fatedier/frp/assets/85666569/b8ad62d0-61ca-40eb-9447-bddc62ae6438)
Author
Owner

@cainiaobibi commented on GitHub (Dec 8, 2023):

这样的错误

<!-- gh-comment-id:1846550377 --> @cainiaobibi commented on GitHub (Dec 8, 2023): 这样的错误
Author
Owner

@superzjg commented on GitHub (Dec 8, 2023):

image

请使用 -c 指定配置文件
如:./frpc -c ./frpc.toml

<!-- gh-comment-id:1846576524 --> @superzjg commented on GitHub (Dec 8, 2023): > ![image](https://private-user-images.githubusercontent.com/85666569/288966789-b8ad62d0-61ca-40eb-9447-bddc62ae6438.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDIwMTM4NDYsIm5iZiI6MTcwMjAxMzU0NiwicGF0aCI6Ii84NTY2NjU2OS8yODg5NjY3ODktYjhhZDYyZDAtNjFjYS00MGViLTk0NDctYmRkYzYyYWU2NDM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjA4VDA1MzIyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2NWExZjFiYzUxYzQxNDBlODgyNzBhNTY0NzFiMGI4MTI2YzdjZWE0Yjg4ZDIyYTgzMmRiOGM2NjE1ZDdiNjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.q8BCVHoDx_w2DlJlB8c3-kiR9TskHvlAMDqdeXNC3XQ) 请使用 -c 指定配置文件 如:`./frpc -c ./frpc.toml`
Author
Owner

@superzjg commented on GitHub (Dec 8, 2023):

@fatedier 这个默认调用的ini配置文件建议改一下

<!-- gh-comment-id:1846583923 --> @superzjg commented on GitHub (Dec 8, 2023): @fatedier 这个默认调用的ini配置文件建议改一下
Author
Owner

@xqzr commented on GitHub (Dec 8, 2023):

@fatedier 这个默认调用的ini配置文件建议改一下

没改 是为了保持 兼容吧

<!-- gh-comment-id:1847230507 --> @xqzr commented on GitHub (Dec 8, 2023): > @fatedier 这个默认调用的ini配置文件建议改一下 没改 是为了保持 兼容吧
Author
Owner

@Xiao-yux commented on GitHub (Dec 15, 2023):

在当前目录下执行过chmod +x ./* 没,我看那个配置文件是灰色的,可能是没有权限读取

<!-- gh-comment-id:1857332091 --> @Xiao-yux commented on GitHub (Dec 15, 2023): 在当前目录下执行过chmod +x ./* 没,我看那个配置文件是灰色的,可能是没有权限读取
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#3046
No description provided.