-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
客户端启动失败 #378
Comments
```shell
./npc
```
- 当前目录下有可执行文件吗?
- 可执行文件的名字是 `npc` 吗?
- `echo $PATH` 的输出是什么?
- 在这些`:`分割的路径下. 是否有 `npc` 这个可执行文件?
…On Wed, Jan 22, 2020 at 02:28:26AM -0800, onehuo wrote:
我在openwrt里执行:
./npc install -server=xxx.xxx.xxx.xxx:8024 -vkey=123456
之后执行 npc start
出现以下错误,请问是什么原因
***@***.***:~# npc start
2020/01/22 18:21:09.794 [E] [npc.go:117] Valid actions: ["start" "stop" "restart" "install" "uninstall"]
Failed to start nps内网穿透客户端: "service" failed: exec: "service": executable file not found in $PATH`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#378
|
当前目录下有npc可执行文件 |
使用的service库似乎并不支持busybox作为init,能直接./npc运行的话,建议丢个脚本过去 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在openwrt里执行:
./npc install -server=xxx.xxx.xxx.xxx:8024 -vkey=123456
之后执行 npc start
出现以下错误,请问是什么原因
root@OpenWrt:~# npc start 2020/01/22 18:21:09.794 [E] [npc.go:117] Valid actions: ["start" "stop" "restart" "install" "uninstall"] Failed to start nps内网穿透客户端: "service" failed: exec: "service": executable file not found in $PATH
The text was updated successfully, but these errors were encountered: