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

BUG: 无法访问网路的问题 缺少参数 -w #50

Open
Hootrix opened this issue Feb 23, 2021 · 0 comments
Open

BUG: 无法访问网路的问题 缺少参数 -w #50

Hootrix opened this issue Feb 23, 2021 · 0 comments

Comments

@Hootrix
Copy link

Hootrix commented Feb 23, 2021

System and Shadowsocksx-NG-R8 version:

  • macOS 10.15.5
  • Shadowsocksx-NG-R8 1.5.1

程序无法启动代理,未找到log日志。
追查启动代码~/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.local.plist: Service is disabled

发现start_privoxy.sh、start_ss_local.sh、stop_privoxy.sh、stop_ss_local.sh这些启动脚本中缺少参数 -w 导致的问题。

man launchctl

-w       Overrides the Disabled key and sets it to false or true
                       for the load and unload subcommands respectively. In
                       previous versions, this option would modify the config-
                       uration file. Now the state of the Disabled key is
                       stored elsewhere on- disk in a location that may not be
                       directly manipulated by any process other than launchd.

https://knowledge.broadcom.com/external/article/163411/service-is-disabled-message-when-attempt.html

In this case the service has been disabled and cannot launch until the service is re-enabled. This is likely the result of the service having been unloaded using launchctl in conjunction with the -w switch, which will disable the service. This condition can remain even if the software is uninstalled and reinstalled

https://blog.haitianhome.com/mac-ssr-no-connection.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant