juewuy / ShellCrash

Run sing-box/mihomo as client in shell
8.59k stars 1.44k forks source link

[Bug] 6-6-5修改后启动报错 #761

Closed Become-ILLUSORY closed 2 weeks ago

Become-ILLUSORY commented 2 weeks ago

Verify steps

Description

依据6-6-5,进行了修改dns,log,inbounds,后启动报错 “[root@OpenWrt:11:28 AM ~] # 服务启动失败!请查看报错信息!详细信息请查看/tmp/ShellCrash/core_test.log +0000 2024-09-10 03:28:58 ERROR router: failed to initialize geosite: read geosite: code category-ads-all not exists! +0000 2024-09-10 03:28:58 ERROR router: failed to initialize geosite: read geosite: code geolocation-!cn not exists! +0000 2024-09-10 03:28:58 ERROR router: failed to initialize geosite: read geosite: code geolocation-!cn not exists! FATAL[0000] start service: initialize inbound/mixed[mixed-in]: listen tcp 0.0.0.0:4399: bind: address already in use” 当取消修改inbounds时则可以正常运行。

{ "inbounds": [ { "type": "mixed", "tag": "mixed-in", "listen": "::", "listen_port": 4399, "domain_strategy": "prefer_ipv4", "tcp_fast_open": true, "tcp_multi_path": true, "users": [ { "username": "xxxx", "password": "xxx" } ], "sniff": false }, { "type": "direct", "tag": "dns-in", "listen": "::", "listen_port": 1053, "domain_strategy": "prefer_ipv4", "tcp_fast_open": true, "tcp_multi_path": true }, { "type": "redirect", "tag": "redirect-in", "listen": "::", "listen_port": 7892, "domain_strategy": "prefer_ipv4", "tcp_fast_open": true, "tcp_multi_path": true, "sniff": true, "sniff_override_destination": true }, { "type": "tproxy", "tag": "tproxy-in", "listen": "::", "listen_port": 7893, "domain_strategy": "prefer_ipv4", "tcp_fast_open": true, "tcp_multi_path": true, "sniff": true, "sniff_override_destination": true } ] }

Become-ILLUSORY commented 2 weeks ago

@juewuy 取消修改inbounds,改为修改outbounds,且仅通过更改所有匹配项修改了节点tag,报错FATAL[0000] start service: outbound tag DIRECT duplicated

juewuy commented 2 weeks ago

@Become-ILLUSORY 如果你不了解如何使用及修改内核配置文件,请不要自行修改

Become-ILLUSORY commented 2 weeks ago

@Become-ILLUSORY 如果你不了解如何使用及修改内核配置文件,请不要自行修改

但是同样的,我裸核可以跑通 0.o

juewuy commented 2 weeks ago

@Become-ILLUSORY 那就请自行debug,这里不负责教学