Giter Site home page Giter Site logo

sing-box无法启动 about sing-box HOT 33 CLOSED

liujf916 avatar liujf916 commented on June 28, 2024
sing-box无法启动

from sing-box.

Comments (33)

fscarmen avatar fscarmen commented on June 28, 2024 2

我先回滚了一个版本,等测试好再上订阅功能 。

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

更新了订阅功能 ,你重新安装一下试试。

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

更新了订阅功能 ,你重新安装一下试试。

还是一样的情况,似乎是nginx的问题,更新反而不能用了

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

systemctl start sing-box; sleep 2; ss -nltp 看看服务有没有起来?

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

systemctl start sing-box; sleep 2; ss -nltp

image
试了两台vps都是一样的情况,你应该也能复现。

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

我装了3台都行,你发个ssh到[email protected]
我排查下

from sing-box.

mirorr404 avatar mirorr404 commented on June 28, 2024

我也是今天刚跟新的脚本 和楼上一样的问题 以为是系统问题 系统德班12 乌班图20 LTS

from sing-box.

mirorr404 avatar mirorr404 commented on June 28, 2024

photo_2024-03-04_19-10-23

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

我装了3台都行,你发个ssh到[email protected] 我排查下

已通过[email protected]反馈

from sing-box.

mirorr404 avatar mirorr404 commented on June 28, 2024

我装了3台都行,你发个ssh到[email protected] 我排查下

已通过[email protected]反馈
我和你出现一样的问题,等待作者修复。

from sing-box.

zdabing avatar zdabing commented on June 28, 2024

我也是楼上一样的问题 求修复

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

可能大家是直接升级,因为 systemd 文件变更了,大家这样处理

systemctl --disable now sing-box   ## 停服务
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh) -u  ## 卸载
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)  ## 重装
image

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

我装了3台都行,你发个ssh到[email protected] 我排查下

已通过[email protected]反馈

上面的截图就是你的机器,我只安装了一个协议,你可以 使用 sb -r 增加

from sing-box.

ouojk avatar ouojk commented on June 28, 2024

可能大家是直接升级,因为 systemd 文件变更了,大家这样处理

systemctl --disable now sing-box   ## 停服务
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh) -u  ## 卸载
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)  ## 重装
image

这样还是行不通

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

可能大家是直接升级,因为 systemd 文件变更了,大家这样处理

systemctl --disable now sing-box   ## 停服务
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh) -u  ## 卸载
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)  ## 重装
image

我刚刚试了另一台vps还是不行
Edit:而且我刚刚测试,反而是直接升级的话就能直接用。重置机器然后安装,或是卸载之后安装反而是不能用了。

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

这样还是行不通

但我测是通的啊。
image

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

这样还是行不通

但我测是通的啊。 image

就是按你的方法,一开始那个singbox无法启动的问题还是没有解决。我用另外几台机器又不行了。

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

这样还是行不通

但我测是通的啊。 image

就是按你的方法,一开始那个singbox无法启动的问题还是没有解决。我用另外几台机器又不行了。

我给你弄那台也不行吗?我这里试是可以的,看油管的。

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

这样还是行不通

但我测是通的啊。 image

就是按你的方法,一开始那个singbox无法启动的问题还是没有解决。我用另外几台机器又不行了。

我给你弄那台也不行吗?我这里试是可以的,看油管的。

我那台可以,我另外几台也是相同的问题,然后用你说的那个方法不行。但是原来的版本没问题

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

这样还是行不通

但我测是通的啊。 image

就是按你的方法,一开始那个singbox无法启动的问题还是没有解决。我用另外几台机器又不行了。

我给你弄那台也不行吗?我这里试是可以的,看油管的。

我那台可以,我另外几台也是相同的问题,然后用你说的那个方法不行。但是原来的版本没问题

你再把多台的ssh发我看看。

from sing-box.

Raid10Without1 avatar Raid10Without1 commented on June 28, 2024

看起来这个问题的根源是创建nginx配置文件的时候出现了问题,导致nginx无法获取启动脚本然后导致了服务异常退出,手动注释掉文件内启动nginx的参数并手动创建sb.sh之后脚本可以正常运行除了订阅链接以外的所有内容

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

再多试一下这条指令

systemctl --disable now sing-box   ## 停服务
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh) -u  ## 卸载
ss -nltp | grep "$(cat /var/run/nginx.pid)" | tr ',' '\n' | awk -F '=' '/pid/{print $2}' | xargs kill -9  ## 清 nginx 进程
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)  ## 重装

from sing-box.

mirorr404 avatar mirorr404 commented on June 28, 2024

再多试一下这条指令

systemctl --disable now sing-box   ## 停服务
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh) -u  ## 卸载
ss -nltp | grep "$(cat /var/run/nginx.pid)" | tr ',' '\n' | awk -F '=' '/pid/{print $2}' | xargs kill -9  ## 清 nginx 进程
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)  ## 重装

还是sing-box开启失败

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

明天再看了

from sing-box.

Ethan0x0000 avatar Ethan0x0000 commented on June 28, 2024

同遇到这个问题,我在安装其他sing-box脚本时也报错,似乎是不支持arm64架构导致根本装不上sing-box
PixPin_2024-03-05_10-46-04

from sing-box.

Ethan0x0000 avatar Ethan0x0000 commented on June 28, 2024

同遇到这个问题,我在安装其他sing-box脚本时也报错,似乎是不支持arm64架构导致根本装不上sing-box PixPin_2024-03-05_10-46-04

我在另一台amd架构的VPS上也试了,亦然显示Sing-box open failed

from sing-box.

shidianxia avatar shidianxia commented on June 28, 2024

用上一个版本的就没问题,似乎是和新增的订阅链接功能有关

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

要不添加一个是否启用nginx订阅链接的选项吧,上一版本是完全正常能用的。

from sing-box.

mirorr404 avatar mirorr404 commented on June 28, 2024

我先回滚了一个版本,等测试好再上订阅功能 。

好的,其实我觉得没必要加订阅功能,大多数都是在nat鸡,128内存上跑。

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

搞掂了,大家可以再试试。

好的,其实我觉得没必要加订阅功能,大多数都是在nat鸡,128内存上跑。

nginx 占用不大的,3M 左右的。

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024
image

from sing-box.

liujf916 avatar liujf916 commented on June 28, 2024

刚刚测试正常了,感谢大佬

from sing-box.

fscarmen avatar fscarmen commented on June 28, 2024

要不添加一个是否启用nginx订阅链接的选项吧,上一版本是完全正常能用的。

我是极度反感过量交互的,除非不得不问的!

from sing-box.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.