-
Notifications
You must be signed in to change notification settings - Fork 222
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
sing-box无法启动 #60
Comments
更新了订阅功能 ,你重新安装一下试试。 |
还是一样的情况,似乎是nginx的问题,更新反而不能用了 |
|
我装了3台都行,你发个ssh到fscarmen@gmail.com |
我也是今天刚跟新的脚本 和楼上一样的问题 以为是系统问题 系统德班12 乌班图20 LTS |
|
|
我也是楼上一样的问题 求修复 |
上面的截图就是你的机器,我只安装了一个协议,你可以 使用 |
看起来这个问题的根源是创建nginx配置文件的时候出现了问题,导致nginx无法获取启动脚本然后导致了服务异常退出,手动注释掉文件内启动nginx的参数并手动创建sb.sh之后脚本可以正常运行除了订阅链接以外的所有内容 |
再多试一下这条指令
|
还是sing-box开启失败 |
明天再看了 |
用上一个版本的就没问题,似乎是和新增的订阅链接功能有关 |
要不添加一个是否启用nginx订阅链接的选项吧,上一版本是完全正常能用的。 |
我先回滚了一个版本,等测试好再上订阅功能 。 |
好的,其实我觉得没必要加订阅功能,大多数都是在nat鸡,128内存上跑。 |
搞掂了,大家可以再试试。
nginx 占用不大的,3M 左右的。 |
刚刚测试正常了,感谢大佬 |
我是极度反感过量交互的,除非不得不问的! |
root@ip-172-26-4-10:~# systemctl status sing-box.service
● sing-box.service - sing-box service
Loaded: loaded (/etc/systemd/system/sing-box.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2024-03-04 10:00:53 UTC; 6s ago
Docs: https://sing-box.sagernet.org
Process: 11820 ExecStartPre=/usr/sbin/nginx -c /etc/sing-box/nginx.conf (code=exited, status=1/FAILURE)
CPU: 5ms
root@ip-172-26-4-10:~# journalctl -xeu sing-box.service
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit sing-box.service has begun execution.
░░
░░ The job identifier is 7915.
Mar 04 10:02:15 ip-172-26-4-10 nginx[12671]: 2024/03/04 10:02:15 [emerg] 12671#12671: chown("/var/lib/nginx/body", 0) failed (1: Operation not permitted)
Mar 04 10:02:15 ip-172-26-4-10 systemd[1]: sing-box.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStartPre= process belonging to unit sing-box.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mar 04 10:02:15 ip-172-26-4-10 systemd[1]: sing-box.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit sing-box.service has entered the 'failed' state with result 'exit-code'.
Mar 04 10:02:15 ip-172-26-4-10 systemd[1]: Failed to start sing-box.service - sing-box service.
░░ Subject: A start job for unit sing-box.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit sing-box.service has finished with a failure.
░░
░░ The job identifier is 7915 and the job result is failed.
lines 4136-4164/4164 (END)
通过更改目录权限后仍然无法解决问题
The text was updated successfully, but these errors were encountered: