apernet / OpenGFW

OpenGFW is a flexible, easy-to-use, open source implementation of GFW (Great Firewall of China) on Linux
https://gfw.dev/
Mozilla Public License 2.0
9.72k stars 733 forks source link

engine exited {"error": "exit status 1"} #100

Closed nw3000 closed 8 months ago

nw3000 commented 8 months ago

接这个issue: https://github.com/apernet/OpenGFW/issues/94 静态编译后, 按照readme配置和规则文件运行, 提示engine exited {"error": "exit status 1"}

root@router:/tmp# ./OpenGFW -c config.yaml rules.yaml 2024-03-12T12:39:04Z INFO engine started 2024-03-12T12:39:04Z DEBUG worker started {"id": 0} 2024-03-12T12:39:04Z DEBUG worker started {"id": 2} 2024-03-12T12:39:04Z DEBUG worker started {"id": 1} 2024-03-12T12:39:04Z DEBUG worker started {"id": 3} 2024-03-12T12:39:05Z DEBUG worker stopped {"id": 0} 2024-03-12T12:39:05Z DEBUG worker stopped {"id": 3} 2024-03-12T12:39:05Z INFO engine exited {"error": "exit status 1"} 2024-03-12T12:39:05Z DEBUG worker stopped {"id": 1} 2024-03-12T12:39:05Z DEBUG worker stopped {"id": 2}

有无其他参数可以打印更多消息?

nw3000 commented 8 months ago

重新拉取Openwrt 源码并重编译路由器镜像,随后升级路由器, 随后这个问题 {"error": "exit status 1"}就消失了,问题应该出在 Openwrt部分但是具体哪里有问题没有找出来。