Skip to content
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

在lean大新编译的openwrt X64固件下无法启动 #419

Closed
gatalon opened this issue Feb 22, 2020 · 4 comments
Closed

在lean大新编译的openwrt X64固件下无法启动 #419

gatalon opened this issue Feb 22, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@gatalon
Copy link

gatalon commented Feb 22, 2020

Describe the bug
在lean大的lede X64固件下无法启动

To Reproduce
Steps to reproduce the behavior:

  1. 执行./nps install安装
  2. 执行启动命令 nps start
  3. 报告如下的错误:
    2020/02/22 12:24:36.406 [E] [nps.go:134] Valid actions: ["start" "stop" "restart" "install" "uninstall"]
    Failed to start nps内网穿透代理服务器: "service" failed: exec: "service": executable file not found in $PATH

Expected behavior
应该能正常启动才对,ps查看无nps的进程。

Screenshots or logs
不适用

Server (please complete the following information):

  • OS: Openwrt 19.04
  • ARCH: x64
  • Tunnel: TCP
  • Version v0.26.3

Client (please complete the following information):

  • OS: 不适用
  • ARCH: 不适用
  • Tunnel 不适用
  • Version 不适用

Additional context
之前在18.04的openwrt下运行过是没有问题的但当时的nps版本比较旧了。
调查发现v0.23.2版本能够正常使用nps start命令启动。

Work around
可以直接使用nps命令启动,如果想后台运行就用nohup的方式暂时可以用。

@gatalon gatalon added the bug Something isn't working label Feb 22, 2020
@gatalon gatalon changed the title 在lean大新编译的openwrt X86固件下无法启动 在lean大新编译的openwrt X64固件下无法启动 Feb 22, 2020
@ffdfgdfg
Copy link
Contributor

#378 使用的service库的原因
https://github.com/kardianos/service

@gatalon
Copy link
Author

gatalon commented Feb 25, 2020

#378 使用的service库的原因
https://github.com/kardianos/service

这个有计划修复吗?有workaround,暂时能正常使用。

@PandaEgg
Copy link

什么解决办法呀,希望大佬修复

@xswz8015
Copy link

esxi6.7下,用今天编译lean的openwrt版本x64。运行nps0.26.9服务端失败。提示如下
2021/01/31 13:43:29.402 [I] [nps.go:122] unix-systemv service
启动失败

kiririx pushed a commit to kiririx/nps that referenced this issue Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants